Skip to content

fix(catalog): add openrouter standard pricing overrides - #1878

Merged
Abhijeet Prasad (AbhiPrasad) merged 3 commits into
mainfrom
devin/1795474090-openrouter-standard-pricing
Nov 24, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 3 commits into
mainfrom
devin/1795474090-openrouter-standard-pricing

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add pricing.openrouter.standard for 44 shared models whose standard text-token rates are conditional, differ from the top-level defaults, or add a verified cache rate not established by those defaults. Leave top-level rates, model IDs, other providers, non-standard tiers, and the 11 OpenRouter-only entries already carrying standard unchanged. Evaluated 108 shared candidates; 64 skipped.

Verified 2026-11-23 UTC using each exact OpenRouter model's GET /api/v1/models/{author}/{slug}/endpoints. Standard rows have service_tier: null; the request selector is service_tier: "default". The served response's service_tier (top-level for Chat Completions/Responses, in usage for Messages) and serving endpoint determine billing; open-weight priority routes can also serve unpinned requests. Sources: service tiers, endpoint API and override semantics, caching rules. Checked Batch separately using the exact :batch/endpoints selector, not the synchronous tier tag.

Prices are USD per million text tokens: input / output / cache read / total default cache write. Missing values are unverified or not applicable, never imputed. For Gemini, add the endpoint's 5-minute storage surcharge to the applicable prompt rate; the price fields shown do not capture media rates or separate storage charges. OpenAI's documented explicit 30m/12h totals are recorded for the direct OpenAI upstream endpoint on GPT-5.6+; extended TTL applicability on other OpenRouter upstreams was not established. OpenRouter documents a strict min_prompt_tokens comparison, so a threshold of 272,000 becomes inclusive bounds of ≤272,000 and ≥272,001 (similarly for 200,000).

21 pairs are endpoint-scoped, including tags with route/region suffixes; the cost selector requires an exact tag and will fall back to the top-level rate when only the OpenRouter API hostname (or no matching endpoint) is supplied. No billing code is changed. Unscoped prices cover every standard endpoint listed for the exact model, not unverified private or custom endpoints.

Promotion audit (2026-11-23 UTC): Rechecked all 139 added standard-rate rows against OpenRouter's live endpoint data and model pages. No rows were explicitly marked promotional or temporary, and none had a promotion-only date window. The endpoint API defines the discount multiplier, but it does not establish that a discounted endpoint price is temporary. The expired GPT-5.6 Terra and Luna promotion is not reflected in the catalog rows.

Endpoint-scoped pairs (not effective until the upstream tag is passed through): gpt-6.2-astra, gpt-6.2-sol, gpt-6.1-sol, gpt-6.1-terra, gpt-6-astra, gpt-6-luna, gpt-6-sol, gpt-5.6-luna, gpt-5.6-sol, gpt-5.6-terra, gpt-oss-120b, openai/gpt-oss-20b, openai/gpt-oss-safeguard-20b, mistral-large-4-0, mistral-medium-3, mistral-small-2603, ministral-14b-2512, ministral-8b-2512, ministral-3b-2512, grok-4.7, qwen/qwen3.8-27b.

List-price refresh (2026-11-23 UTC): Rechecked and updated the Prime Intellect routes for GPT-OSS 20B and Qwen3.8 27B. The Qwen route now shares the verified rate with Cloudflare and Reka; no promotional rates were removed.

Rebase verification (2026-11-24 UTC): Main added direct Google and Vertex audio pricing to 12 models in this PR. Rechecked all 12 against their exact OpenRouter endpoint URLs below, including discounts, cache-write totals, and long-context thresholds. No OpenRouter text-token rates or conditions changed; the rebase preserves main’s Google and Vertex pricing, and this PR remains text-only.

Cache-rate audit (2026-11-24 UTC)

Checked all 138 standard rows across 44 models, including 196 current endpoint/rate-band combinations, against the endpoint API and OpenRouter caching guide. No missing text cache read, write, or TTL-specific price could be filled from a published rate for the exact OpenRouter route. Missing cache fields remain unset and no rows were removed.

Prime Intellect cache-read refresh (2026-11-24 UTC): Rechecked the exact primeintellect/fp4 standard endpoints below and updated only cache read: gpt-oss-120b 0.282 → 0.315 and openai/gpt-oss-20b 0.177 → 0.169 USD per million tokens. Input, output, and other fields are unchanged.

10 rows lack a cache-read field and 79 lack a default cache-write field. Of those, 4 and 18 respectively can match today. A matching row uses its own input price for any missing cache rate, not the top-level cache rate. “No surcharge” below does not mean ordinary input tokens are free, and does not establish a standalone zero token price.

Model(s) Missing cache read Missing default cache write Can match today?
gpt-5.4, gpt-5.5 — All rows: no extra charge on OpenAI or Azure Yes, both context bands
gpt-5.4-pro, gpt-5.5-pro All rows: no published cache-read rate; GPT-5.4 Pro has no cached-input price and GPT-5.5 Pro explicitly has no cached-input discount All rows: no separate write charge documented for these pre-GPT-5.6 routes Yes, both context bands
grok-4.20-multi-agent, grok-4.20, grok-4.5, grok-4.3, grok-4.6 — xai, xai/zdr: automatic; no surcharge Yes, both context bands
grok-4.7 — xai, xai/zdr: no surcharge; amazon-bedrock/global already has an explicit API zero No
gpt-oss-120b Unpublished on google-vertex/global, sambanova, amazon-bedrock, amazon-bedrock/eu-west-1, together All catalog endpoints below: no surcharge on groq; unpublished elsewhere No
openai/gpt-oss-20b Unpublished on siliconflow/fp8, amazon-bedrock, amazon-bedrock/eu-west-1 All catalog endpoints below: no surcharge on groq; unpublished elsewhere No
openai/gpt-oss-safeguard-20b Unpublished on amazon-bedrock/us-east-2 No surcharge on groq; unpublished on amazon-bedrock/us-east-2 No
mistral-large-4-0, ministral-14b-2512, ministral-8b-2512, ministral-3b-2512 — mistral/zdr, mistral/eu: no separate write price in the endpoint API; Mistral documents ordinary input billing on misses No
mistral-small-2603 — Same as above for mistral/zdr, mistral/eu, mistral/us No
mistral-medium-3 — mistral/eu: exact route no longer listed; no current write price verified No
qwen/qwen3.8-27b — All catalog endpoints below: unpublished; exact novita route no longer listed No

TTL coverage: The direct openai routes for all ten GPT-5.6+ models already carry the published 30m and 12h totals in both context bands. No additional TTL-specific price is established for the exact OpenRouter azure, amazon-bedrock/global, or google-vertex/global routes listed for those models below; cloud-provider pricing and retention docs are not proof of OpenRouter pricing or pass-through for a given route. These GPT-5.6+ rows are all upstream-tag scoped and do not match today. Gemini's explicit 5-minute total is already represented by the default write field; no separate extended write price was published. Gemini implicit caching has no write/storage surcharge. The text cache audit does not add audio prices.

Added pairs

Numbers connect each rate with its applicable conditions.

Model ID Provider Rates Conditions Official source
gpt-6.2-astra openrouter 1. 8 / 40 / 0.4 / 10
2. 16 / 60 / 0.8 / 20
3. 8 / 40 / 0.4 / 10 (30m: 10; 12h: 20)
4. 16 / 60 / 0.8 / 20 (30m: 20; 12h: 40)
1. amazon-bedrock/global, azure, google-vertex/global; ≤272000 prompt tokens
2. amazon-bedrock/global, azure, google-vertex/global; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-6.2-sol openrouter 1. 2 / 10 / 0.1 / 2.5
2. 4 / 15 / 0.2 / 5
3. 2 / 10 / 0.1 / 2.5 (30m: 2.5; 12h: 5)
4. 4 / 15 / 0.2 / 5 (30m: 5; 12h: 10)
1. amazon-bedrock/global, azure, google-vertex/global; ≤272000 prompt tokens
2. amazon-bedrock/global, azure, google-vertex/global; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-6.1-sol openrouter 1. 2 / 10 / 0.1 / 2.5
2. 4 / 15 / 0.2 / 5
3. 2 / 10 / 0.1 / 2.5 (30m: 2.5; 12h: 5)
4. 4 / 15 / 0.2 / 5 (30m: 5; 12h: 10)
1. amazon-bedrock/global, azure; ≤272000 prompt tokens
2. amazon-bedrock/global, azure; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-6.1-terra openrouter 1. 1 / 5 / 0.05 / 1.25
2. 2 / 7.5 / 0.1 / 2.5
3. 1 / 5 / 0.05 / 1.25 (30m: 1.25; 12h: 2.5)
4. 2 / 7.5 / 0.1 / 2.5 (30m: 2.5; 12h: 5)
1. azure, google-vertex/global; ≤272000 prompt tokens
2. azure, google-vertex/global; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-6-astra openrouter 1. 10 / 50 / 1 / 12.5
2. 20 / 75 / 2 / 25
3. 10 / 50 / 1 / 12.5 (30m: 12.5; 12h: 25)
4. 20 / 75 / 2 / 25 (30m: 25; 12h: 50)
1. amazon-bedrock/global, azure; ≤272000 prompt tokens
2. amazon-bedrock/global, azure; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-6-luna openrouter 1. 0.1 / 0.5 / 0.01 / 0.125
2. 0.2 / 0.75 / 0.02 / 0.25
3. 0.1 / 0.5 / 0.01 / 0.125 (30m: 0.125; 12h: 0.25)
4. 0.2 / 0.75 / 0.02 / 0.25 (30m: 0.25; 12h: 0.5)
1. amazon-bedrock/global, azure; ≤272000 prompt tokens
2. amazon-bedrock/global, azure; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-6-sol openrouter 1. 2 / 10 / 0.2 / 2.5
2. 4 / 15 / 0.4 / 5
3. 2 / 10 / 0.2 / 2.5 (30m: 2.5; 12h: 5)
4. 4 / 15 / 0.4 / 5 (30m: 5; 12h: 10)
1. amazon-bedrock/global, azure; ≤272000 prompt tokens
2. amazon-bedrock/global, azure; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-5.6-luna openrouter 1. 0.2 / 1.2 / 0.02 / 0.25
2. 0.4 / 1.8 / 0.04 / 0.5
3. 0.2 / 1.2 / 0.02 / 0.25 (30m: 0.25; 12h: 0.5)
4. 0.4 / 1.8 / 0.04 / 0.5 (30m: 0.5; 12h: 1)
1. amazon-bedrock/global, azure; ≤272000 prompt tokens
2. amazon-bedrock/global, azure; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-5.6-sol openrouter 1. 4 / 20 / 0.4 / 5
2. 8 / 30 / 0.8 / 10
3. 4 / 20 / 0.4 / 5 (30m: 5; 12h: 10)
4. 8 / 30 / 0.8 / 10 (30m: 10; 12h: 20)
1. amazon-bedrock/global, azure; ≤272000 prompt tokens
2. amazon-bedrock/global, azure; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-5.6-terra openrouter 1. 2 / 12 / 0.2 / 2.5
2. 4 / 18 / 0.4 / 5
3. 2 / 12 / 0.2 / 2.5 (30m: 2.5; 12h: 5)
4. 4 / 18 / 0.4 / 5 (30m: 5; 12h: 10)
1. azure; ≤272000 prompt tokens
2. azure; ≥272001 prompt tokens
3. openai; ≤272000 prompt tokens
4. openai; ≥272001 prompt tokens
Endpoint API
gpt-5.5 openrouter 1. 5 / 30 / 0.5
2. 10 / 45 / 1
1. all listed standard routes; ≤272000 prompt tokens
2. all listed standard routes; ≥272001 prompt tokens
Endpoint API
gpt-5.5-pro openrouter 1. 30 / 180
2. 60 / 270
1. all listed standard routes; ≤272000 prompt tokens
2. all listed standard routes; ≥272001 prompt tokens
Endpoint API
gpt-5.4 openrouter 1. 2.5 / 15 / 0.25
2. 5 / 22.5 / 0.5
1. all listed standard routes; ≤272000 prompt tokens
2. all listed standard routes; ≥272001 prompt tokens
Endpoint API
gpt-5.4-pro openrouter 1. 30 / 180
2. 60 / 270
1. all listed standard routes; ≤272000 prompt tokens
2. all listed standard routes; ≥272001 prompt tokens
Endpoint API
gpt-oss-120b openrouter 1. 0.03 / 0.15 / 0.015
2. 0.03 / 0.15 / 0.03
3. 0.03 / 0.17 / 0.03
4. 0.03 / 0.187 / 0.03
5. 0.037 / 0.17 / 0.0185
6. 0.05 / 0.25 / 0.05
7. 0.06 / 0.42 / 0.012
8. 0.085 / 0.375 / 0.085
9. 0.09 / 0.36
10. 0.1 / 0.5 / 0.1
11. 0.1 / 0.75 / 0.055
12. 0.14 / 0.95
13. 0.15 / 0.6 / 0.015
14. 0.15 / 0.6
15. 0.15 / 0.6 / 0.1
16. 0.15 / 0.6 / 0.075
17. 0.313 / 0.671 / 0.315
18. 0.35 / 0.75 / 0.35
1. near-ai/fp4
2. venice/int4
3. coreweave/fp4
4. akashml/fp4
5. deepinfra/bf16
6. crusoe/bf16
7. digitalocean
8. mancer/fp8
9. google-vertex/global
10. baseten/fp4, baseten/fp4/us
11. parasail/fp4
12. sambanova
13. fireworks
14. amazon-bedrock, amazon-bedrock/eu-west-1, together
15. nebius/fp4
16. groq, siliconflow/fp8
17. primeintellect/fp4
18. cerebras/fp16
Endpoint API
openai/gpt-oss-20b openrouter 1. 0.0153 / 0.0765 / 0.00765
2. 0.018 / 0.09 / 0.009
3. 0.03 / 0.13 / 0.03
4. 0.03 / 0.14 / 0.015
5. 0.03 / 0.15 / 0.02
6. 0.04 / 0.18
7. 0.07 / 0.15
8. 0.075 / 0.3 / 0.0375
9. 0.197 / 0.295 / 0.169
1. darkbloom/fp4
2. akashml/fp4
3. coreweave/fp4
4. deepinfra/bf16
5. parasail/fp4
6. siliconflow/fp8
7. amazon-bedrock, amazon-bedrock/eu-west-1
8. groq
9. primeintellect/fp4
Endpoint API
openai/gpt-oss-safeguard-20b openrouter 1. 0.07 / 0.2
2. 0.075 / 0.3 / 0.0375
1. amazon-bedrock/us-east-2
2. groq
Endpoint API
mistral-large-4-0 openrouter 1. 0.7 / 2.1 / 0.07
2. 0.77 / 2.31 / 0.077
1. mistral/zdr
2. mistral/eu
Endpoint API
mistral-medium-3 openrouter 1. 0.44 / 2.2 / 0.044 1. mistral/eu Endpoint API
mistral-small-2603 openrouter 1. 0.15 / 0.6 / 0.015
2. 0.165 / 0.66 / 0.0165
1. mistral/zdr
2. mistral/eu, mistral/us
Endpoint API
ministral-14b-2512 openrouter 1. 0.2 / 0.2 / 0.02
2. 0.22 / 0.22 / 0.022
1. mistral/zdr
2. mistral/eu
Endpoint API
ministral-8b-2512 openrouter 1. 0.15 / 0.15 / 0.015
2. 0.165 / 0.165 / 0.0165
1. mistral/zdr
2. mistral/eu
Endpoint API
ministral-3b-2512 openrouter 1. 0.1 / 0.1 / 0.01
2. 0.11 / 0.11 / 0.011
1. mistral/zdr
2. mistral/eu
Endpoint API
gemini-3.8-flash openrouter 1. 0.375 / 1.875 / 0.0375 / 0.395833333333 1. all listed standard routes Endpoint API
gemini-4-argon openrouter 1. 1 / 5 / 0.05 / 1.09375 1. all listed standard routes Endpoint API
gemini-4-carbon openrouter 1. 1 / 5 / 0.05 / 1.09375 1. all listed standard routes Endpoint API
gemini-4-hydrogen openrouter 1. 1.5 / 7.5 / 0.075 / 1.58333333333 1. all listed standard routes Endpoint API
gemini-4-neon openrouter 1. 3 / 15 / 0.15 / 3.08333333333 1. all listed standard routes Endpoint API
gemini-3.6-flash openrouter 1. 0.75 / 3.75 / 0.075 / 0.791666666667 1. all listed standard routes Endpoint API
gemini-3.5-flash-lite openrouter 1. 0.3 / 2.5 / 0.03 / 0.383333333333 1. all listed standard routes Endpoint API
gemini-3.1-flash-lite openrouter 1. 0.25 / 1.5 / 0.025 / 0.333333333333 1. all listed standard routes Endpoint API
gemini-3.1-pro-preview openrouter 1. 2 / 12 / 0.2 / 2.375
2. 4 / 18 / 0.4 / 4.375
1. all listed standard routes; ≤200000 prompt tokens
2. all listed standard routes; ≥200001 prompt tokens
Endpoint API
gemini-3.1-pro-preview-customtools openrouter 1. 2 / 12 / 0.2 / 2.375
2. 4 / 18 / 0.4 / 4.375
1. all listed standard routes; ≤200000 prompt tokens
2. all listed standard routes; ≥200001 prompt tokens
Endpoint API
gemini-3-flash-preview openrouter 1. 0.5 / 3 / 0.05 / 0.583333333333 1. all listed standard routes Endpoint API
gemini-3-pro-image openrouter 1. 2 / 12 / 0.2 / 2.375 1. all listed standard routes Endpoint API
gemini-2.5-flash-image openrouter 1. 0.3 / 2.5 / 0.03 / 0.383333333333 1. all listed standard routes Endpoint API
gemini-2.5-flash-lite openrouter 1. 0.1 / 0.4 / 0.01 / 0.183333333333 1. all listed standard routes Endpoint API
grok-4.20-multi-agent openrouter 1. 1.25 / 2.5 / 0.2
2. 2.5 / 5 / 0.4
1. all listed standard routes; ≤200000 prompt tokens
2. all listed standard routes; ≥200001 prompt tokens
Endpoint API
grok-4.20 openrouter 1. 1.25 / 2.5 / 0.2
2. 2.5 / 5 / 0.4
1. all listed standard routes; ≤200000 prompt tokens
2. all listed standard routes; ≥200001 prompt tokens
Endpoint API
grok-4.5 openrouter 1. 2 / 6 / 0.3
2. 4 / 12 / 0.6
1. all listed standard routes; ≤200000 prompt tokens
2. all listed standard routes; ≥200001 prompt tokens
Endpoint API
grok-4.3 openrouter 1. 1.25 / 2.5 / 0.2
2. 2.5 / 5 / 0.4
1. all listed standard routes; ≤200000 prompt tokens
2. all listed standard routes; ≥200001 prompt tokens
Endpoint API
grok-4.6 openrouter 1. 2 / 6 / 0.5
2. 4 / 12 / 1
1. all listed standard routes; ≤200000 prompt tokens
2. all listed standard routes; ≥200001 prompt tokens
Endpoint API
grok-4.7 openrouter 1. 2 / 6 / 0.5 / 0
2. 4 / 12 / 1 / 0
3. 2 / 6 / 0.5
4. 4 / 12 / 1
1. amazon-bedrock/global; ≤200000 prompt tokens
2. amazon-bedrock/global; ≥200001 prompt tokens
3. xai, xai/zdr; ≤200000 prompt tokens
4. xai, xai/zdr; ≥200001 prompt tokens
Endpoint API
qwen/qwen3.8-27b openrouter 1. 0.035 / 1.5 / 0.0175
2. 0.039 / 1.25 / 0.0039
3. 0.04 / 1.35 / 0.018
4. 0.04 / 1.95 / 0.02
5. 0.04 / 2.3 / 0.02
6. 0.1 / 2 / 0.02
7. 0.125 / 1.5 / 0.03
8. 0.15 / 1.6 / 0.05
9. 0.1125 / 1.40625 / 0.028125
10. 0.06125 / 0.3675 / 0.01225
11. 0.2 / 2.5 / 0.09
12. 0.225 / 1.98 / 0.05
13. 0.24 / 2.2 / 0.05
14. 0.4 / 3 / 0.15
15. 0.42 / 3 / 0.085
16. 0.425 / 2.55 / 0.085
17. 0.425 / 2.55 / 0.085 / 0.53125
18. 0.45 / 3 / 0.1
19. 0.45 / 3.2 / 0.05
20. 0.99 / 1.49 / 0.99
1. darkbloom/fp4
2. chutes/fp8
3. near-ai/fp8
4. ionstream/fp8
5. modal
6. pearl-research/fp8
7. mancer/fp8
8. tenstorrent/fp8
9. deepinfra/fp8
10. streamlake
11. modelrun/fp4
12. akashml/fp8
13. parasail/fp8
14. coreweave/fp8
15. novita
16. siliconflow/fp8
17. alibaba
18. nebius/fp4
19. cloudflare, primeintellect/fp8, reka/fp8
20. cerebras/fp16
Endpoint API

Skipped candidates

Model ID Reason Official source
gpt-5.4-mini Verified flat text-token prices match the catalog defaults Endpoint API
gpt-5.4-nano Catalog deprecation date passed (2026-10-01) Endpoint API
gpt-5.3-codex Catalog deprecation date passed (2026-10-01) Endpoint API
gpt-5.2 Verified flat text-token prices match the catalog defaults Endpoint API
gpt-5.2-codex Catalog deprecation date passed (2026-04-22) Endpoint API
gpt-5.2-pro Verified flat text-token prices match the catalog defaults Endpoint API
gpt-5.1 Catalog deprecation date passed (2026-10-01) Endpoint API
gpt-5.1-codex Catalog deprecation date passed (2026-04-22) Endpoint API
gpt-5.1-codex-max Catalog deprecation date passed (2026-04-22) Endpoint API
gpt-5.1-codex-mini Catalog deprecation date passed (2026-04-22) Endpoint API
gpt-5 Catalog deprecation date passed (2026-06-11) Endpoint API
gpt-5-mini Catalog deprecation date passed (2026-06-11) Endpoint API
gpt-5-nano Catalog deprecation date passed (2026-06-11) Endpoint API
gpt-5-pro Catalog deprecation date passed (2026-06-11) Endpoint API
gpt-4.1 Catalog deprecation date passed (2026-10-14) Endpoint API
gpt-4.1-mini Catalog deprecation date passed (2026-10-14) Endpoint API
gpt-4.1-nano Catalog deprecation date passed (2026-04-22) Endpoint API
gpt-4 Catalog retirement date passed (2026-10-23) —
gpt-4-turbo Catalog retirement date passed (2026-10-23) —
gpt-4o Catalog deprecation date passed (2026-10-14) (Azure does not publish a cache-read rate; no rate inferred) Endpoint API
gpt-4o-mini Catalog deprecation date passed (2026-10-14) Endpoint API
gpt-4o-2024-11-20 Catalog deprecation date passed (2026-10-14) Endpoint API
gpt-4o-2024-08-06 Catalog deprecation date passed (2026-10-14) Endpoint API
gpt-4o-mini-2024-07-18 Catalog deprecation date passed (2026-10-14) Endpoint API
gpt-4o-2024-05-13 Catalog deprecation date passed (2026-04-22) Endpoint API
gpt-3.5-turbo-16k Catalog marks it deprecated —
gpt-3.5-turbo Catalog marks it deprecated —
gpt-3.5-turbo-instruct Catalog marks it deprecated —
o4-mini Catalog retirement date passed (2026-11-19) —
o3 Catalog deprecation date passed (2026-06-11) Endpoint API
o3-mini Catalog retirement date passed (2026-11-19) —
o3-pro Catalog deprecation date passed (2026-06-11) Endpoint API
o1 Catalog retirement date passed (2026-11-19) —
o1-pro Catalog retirement date passed (2026-11-19) —
gpt-audio Catalog deprecation date passed (2026-07-20) Endpoint API
gpt-audio-mini Catalog deprecation date passed (2026-07-20) Endpoint API
claude-fable-5 Verified flat text-token prices match the catalog defaults Endpoint API
claude-opus-5 Verified flat text-token prices match the catalog defaults Endpoint API
claude-sonnet-5 Verified flat text-token prices match the catalog defaults Endpoint API
command-r-plus-08-2024 Verified flat text-token prices match the catalog defaults Endpoint API
command-r-08-2024 Verified flat text-token prices match the catalog defaults Endpoint API
command-r7b-12-2024 Verified flat text-token prices match the catalog defaults Endpoint API
nvidia/nemotron-3-ultra-550b-a55b Catalog deprecation date passed (2026-08-27) Endpoint API
sonar-pro Verified flat text-token prices match the catalog defaults Endpoint API
sonar-reasoning-pro Verified flat text-token prices match the catalog defaults Endpoint API
sonar-deep-research Verified flat text-token prices match the catalog defaults Endpoint API
sonar Verified flat text-token prices match the catalog defaults Endpoint API
thinkingmachines/inkling-small Catalog deprecation date passed (2026-10-16) Endpoint API
thinkingmachines/inkling Catalog deprecation date passed (2026-10-16) Endpoint API
mistral-large-2512 Catalog deprecation date passed (2026-10-31) Endpoint API
codestral-2508 Verified flat text-token prices match the catalog defaults Endpoint API
devstral-2512 Catalog deprecation date passed (2026-05-22) Endpoint API
gemini-3.7-flash Catalog deprecation date passed (2026-10-08) Endpoint API
gemini-3.5-flash Catalog deprecation date passed (2026-10-08) Endpoint API
gemini-3.1-flash-image Catalog deprecation date passed (2026-10-06) Endpoint API
gemini-nano-banana-2.1 Verified flat text-token prices match the catalog defaults Endpoint API
gemini-3.1-flash-image-preview Catalog deprecation date passed (2026-05-28) Endpoint API
gemini-3.1-flash-lite-image Verified flat text-token prices match the catalog defaults Endpoint API
gemini-3.1-flash-lite-preview Catalog marks it deprecated —
gemini-3-pro-image-preview Catalog deprecation date passed (2026-05-28) Endpoint API
gemini-2.5-flash Catalog deprecation date passed (2026-11-02) Endpoint API
gemini-2.5-pro Catalog deprecation date passed (2026-11-02) Endpoint API
grok-build-0.1 Catalog retirement date passed (2026-11-19) —
grok-latest Router alias; endpoint API returned no exact-model rows Endpoint API

The non-standard tier matrix is separate from this standard-only catalog change; support evidence does not authorize changes to existing non-standard rates.

Link to Devin session: https://braintrust.devinenterprise.com/sessions/4bd6991b17fb40a5ad3743a75d4178a7
Open in Devin Desktop: https://braintrust.devinenterprise.com/desktop/session/4bd6991b17fb40a5ad3743a75d4178a7?variant=devin

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 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-23T22:55:28.825951Z adceaa3 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: adceaa3b44

ℹ️ 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 on lines +26076 to +26079
"input_cost_per_mil_tokens": 0.375,
"output_cost_per_mil_tokens": 1.875,
"input_cache_read_cost_per_mil_tokens": 0.0375,
"input_cache_write_cost_per_mil_tokens": 0.39583333333333337

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 Use the already-discounted endpoint prices

For standard OpenRouter traffic to Gemini 3.8 Flash, the endpoint API prices already include the advertised 50% discount: OpenRouter lists $0.75/$3.75/$0.075 per million for input/output/cache read, while this row applies another 50% reduction and duplicates the Flex-tier prices. This under-reports every standard request by half. The same double-discount appears in the new gemini-4-argon, gemini-4-carbon, and Qwen deepinfra/fp8/streamlake rows, so record the API prices directly and add any cache-storage surcharge only once.

Useful? React with 👍 / 👎.

@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1795474090-openrouter-standard-pricing branch from 9c3055a to ce69d7d Compare November 24, 2026 16:08
> 🤖 **This text was AI-generated.**

Shared models can have OpenRouter standard prices that differ from the
catalog defaults. Record the verified text-token rates, including
endpoint and prompt-length conditions, without changing the defaults.

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.**

The Prime Intellect endpoint rates for GPT-OSS 20B and Qwen3.8 27B
changed. Update the catalog to OpenRouter's current standard list
prices and group the Qwen endpoint with matching rates.

Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1795474090-openrouter-standard-pricing branch from ce69d7d to 20fd870 Compare November 24, 2026 19:16
> 🤖 **This text was AI-generated.**

Update the two GPT-OSS Prime Intellect cache-read prices to the current
OpenRouter standard endpoint rates. Leave other rates unchanged.

Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 027ae23 into main Nov 24, 2026
6 checks passed
Abhijeet Prasad (AbhiPrasad) added a commit that referenced this pull request Nov 24, 2026
## Summary
Adds verified provider-specific `pricing[provider].standard` rates for
Together, Baseten, Groq and Fireworks open-weight routes (17 entries) in
`model_list.json`. Top-level defaults, existing tiers, aliases and
`available_providers` are unchanged. Together/Fireworks US-region rows
are endpoint-scoped; Fireworks US rows also require the `-us` router
`model_id`, which current Brainstore cost matching does not consume
(flagged, kept).

For `openai/gpt-oss-safeguard-20b`, this PR adds the direct `groq`
Standard rate alongside the separate `openrouter` Standard block merged
in
[#1878](#1878).
The OpenRouter rows and top-level fallback are unchanged.

## Cost matching today

For catalog-priced Standard usage, Gateway passes the lowercase hostname
from the configured `api_base` or routing default. Together Global
matches the default `api.together.xyz` or a configured
`api.together.ai`; Together US matches a configured
`us-api.together.ai`. Fireworks Global matches the default
`api.fireworks.ai`; Fireworks US **cannot** match because the required
`model_id` is unsupported even on `us.api.fireworks.ai`. Unconditional
Together, Baseten and Groq rows need no hostname.

When a text Standard row matches, Brainstore uses that row's rates
instead of the top-level rates. If the selected row omits a cache-read
or cache-write price and the call reports tokens in that bucket, those
tokens are priced at the selected row's input rate, not the top-level
cache rate. A missing field does not mean zero-priced tokens.

For the catalog entries below, a missing or unlisted hostname falls back
to top-level pricing; the six Fireworks US rows also fall back on their
listed US host until `model_id` matching is supported. The fallback is
not the provider's Global row, even where its numbers happen to be
identical. Rates are USD per million tokens (**input / output / cache
read**); none has an explicit top-level cache-write rate, so cache
writes use the input rate.

| Provider | Catalog model ID | Top-level fallback |
|---|---|---|
| Together | `deepseek-ai/DeepSeek-V4-Pro-0813` | $1.32 / $3.96 / $0.132
|
| Together | `deepseek-ai/DeepSeek-V4.1-Flash` | $0.30 / $1.20 / $0.007
|
| Together | `zai-org/GLM-5.3` | $1.40 / $4.40 / $0.14 |
| Together | `zai-org/GLM-5.3-Flash` | $0.15 / $0.50 / $0.03 |
| Together | `moonshotai/Kimi-K3` | $3 / $15 / $0.30 |
| Fireworks | `accounts/fireworks/models/deepseek-v4p1-flash` | $0.30 /
$1.20 / $0.006 |
| Fireworks | `accounts/fireworks/models/deepseek-v4p1-flash-1017` |
$0.30 / $1.20 / $0.006 |
| Fireworks | `accounts/fireworks/models/glm-5p3` | $1.40 / $4.40 /
$0.26 |
| Fireworks | `accounts/fireworks/models/glm-5p3-flash` | $0.15 / $0.50
/ $0.03 |
| Fireworks | `accounts/fireworks/models/kimi-k3` | $3 / $15 / $0.30 |
| Fireworks | `accounts/fireworks/models/kimi-k3p1-pro` | $2 / $10 /
$0.20 |

## Provider-specific Standard pricing

Checked 2026-11-23; cache coverage rechecked 2026-11-24. USD per million
text tokens, in **input / output / cache read / cache write** order. A
dash means no separate price is recorded; see the cache audit below.
Only provider-specific Standard rows changed.

| Catalog model ID | Provider | Rates | Conditions | Official source |
| --- | --- | --- | --- | --- |
| `accounts/fireworks/models/deepseek-v4p1-flash` | `fireworks` | $0.3 /
$1.2 / $0.006 / —<br>$0.45 / $1.8 / $0.009 / — |
`api.fireworks.ai`<br>`us.api.fireworks.ai`;
`model=accounts/fireworks/routers/deepseek-v4p1-flash-us` | [serverless
prices](https://docs.fireworks.ai/serverless/pricing), [US
selectors](https://docs.fireworks.ai/serverless/us-only-serverless) |
| `accounts/fireworks/models/glm-5p3-flash` | `fireworks` | $0.15 / $0.5
/ $0.03 / —<br>$0.225 / $0.75 / $0.045 / — |
`api.fireworks.ai`<br>`us.api.fireworks.ai`;
`model=accounts/fireworks/routers/glm-5p3-flash-us` | [serverless
prices](https://docs.fireworks.ai/serverless/pricing), [US
selectors](https://docs.fireworks.ai/serverless/us-only-serverless) |
| `accounts/fireworks/models/glm-5p3` | `fireworks` | $1.4 / $4.4 /
$0.26 / —<br>$2.1 / $6.6 / $0.39 / — |
`api.fireworks.ai`<br>`us.api.fireworks.ai`;
`model=accounts/fireworks/routers/glm-5p3-us` | [serverless
prices](https://docs.fireworks.ai/serverless/pricing), [US
selectors](https://docs.fireworks.ai/serverless/us-only-serverless) |
| `accounts/fireworks/models/kimi-k3` | `fireworks` | $3 / $15 / $0.3 /
—<br>$4.5 / $22.5 / $0.45 / — |
`api.fireworks.ai`<br>`us.api.fireworks.ai`;
`model=accounts/fireworks/routers/kimi-k3-us` | [serverless
prices](https://docs.fireworks.ai/serverless/pricing), [US
selectors](https://docs.fireworks.ai/serverless/us-only-serverless) |
| `accounts/fireworks/models/kimi-k3p1-pro` | `fireworks` | $2 / $10 /
$0.2 / —<br>$2.5 / $12.5 / $0.25 / — |
`api.fireworks.ai`<br>`us.api.fireworks.ai`;
`model=accounts/fireworks/routers/kimi-k3p1-pro-us` | [serverless
prices](https://docs.fireworks.ai/serverless/pricing), [US
selectors](https://docs.fireworks.ai/serverless/us-only-serverless) |
| `openai/gpt-oss-120b` | `together` | $0.15 / $0.6 / — / — | All
documented Standard shared API routes | [exact
prices](https://docs.together.ai/docs/serverless/models) |
| `openai/gpt-oss-120b` | `baseten` | $0.1 / $0.5 / $0.1 / — | All
documented Standard shared API routes | [exact Model API
rates](https://inference.baseten.co/v1/models), [price
table](https://www.baseten.co/pricing/) |
| `openai/gpt-oss-safeguard-20b` | `groq` | $0.075 / $0.3 / $0.0375 / —
| All documented Standard shared API routes | [model
card](https://console.groq.com/docs/model/openai/gpt-oss-safeguard-20b),
[50% cache discount](https://console.groq.com/docs/prompt-caching) |
| `deepseek-ai/DeepSeek-V4-Pro-0813` | `together` | $1.32 / $3.96 /
$0.13 / —<br>$1.65 / $4.95 / $0.1625 / — | `api.together.ai`,
`api.together.xyz`<br>`us-api.together.ai` | [exact
prices](https://docs.together.ai/docs/serverless/models), [US
routes](https://docs.together.ai/docs/serverless/geo-specific-inference),
[legacy global
host](https://github.com/togethercomputer/together-python/blob/v1.5.25/src/together/constants.py)
|
| `Qwen/Qwen3.8-Flash` | `together` | $0.15 / $0.47 / — / — | All
documented Standard shared API routes | [exact
prices](https://docs.together.ai/docs/serverless/models) |
| `Qwen/Qwen3.7-Max` | `together` | $2.5 / $7.5 / $0.5 / — | All
documented Standard shared API routes | [exact
prices](https://docs.together.ai/docs/serverless/models) |
| `accounts/fireworks/models/deepseek-v4p1-flash-1017` | `fireworks` |
$0.3 / $1.2 / $0.006 / —<br>$0.45 / $1.8 / $0.009 / — |
`api.fireworks.ai`<br>`us.api.fireworks.ai`;
`model=accounts/fireworks/routers/deepseek-v4p1-flash-1017-us` |
[serverless prices](https://docs.fireworks.ai/serverless/pricing), [US
selectors](https://docs.fireworks.ai/serverless/us-only-serverless) |
| `deepseek-ai/DeepSeek-V4.1-Flash` | `together` | $0.3 / $1.2 / $0.006
/ —<br>$0.375 / $1.5 / $0.0075 / — | `api.together.ai`,
`api.together.xyz`<br>`us-api.together.ai` | [exact
prices](https://docs.together.ai/docs/serverless/models), [US
routes](https://docs.together.ai/docs/serverless/geo-specific-inference),
[legacy global
host](https://github.com/togethercomputer/together-python/blob/v1.5.25/src/together/constants.py)
|
| `zai-org/GLM-5.3` | `together` | $1.4 / $4.4 / $0.26 / —<br>$1.75 /
$5.5 / $0.325 / — | `api.together.ai`,
`api.together.xyz`<br>`us-api.together.ai` | [exact
prices](https://docs.together.ai/docs/serverless/models), [US
routes](https://docs.together.ai/docs/serverless/geo-specific-inference),
[legacy global
host](https://github.com/togethercomputer/together-python/blob/v1.5.25/src/together/constants.py)
|
| `zai-org/GLM-5.3-Flash` | `together` | $0.15 / $0.5 / $0.03 /
—<br>$0.1875 / $0.625 / $0.0375 / — | `api.together.ai`,
`api.together.xyz`<br>`us-api.together.ai` | [exact
prices](https://docs.together.ai/docs/serverless/models), [US
routes](https://docs.together.ai/docs/serverless/geo-specific-inference),
[legacy global
host](https://github.com/togethercomputer/together-python/blob/v1.5.25/src/together/constants.py)
|
| `zai-org/GLM-5.2` | `together` | $1.4 / $4.4 / $0.26 / — | All
documented Standard shared API routes | [exact
prices](https://docs.together.ai/docs/serverless/models) |
| `moonshotai/Kimi-K3` | `together` | $3 / $15 / $0.3 / —<br>$3.75 /
$18.75 / $0.375 / — | `api.together.ai`,
`api.together.xyz`<br>`us-api.together.ai` | [exact
prices](https://docs.together.ai/docs/serverless/models), [US
routes](https://docs.together.ai/docs/serverless/geo-specific-inference),
[legacy global
host](https://github.com/togethercomputer/together-python/blob/v1.5.25/src/together/constants.py)
|

### Cache pricing coverage

All 28 Standard rows were checked. No additional published cache prices
were found. All published cache-read prices are already recorded; the
two exceptions do not have separate cached-input billing. None of the 28
rows has a separate published default or TTL-specific cache-write price
(22 rows can match today; six cannot).

| Provider and models | Standard endpoints | Can match today? | Cache
read | Why cache write is omitted |
|---|---|---|---|---|
| Together: `openai/gpt-oss-120b`, `Qwen/Qwen3.8-Flash` | Provider-wide
| Yes | [No cached-input
billing](https://docs.together.ai/docs/serverless/overview#cached-input-discounts);
the [model
table](https://docs.together.ai/docs/serverless/models#chat-models)
leaves both blank and all input bills at $0.15/M | [No cache-write
surcharge](https://docs.together.ai/docs/inference/chat/prompt-caching#pricing)
|
| Together: `Qwen/Qwen3.7-Max`, `zai-org/GLM-5.2` | Provider-wide | Yes
| Published and recorded | [No cache-write
surcharge](https://docs.together.ai/docs/inference/chat/prompt-caching#pricing)
|
| Together: `deepseek-ai/DeepSeek-V4-Pro-0813`,
`deepseek-ai/DeepSeek-V4.1-Flash`, `zai-org/GLM-5.3`,
`zai-org/GLM-5.3-Flash`, `moonshotai/Kimi-K3` | Global
(`api.together.ai`, `api.together.xyz`) and US (`us-api.together.ai`),
each on the matching host | Yes | Published for both routes and recorded
| [No cache-write
surcharge](https://docs.together.ai/docs/inference/chat/prompt-caching#pricing)
|
| Fireworks: `deepseek-v4p1-flash`, `deepseek-v4p1-flash-1017`,
`glm-5p3`, `glm-5p3-flash`, `kimi-k3`, `kimi-k3p1-pro` (all under
`accounts/fireworks/models/`) | Global (`api.fireworks.ai`) | Yes |
Published and recorded | [Serverless
billing](https://docs.fireworks.ai/serverless/pricing) lists only input,
cached input, and output; no separate write charge |
| Same six Fireworks models | US (`us.api.fireworks.ai` plus the exact
router IDs above) | No: `model_id` is unsupported | Published and
recorded | [Same serverless billing
dimensions](https://docs.fireworks.ai/serverless/pricing); no separate
write charge |
| Groq: `openai/gpt-oss-safeguard-20b` | Provider-wide (`api.groq.com`
by default) | Yes | Published and recorded | [Prompt caching is provided
at no additional cost](https://console.groq.com/docs/prompt-caching) |
| Baseten: `openai/gpt-oss-120b` | Provider-wide (`inference.baseten.co`
by default) | Yes | [Model API](https://inference.baseten.co/v1/models)
lists $0.10/M, the full input price | No separate write or TTL price
published in the [price table](https://www.baseten.co/pricing/) or
[billing
docs](https://docs.baseten.co/inference/model-apis/pricing-and-limits) |

`input_cache_write_cost_per_mil_tokens` is a total token price, not a
surcharge. No-surcharge caching does not mean a $0 total token price, so
those write fields remain unset.

### Conditions and non-standard tiers

- **Together:** Standard is synchronous chat with the exact model ID and
no tier selector. [Shared serverless
caching](https://docs.together.ai/docs/serverless/overview#cached-input-discounts)
is automatic, best-effort prefix reuse with no fixed TTL. A blank cached
column means all input is billed at the input rate, including GPT-OSS
120B. US-only rates apply on the US-only host.
[Batch](https://docs.together.ai/docs/inference/batch/overview) usually
charges Standard rates, but exact text-model eligibility is not
enumerated. Separate Fast SKUs are not verified Fast service tiers for
the pinned candidate IDs; Flex, Priority, and Ultrafast are unresolved.
- **Baseten:** Exact Model API ID at inference.baseten.co. The GPT-OSS
model API returns full input price for cached input, consistent with the
public price table not offering a cache discount. Cached-token usage is
reported in usage.prompt_tokens_details.cached_tokens. [Fast
fallback](https://docs.baseten.co/inference/model-apis/pricing-and-limits#fast-model-fallback-pricing)
bills base rates when base capacity serves a Fast request; that
distinction is not consumable by the matcher. Dedicated queued execution
does not verify a shared Model API Batch rate. No
Flex/Priority/Ultrafast price was verified.
- **Groq:** Standard is on_demand, also the default. Cache usage is
usage.prompt_tokens_details.cached_tokens. Safeguard is explicitly on
the 50% cache list, making the exact read rate $0.0375; the card
displays $0.037. [Batch](https://console.groq.com/docs/batch) verifies
GPT-OSS 120B and 20B (existing rate, no stacked cache discount), not
Safeguard or Qwen. [Flex](https://console.groq.com/docs/flex-processing)
is paid-only and matches on-demand pricing.
[Performance](https://console.groq.com/docs/performance-tier) is
enterprise provisioned capacity rather than a verified public
Priority/Fast/Ultrafast token rate.
- **Fireworks:** Standard omits service_tier. The exact global API model
is the pinned accounts/fireworks/models/ ID. The US-only host requires
the listed accounts/fireworks/routers/ ID as well as the host. **Current
Brainstore cannot consume model_id: the US rows deliberately retain that
requirement and are not selectable by the current matcher.** [Response
usage](https://docs.fireworks.ai/serverless/overview#billing) reports
usage and [cache docs](https://docs.fireworks.ai/guides/prompt-caching)
cover cache hits; no cache-write fee.
[Modes](https://docs.fireworks.ai/serverless/serverless-modes) verify
existing Kimi K3 / GLM 5.3 Fast and 1017 Flex/Ultrafast selectors; the
pricing table verifies Priority where published. [Batch
compatibility](https://docs.fireworks.ai/guides/batch-inference#model-compatibility)
requires on-demand deployment support and may lag new model releases.
Those tiers were not changed.
- **Cerebras:** [Shared
Inference](https://inference-docs.cerebras.ai/models/overview) documents
Free Trial and Pay-as-you-go limits, and the public API returns both
exact paid prices. No separate Batch/Flex/Fast/Priority/Ultrafast price
was verified.

No documented prompt-price threshold or expiry applies to the added
rows. Context windows and minimum cacheable prefixes are not pricing
brackets. Sources are provider rate tables and model APIs, not
observations of live completion billing.

Link to Devin session:
https://braintrust.devinenterprise.com/sessions/44792c7bfaf74b55be7d8a19efabc5e1
Open in Devin Desktop:
https://braintrust.devinenterprise.com/desktop/session/44792c7bfaf74b55be7d8a19efabc5e1?variant=devin

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant