fix(pricing): rolling model registry update: Gemini lyria-3.5, Voyage multilingual-2, ChatGPT GPT-5.5/5.6, Vertex Haiku 4.5 output, Bedrock Mantle gpt-oss rates, Scaleway deprecation dates - #31884
Conversation
Add Claude Sonnet 5 with introductory pricing (/0 per MTok, through Aug 31 2026) across Anthropic, Bedrock (global + regional), Vertex AI, Azure AI, and Snowflake providers. Includes cache pricing (1.25x write, 2x 1hr write, 0.1x read) and 128K output context. Fixes #31868 Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
@greptileai review |
|
unknown seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Greptile SummaryThis PR synchronizes the primary and bundled model registries with newly available models and corrected provider metadata.
Confidence Score: 5/5The PR appears safe to merge; the registry copies are synchronized and the corrected routing and pricing paths have focused regression coverage. No new actionable defects remain. Both unresolved previous findings are now fully addressed: the fragile backup exact-equality assertion was removed, and the safeguard-20b rates now have exact test coverage.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Adds and corrects model limits, capabilities, pricing, and deprecation metadata in the primary registry. |
| litellm/model_prices_and_context_window_backup.json | Keeps the bundled fallback registry synchronized with the primary registry changes. |
| tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_transformation.py | Updates GPT-OSS pricing expectations and adds exact safeguard-20b rate coverage. |
| tests/test_litellm/llms/chatgpt/responses/test_chatgpt_responses_transformation.py | Verifies metadata lookup and Chat Completions-to-Responses bridging for the new ChatGPT models. |
Reviews (7): Last reviewed commit: "fix(model_prices): add gemini lyria-3.5,..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Greptile SummaryThis PR adds pricing and capability entries for Claude Sonnet 5 across all supported providers (Anthropic, Bedrock Converse with regional variants, Vertex AI, Azure AI, and Snowflake), registers the model in
Confidence Score: 3/5The claude-sonnet-5 additions themselves look correct, but the PR bundles an unrelated capability change that removes The claude-sonnet-5 pricing entries, capability flags, regional bedrock variants, and BEDROCK_CONVERSE_MODELS registration are all consistent with existing patterns. The concern is the unrelated removal of
|
| Filename | Overview |
|---|---|
| litellm/constants.py | Adds anthropic.claude-sonnet-5 to BEDROCK_CONVERSE_MODELS — correct, minimal, and consistent with the pattern used for all other claude bedrock models. |
| model_prices_and_context_window.json | Adds all claude-sonnet-5 provider entries with correct introductory pricing and capability flags. Also contains an unrelated removal of supports_reasoning: true from bedrock/us-east-1/minimax.minimax-m2.5, bedrock/us-west-2/minimax.minimax-m2.5, and the top-level minimax.minimax-m2.5 entry while all other regional variants keep the flag — creating an inconsistency for the most commonly used US Bedrock endpoints. |
| litellm/model_prices_and_context_window_backup.json | Syncs backup cost map to match the root JSON: adds all claude-sonnet-5 entries and removes supports_adaptive_thinking from pre-existing entries where the root had already dropped it. Mirrors the same minimax-m2.5 supports_reasoning removal as the root. |
| tests/test_litellm/test_claude_sonnet_5_config.py | New test file covering pricing, capability flags, bedrock regional variants, and provider resolution for claude-sonnet-5. No network calls. The backup-equality assertion in test_sonnet_5_present_in_bundled_backup will be brittle once the two JSON files diverge in routine maintenance. |
Reviews (2): Last reviewed commit: "feat: add claude-sonnet-5 pricing to mod..." | Re-trigger Greptile
| def test_sonnet_5_present_in_bundled_backup(): | ||
| backup = GetModelCostMap.load_local_model_cost_map() | ||
| root = _load_root_cost_map() | ||
| for model_name in ( | ||
| "claude-sonnet-5", | ||
| "anthropic.claude-sonnet-5", | ||
| "global.anthropic.claude-sonnet-5", | ||
| "us.anthropic.claude-sonnet-5", | ||
| "eu.anthropic.claude-sonnet-5", | ||
| "au.anthropic.claude-sonnet-5", | ||
| "jp.anthropic.claude-sonnet-5", | ||
| "vertex_ai/claude-sonnet-5", | ||
| "vertex_ai/claude-sonnet-5@default", | ||
| "azure_ai/claude-sonnet-5", | ||
| "snowflake/claude-sonnet-5", | ||
| ): | ||
| assert model_name in backup, f"Missing from backup cost map: {model_name}" | ||
| assert backup[model_name] == root[model_name], model_name |
There was a problem hiding this comment.
Exact-equality backup assertion will break on next routine JSON sync
test_sonnet_5_present_in_bundled_backup asserts backup[model_name] == root[model_name] for every claude-sonnet-5 key. Because model_prices_and_context_window_backup.json is a snapshot that typically lags model_prices_and_context_window.json, the moment any field (e.g. pricing, a capability flag) is updated in the root but not yet synced to the backup, this test will fail for all eleven model keys, even when the underlying claude-sonnet-5 configuration is correct. Checking only the critical pricing and capability fields (as the other tests already do) would make this assertion resilient to expected drift.
The original JSON had duplicate minimax.minimax-m2.5 entries; the first had supports_reasoning: true, the second did not. JSON deduplication kept the second. Restore the flag on the surviving entries and add 1hr cache TTL assertions to the regional bedrock test Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
@greptileai review |
mateo-berri
left a comment
There was a problem hiding this comment.
Wasn't sonnet 5 already added? What problem is this pr trying to solve?
| @@ -1170,7 +1165,6 @@ | |||
| "search_context_size_low": 0.01, | |||
| "search_context_size_medium": 0.01 | |||
| }, | |||
| "supports_adaptive_thinking": true, | |||
There was a problem hiding this comment.
Why are you removing adaptive thinking here? 4.6+ supports it
There was a problem hiding this comment.
After merging litellm_internal_staging, this PR no longer touches claude-sonnet-5 or adaptive thinking. The diff is now only the registry fixes described above.
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…pt-oss rates, add Scaleway deprecation dates Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
| "input_cost_per_token": 7e-08, | ||
| "output_cost_per_token": 2e-07, |
There was a problem hiding this comment.
The safeguard-20b input and output rates both change here, but the pricing test update only checks the regular gpt-oss-20b rates. No test verifies safeguard-20b's exact 7e-8 input and 2e-7 output rates, so a typo or later regression in either corrected value could pass unnoticed and produce inaccurate cost calculations. Please add exact-rate coverage for safeguard-20b.
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
@greptileai review |
|
bugbot run |
|
❌ Cannot revive Devin session - the session is too old. Please start a new session instead. |
| "supports_reasoning": true, | ||
| "supports_vision": true | ||
| "supports_vision": true, | ||
| "deprecation_date": "2026-08-09" |
There was a problem hiding this comment.
Holo2 deprecation date looks unofficial
Medium Severity
scaleway/hcompany/holo2-30b-a3b now carries deprecation_date 2026-08-09, but Scaleway's July 2026 serverless deprecation notice lists Gemma 3, Pixtral, Qwen 3 Coder, Devstral 2, and Voxtral Small and does not mention Holo2. The supported-models catalog still lists Holo2 as available, so /model/deprecations and Slack alerts will treat a live model as already retired.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 528f3ae. Configure here.
There was a problem hiding this comment.
Scaleway's supported-models page lists holo2-30b-a3b in its deprecation table: deprecated July 9, 2026, EOL August 9, 2026, replacement qwen3.6-35b-a3b. Verified today from raw HTML.
|
bugbot run |
…itellm_add-claude-sonnet-5-pricing
…pt gpt-5.5 and gpt-5.6 entries Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
1 issue from previous review remains unresolved.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit b4e7776. Configure here.


TLDR
Problem this solves:
lyria-3.5, Voyagevoyage-multilingual-2and the ChatGPT GPT-5.5 and GPT-5.6 models have no registry entrydeprecation_dateHow it solves it:
gemini/lyria-3.5at $0.08 per song from the Gemini pricing pagevoyage/voyage-multilingual-2at $0.12 per 1M tokens from the Voyage pricing pagechatgpt/gpt-5.5,chatgpt/gpt-5.6-sol,chatgpt/gpt-5.6-luna,chatgpt/gpt-5.6-terra(absorbed from feat(chatgpt): register GPT-5.5 and GPT-5.6 models #39812)max_output_tokens8192 -> 64000 on both aliasesdeprecation_dateto six Scaleway models from Scaleway's EOL tablelitellm_internal_staginginto this rolling registry PR; every value below was re-read from raw provider HTML or the provider's model APIUser Flow
Before: a developer routing ChatGPT subscription traffic to GPT-5.6 through the proxy has the call skip the Responses bridge, and a Lyria 3.5 song is logged at $0
chatgpt/gpt-5.6-solto the proxy config and send POST https://litellm-domain/v1/chat/completions with"model": "gpt-5.6-sol"chatgpt/gpt-5.6-solentry, so the model resolves as plainchatmode and the request is sent as a chat completions call the ChatGPT backend does not servegemini/lyria-3.5has nomax_input_tokensoroutput_cost_per_imagegemini/lyria-3.5and https://litellm-domain/ui/?page=logs shows the request at $0.00After: the same requests resolve against the registry
chatgpt/gpt-5.6-solto the proxy config and send POST https://litellm-domain/v1/chat/completions with"model": "gpt-5.6-sol"responsesmode with the chat completions endpoint supported, so the request is bridged and a normal chat completion comes backgemini/lyria-3.5reportsmax_input_tokens: 1048576,max_output_tokens: 65536andoutput_cost_per_image: 0.08gemini/lyria-3.5and https://litellm-domain/ui/?page=logs shows the request at $0.08Relevant issues
Supports #26900
Linear ticket
Sources for every changed value
Gemini
lyria-3.5: the raw pricing page at https://ai.google.dev/gemini-api/docs/pricing lists "Lyria 3.5 lyria-3.5 ... Lyria 3.5 (Full Song) ... $0.08 per song" (paid tier, free tier not available). Limits come from the official Gemini models API (GET https://generativelanguage.googleapis.com/v1beta/models/lyria-3.5):inputTokenLimit1048576,outputTokenLimit65536. Flags and theoutput_cost_per_imageconvention mirror the existinggemini/lyria-3.5-pro-previewentry, which the same pricing page now lists under "legacy music generation models"Voyage
voyage-multilingual-2: https://docs.voyageai.com/docs/pricing listsvoyage-multilingual-2at $0.12 per 1M tokens; https://docs.voyageai.com/docs/embeddings lists context length 32,000 and embedding dimension 1024ChatGPT GPT-5.5 and GPT-5.6 (
chatgpt/gpt-5.5,chatgpt/gpt-5.6-sol,chatgpt/gpt-5.6-luna,chatgpt/gpt-5.6-terra): absorbed from #39812, including its test file. The OpenAI model pages at https://platform.openai.com/docs/models/gpt-5.5, https://platform.openai.com/docs/models/gpt-5.6-sol, https://platform.openai.com/docs/models/gpt-5.6-luna and https://platform.openai.com/docs/models/gpt-5.6-terra each state "1,050,000 context window" and "128,000 max output tokens", andgpt-5.5,gpt-5.6-sol,gpt-5.6-luna,gpt-5.6-terraare all live IDs inGET https://api.openai.com/v1/models. Thechatgpt/entries follow the same shape as the existingchatgpt/gpt-5.4(no per token price,responsesmode, chat completions bridged), and each new entry carries the model page assource. The previous revision of this PR dropped #39812 for lack of an official page; the model pages above settle thatVertex Claude Haiku 4.5 (
vertex_ai/claude-haiku-4-5,vertex_ai/claude-haiku-4-5@20251001): the model card at https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/partner-models/claude/haiku-4-5 lists maximum output tokens 64,000. Absorbed from #32197Bedrock Mantle gpt-oss (
bedrock_mantle/openai.gpt-oss-20b,bedrock_mantle/openai.gpt-oss-safeguard-20b): the AWS price list offer file for us-east-1 at https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrock/current/us-east-1/index.json lists GPT OSS 20B at $0.00007 per 1K input and $0.0003 per 1K output, and GPT OSS Safeguard 20B at $0.00007 input and $0.0002 output. The same rows appear on https://aws.amazon.com/bedrock/pricing/. Absorbed from #39866, including its test expectation updateScaleway deprecation dates: the deprecation table at https://www.scaleway.com/en/docs/generative-apis/reference-content/supported-models/ gives EOL dates of August 1, 2026 for
gemma-3-27b-it,devstral-2-123b-instruct-2512andvoxtral-small-24b-2507, August 9, 2026 forholo2-30b-a3b, and October 1, 2026 forpixtral-12b-2409andqwen3-coder-30b-a3b-instruct.deprecation_dateuses the EOL (shutdown) date, matching how the Gemini and Anthropic entries use the shutdown or retirement dateAudit results for the 2026-09-05 run: checked and left alone
OpenAI: every ID in
GET /v1/models(156) has a registry entry oncetext-completion-openaiandazurekeys are counted (babbage-002,davinci-002,gpt-3.5-turbo-instruct,computer-use-previewlive under those providers). The OpenAI model pages say GPT-5.6 Sol, Luna and Terra have a 1,050,000 context window while thegpt-5.6*OpenAI and Azure entries carrymax_input_tokens: 922000; that cap was set on purpose in 6bb677d (1,050,000 context minus 128,000 output), so it is left as is and the same 1,050,000 figure used bychatgpt/gpt-5.4andchatgpt/gpt-5.5on the base is kept for the newchatgpt/entriesAnthropic: all 11 IDs from
GET /v1/modelsare presentGemini: the models API also lists
aqa,antigravity-preview-05-2026,deep-research-preview-04-2026anddeep-research-max-preview-04-2026(the last two already exist undergemini/deep-research-*keys).aqaandantigravityhave no row on the pricing page, so nothing was addedFireworks:
accounts/fireworks/models/qwen3p8-2p4t-a95bandaccounts/fireworks/routers/glm-5p3-fastare in the model list but https://docs.fireworks.ai/serverless/pricing has no row for either exact ID (it prices "Qwen 3.8 Max" and "GLM 5.3 Flash", which already exist asqwen3p8-maxandglm-5p3-flash), so nothing was addedTogether: the model API lists 232 IDs without a registry entry, almost all image, video, embedding without published token pricing, or legacy models. Context length differences reported for
Qwen3-Coder-480B-A35B-Instruct-FP8,DeepSeek-V3.1,GLM-4.5-Air-FP8,GLM-4.6andGLM-4.7were not changed: Together's model APIcontext_lengthand the registrymax_input_tokensrepresent different limits (total context vs input) and the entries already cite Together's pricing page.BAAI/bge-base-en-v1.5output cost stays 0 (embeddings have no output tokens)Groq: the model table at https://console.groq.com/docs/models lists
groq/compound,groq/compound-mini(131,072 context, 8,192 output, billed per underlying model) andminimaxai/minimax-m2.7(contact sales). None has a per token price, so nothing was addedMistral:
GET /v1/modelsreportscodestral-2508atmax_context_length256000 while the model card at https://docs.mistral.ai/models/model-cards/codestral-25-08 says 128k with $0.3 input and $0.9 output per 1M, matching the registry; the registry follows the model card.mistral-medium-2604andmistral-vibe-cli-*appear in the API with no model card or pricing row, so they were not addedCohere: https://docs.cohere.com/docs/models lists
command-a-plus-05-2026,command-a-reasoning-08-2025,command-a-translate-08-2025,command-a-vision-07-2025,rerank-v4.0-pro,rerank-v4.0-fast,parse-v5.0and the transcribe models without registry entries. The raw https://cohere.com/pricing page carries no per token or per search price for any of them (the rendered pricing table is client side; the static page only prices Command, Command-light, Command R 03-2024, Command R+ and Aya Expanse), so none were added.command-r-03-2024andcommand-r-plus-04-2024are marked deprecated Sept 15, 2025 and are out of scope for this automationxAI, DeepSeek, Perplexity, Nebius, Azure, Bedrock: the provider model lists matched existing entries; no value differences found against the official pages
Voyage: all current
voyage-4*,voyage-3*,voyage-code-*,voyage-context-*andrerank-*prices match https://docs.voyageai.com/docs/pricing.voyage-4-nanois listed in the embeddings table but has no pricing row (open weights), so it was not added.voyage-01,voyage-02,voyage-lite-01-instruct,voyage-large-2-instruct,rerank-1,rerank-lite-1are legacy models and were left outOpenRouter:
openrouter/z-ai/glm-5.3-flashalready exists on the base with the live https://openrouter.ai/api/v1/models values (prompt 7.5e-8, completion 2.5e-7, cache read 1.5e-8, context 1,310,720, max output 131,072)Audit results from earlier runs: already correct on the base branch
These were re-read from raw provider HTML and already match, so nothing changed: Anthropic retirement dates at https://docs.anthropic.com/en/docs/about-claude/model-deprecations (Claude 3 Haiku, Claude 3 Opus, Haiku 4.5, Sonnet 4.5, Sonnet 4.6, Sonnet 5, Opus 4.5 through 4.8, Opus 5, Fable 5 and 5.1); Gemini shutdown dates at https://ai.google.dev/gemini-api/docs/deprecations (2.0 Flash and Flash Lite June 1, 2026, 2.5 Flash Image October 2, 2026, 3 Pro Image Preview and 3.1 Flash Image Preview June 25, 2026, gemini-embedding-001 May 14, 2028, 2.5 GA models no date announced); Vertex retirement dates at https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions; OpenAI shutdown dates at https://platform.openai.com/docs/deprecations (gpt-5.3-chat-latest, gpt-5.2-codex, gpt-5.1-codex-max, gpt-5.1-codex-mini); Bedrock lifecycle dates at https://docs.aws.amazon.com/bedrock/latest/userguide/model-lifecycle.html; Bedrock Mantle Grok 4.3 and 4.6 pricing; Scaleway
glm-5.2anddeepseek-v4-flash-0731pricing and limits; Z.ai GLM-5.2 pricing at https://docs.z.ai/guides/overview/pricing across the existing routesOther open registry PRs
Closed as superseded by this PR in the 2026-09-05 run: #39812 (ChatGPT GPT-5.5 and GPT-5.6 entries and tests, absorbed with the OpenAI model pages as
source), #39919 (OpenRouterz-ai/glm-5.3-flash: the entry already exists onlitellm_internal_stagingwith the live OpenRouter API prices, 7.5e-8 input and 2.5e-7 output, where the PR proposed 1.5e-7 and 5e-7)Closed as superseded by this PR in earlier runs: #32197 (Vertex Haiku 4.5 output limit, absorbed), #39866 (Bedrock Mantle gpt-oss rates, absorbed), #38201 (Scaleway: its additions
glm-5.2anddeepseek-v4-flash-0731are already on the base, and the models it removes now carrydeprecation_datefrom Scaleway's EOL table instead of being deleted), #33176 and #33618 (undatedazure/gpt-audio-miniandazure/gpt-realtime-minialiases already exist on the base with the base'srealtimemode kept), #32754 (the gpt-image-2output_cost_per_tokenremoval is already on the base)Dropped as not verifiable from an official source: #32035 (SambaNova DeepSeek-V3.2 128k; https://docs.sambanova.ai/cloud/docs/get-started/supported-models lists 32k), #32117 (Cohere
embed-multilingual-light-v3.01e-7; the Cohere pricing page does not list a per token price for that model), #30019 (gpt-5.4-mini 400k input; the OpenAI model page and the registry history disagree, so left at 272k pending a decision), #26380 (DeepSeek V4 pricing that disagrees with https://api-docs.deepseek.com/quick_start/pricing, which lists $0.44 input and $1.32 output per 1M for V4 Flash and $1.32 and $3.96 for V4 Pro at peak, matching the base), #31460 (Fireworks GLM 5.2 Fast: pricing is on https://fireworks.ai/pricing but no official model page exists for the fast router), #32842 (openai/z-ai/glm-5.2route: pricing confirmed but the provider route is not documented), #32291 (ChatGPT gpt-5.4-mini: no official page confirms thechatgpt/limits), #31155 (GitHub Copilot gpt-5.5 and gpt-5.4-mini: no official Copilot model list confirms them), #29920 (qwen3.7-max: raw Alibaba pricing not confirmed), #38516 (Volcengine Seed 2.1: the Volcengine page did not yield the proposed values), #37972 (94 EmpirioLabs entries: no official source located), #27064 (azure_ai/gpt-image-2: image pricing not confirmed), #31806 (DeepSeek and OpenRouter cache costs across 11 entries: cache read rates for the older DeepSeek models are not on the current DeepSeek pricing page)Left open because they are code or behavior changes that only incidentally touch the JSON: #33920 (
supports_web_searchon Anthropic models; Anthropic says web search is unavailable on Bedrock, so alias scope needs a code review), #32455 and #39115 (bedrock_converse_supports_strict_tools, a behavior flag tied to transformation code), #39764 (GovCloud pricing plus whitelist and test changes, authored by a maintainer), #39414 (Vertex DeepSeek OCR pricing bundled with OCR code and tests, authored by a maintainer), #31018 (DeepSeek V4 output limit 393216 -> 384000 inside a 55 file code change; DeepSeek writes "384K", which does not settle 384,000 vs 393,216), #31963 and #38189 (large code PRs whose registry edits are already on the base), #39835 and #39845 (cost map guard and sync bot CI changes)Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
Run on 2026-09-05. Before is the merge base with
litellm_internal_staging, After is this PR's tip. Same config, same request, only the checked out commit differs. The registry change adds data only; the only code change is the absorbed test file, so the surfaces to exercise are the registry lookups that/model/inforeturns.Before (8771979)
Proxy boot (single process,
LITELLM_LOCAL_MODEL_COST_MAP=true, no database, config listing the six new deployments with dummy keys):GET /model/info for the six new deployments
Every registry-derived column is empty: the proxy knows nothing about these six models beyond what the config says.
After (b4e7776)
Proxy boot (single process,
LITELLM_LOCAL_MODEL_COST_MAP=true, no database, config listing the six new deployments with dummy keys):GET /model/info for the six new deployments
Limits, prices,
output_cost_per_image,output_vector_sizeandmodenow come back from the registry for all six deployments.Observations:
voyage/voyage-multilingual-2has nomax_output_tokens, same as every other Voyage embedding entryType
🐛 Bug Fix
Caveats (if any)
Low
chatgpt/gpt-5.6-*usemax_input_tokens1050000 likechatgpt/gpt-5.4; the OpenAIgpt-5.6*entries use the 922000 cap from 6bb677ddeprecation_datefor Scaleway uses the EOL date, not the earlier "deprecation" date in Scaleway's tableFinal Attestation
Link to Devin session: https://app.devin.ai/sessions/c23aa606fe89455ea099593883bdd2d8
Open in Devin Desktop: https://app.devin.ai/desktop/session/c23aa606fe89455ea099593883bdd2d8?variant=devin
Requested by: @mateo-berri
Note
Low Risk
Changes are data-only in the cost map plus unit tests; the main behavioral impact is correct ChatGPT Responses bridging and billing metadata, with no runtime logic changes beyond registry lookups.
Overview
This PR refreshes
model_prices_and_context_window.json(and its backup) so proxy routing, limits, cost logging, and deprecation warnings match current provider docs.New registry entries:
chatgpt/gpt-5.5and threechatgpt/gpt-5.6-*variants (responsesmode, 1.05M / 128k limits, chat-completions bridge);gemini/lyria-3.5withoutput_cost_per_image0.08;voyage/voyage-multilingual-2embedding pricing and 1024-dim metadata.Corrections: Vertex
claude-haiku-4-5(both aliases)max_output_tokensraised 8192 → 64000; Bedrock Mantlegpt-oss-20binput 7.5e-8 → 7e-8 andgpt-oss-safeguard-20boutput 3e-7 → 2e-7;deprecation_dateadded on six Scaleway models.Tests: ChatGPT tests cover the new models’ metadata and
responses_api_bridge_check; Bedrock Mantle tests assert the revised gpt-oss pricing and add safeguard-20b coverage.Reviewed by Cursor Bugbot for commit b4e7776. Bugbot is set up for automated code reviews on this repo. Configure here.