Skip to content

chore: sync new models - #1909

Open
github-actions[bot] wants to merge 3 commits into
mainfrom
chore/sync-new-models
Open

github-actions[bot] wants to merge 3 commits into
mainfrom
chore/sync-new-models

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated sync of model metadata and newly available models from the approved provider allowlist.

Model display name check

Action required: add verified display names or document reviewed exceptions before merging.

New models missing a display name

  • accounts/fireworks/models/hy4-flash
  • grok-4.6-latest
  • grok-4.7-latest

Model validation prompt

Paste this prompt into an agent that has a Braintrust API key to validate these models end to end.

Prompt
You are validating newly added or changed Braintrust catalog models end to end. Do not edit code. Use official provider sources only.

## Scope

This run changed 38 model IDs in `packages/proxy/schema/model_list.json`. Read each entry there for its `format`, `flavor`, `available_providers`, capability flags, token limits and standard prices before testing.

Models whose `pricing` field was changed in this run (all `format: openai`, `flavor: chat`, providers `openai` and `azure`):
- `gpt-6.2-astra-healthcare`: added `pricing.openai.standard`, `fast`, and `priority` (alias of `fast`). Standard is $8/$40 in/out up to 272,000 input tokens; $16/$60 above.
- `gpt-6.2-sol-healthcare`: same fields. Standard is $2/$10 up to 272,000; $4/$15 above.
- `gpt-6.1-sol-healthcare`: same fields. Standard is $2/$10 up to 272,000; $4/$15 above.
- `gpt-6-astra-healthcare`: same fields. Standard is $10/$50 up to 272,000; $20/$75 above.

Source for the above: https://developers.openai.com/api/docs/pricing, checked 2026-11-25. The page says the healthcare promotional pricing runs "at least through December 31, 2026". Check whether that date affects these rates.

Other changed IDs. Their enrichment (displayName, parent, pricing) was NOT verified in this run. Treat them as unresolved, and verify each against official sources:
gpt-5.2-codex, gpt-5.1-codex, gpt-5.1-codex-max, gpt-5.1-codex-mini, gpt-5-codex, gpt-4.1-nano, gpt-4.1-nano-2025-04-14, gpt-4o-mini-search-preview, gpt-4o-mini-tts, gpt-4o-search-preview, gpt-4o-mini-tts-2025-12-15, gpt-4o-mini-tts-2025-03-20, gpt-4o-2024-05-13, gpt-3.5-turbo-16k, gpt-3.5-turbo-instruct-0914, chat-latest, accounts/fireworks/models/qwen4-max, accounts/fireworks/models/hy4-flash, grok-4.6-latest, grok-4.7-latest, deepseek/deepseek-v4.1-flash-1017, upstage/solar-mini-4-5, upstage/solar-pro-4-contributor, nvidia/nemotron-3.5-lightning, xiaomi/mimo-v2.6-flash-mopd, deepseek/deepseek-v4.1-flash, deepseek/deepseek-v4-flash-vision-exp, deepseek/deepseek-v4-flash-0731, minimax/minimax-m2.5, z-ai/glm-5.3-flash, z-ai/glm-4.5-air, z-ai/glm-4.6v, qwen/qwen3.5-9b, qwen/qwen3.6-35b-a3b.

Pricing tier checks for the four healthcare models:
- openai `standard` and `fast`: verified and recorded.
- openai `priority`: recorded as an alias of `fast`. The alias is not independently confirmed on the pricing page, so confirm it at https://developers.openai.com/api/docs/guides/fast-mode.
- openai `batch` and `ultrafast`: the pricing page lists no rates for these models. They are unsupported or unverified, and nothing is recorded.
- azure: not checked. Verify Azure's own prices and support.
- The Fast table lists no cache-write prices. None are recorded for `fast`.

Known token-limit and source issues:
- The four healthcare entries use `max_input_tokens` 922000 and `max_output_tokens` 128000. They were NOT checked against official model docs in this run. Compare maximum input, maximum output and total context separately, and flag any input limit above the total context.
- The OpenAI pricing page defines short context as ≤272K input tokens, which differs from the 922K input limit above. Confirm which is correct.
- Token limits on all other changed OpenAI entries were not checked either.
- The 6.2 healthcare entries have no `input_cache_write_30m` or `input_cache_write_12h` top-level fields, although the pricing page lists those prices. Top-level fields were deliberately left unchanged in this step.

## Setup

- The hosted Gateway (`https://gateway.braintrust.dev`) loads `packages/proxy/schema/model_list.json` from `main`, so run this after the PR merges. To test before merging, run a local Gateway from `braintrustdata/braintrust` with its `proxy` submodule checked out to this branch and `MODEL_CATALOG_REFRESH_SECONDS=0`.
- Authenticate with `BRAINTRUST_API_KEY`. Before probing, check which providers the credential can access in the target organization and note their exact endpoint names. Report inaccessible providers as blocked and do not probe them.
- Send every request with the header `x-bt-project-name: model-validation`.

## Documentation pass

For each primary model, read the provider's official model page, migration guide and pricing page, and compare them with the catalog entry. Report mismatches in maximum input, maximum output, total context, prices and lifecycle dates. Check official deprecation and retirement notices for the exact IDs, including dated snapshots, aliases and companions. For OpenAI, compare `deprecation_date` with the notice date and `retirement_date` with the last verified shutdown, including the Azure retirement schedule. List every change from the `parent` or previous model in the family that affects API callers. Each one becomes a Gateway test case.

## Gateway pass

For each primary model, test the endpoints matching its `flavor`:
- `chat`: `/v1/chat/completions`, `/v1/responses`, `/v1/messages` and the provider's native format. Test non-streaming and streaming, system prompts and multi-turn. Where supported, test tool calls (parallel calls and tool-result round trips), JSON-schema structured output, image input, and reasoning effort.
- `completion`: `/v1/completions`. `embedding`: `/v1/embeddings`, and check the vector dimension.
- Speech and transcription models (the `*-tts` IDs): use the matching audio endpoint.

Pin every request to the intended provider with `x-bt-endpoint-name`. Verify `x-bt-used-endpoint` matches before counting a pass. Check usage token counts, and check that a repeat request with `x-bt-use-cache: always` is served from cache. Also test `service_tier: "fast"` and `"priority"` on the four healthcare models, and compare the served tier in the response with the recorded rates. Send one basic request to each companion.

## Product pass

Check that each model appears in the playground model picker with the expected display name. Check that its logged spans in `model-validation` show token usage and an estimated cost consistent with the catalog prices, including the long-context and fast rates.

## Report

Return a pass/fail/blocked/skip table per model and check. Report `no provider registered` or `Configured providers` errors as blocked only if the preflight showed the endpoint was unavailable. If the preflight confirmed access, report them as failures. For each failure, include the request, the error, and whether the likely fix is in the catalog (`braintrustdata/braintrust-proxy`), the Gateway or Lingua layer (`gateway/` or `lingua/` in `braintrustdata/braintrust`), or the provider.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T11:13:32.980596Z 8605ada PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8605ada943

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".

Comment thread packages/proxy/schema/model_list.json Outdated
"azure",
"openrouter"
"openrouter",
"openai"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Do not re-enable shut-down OpenAI routes

Adding openai here exposes a direct OpenAI route for a model that OpenAI shut down on July 23, 2026, so requests pinned or routed to that provider will fail rather than use the still-listed Azure/OpenRouter routes. The same regression affects the newly added OpenAI routes for gpt-5-codex, the GPT-5.1 Codex variants, both GPT-4.1 nano IDs, both GPT-4o search-preview aliases, gpt-4o-2024-05-13, and the GPT-3.5 legacy IDs; OpenAI's deprecation schedule and legacy Completions guidance show that all were already shut down by this commit date. Remove these openai additions or filter provider discovery using the provider-specific lifecycle.

Useful? React with 👍 / 👎.

"fireworks"
]
},
"accounts/fireworks/models/hy4-flash": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add verified display names for every new model

This new entry lacks displayName, as do grok-4.6-latest and grok-4.7-latest. The repository's check_model_display_names.ts explicitly rejects newly added models in this state, while the workflow only marks that check continue-on-error, so merging leaves these models without the verified labels expected by catalog consumers and the model picker. Add verified names or document reviewed exceptions before merging.

Useful? React with 👍 / 👎.

> 🤖 **This text was AI-generated.**

- Drop direct `openai` routes re-added for models OpenAI has shut down (GPT-5.x Codex, GPT-4.1 nano, GPT-4o search preview, gpt-4o-2024-05-13, GPT-3.5 legacy); Azure/OpenRouter routes stay.
- Drop `azure` from the four `*-healthcare` models; they are OpenAI-only.
- Restore `gpt-4o-mini-tts` output to $12/M (audio output price).
- Reset three OpenRouter-only prices to current OpenRouter values.
- Add display names for `hy4-flash`, `grok-4.6-latest`, `grok-4.7-latest` and set the latter two's `parent`.

Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
> 🤖 **This text was AI-generated.**

- `accounts/fireworks/models/qwen4-max`: Fireworks lists image input as supported.
- `minimax/minimax-m2.5`: OpenRouter's only remaining endpoint (DigitalOcean) serves 65,536 context and 58,982 max completion tokens.

Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants