Repository navigation
fix(catalog): add openrouter standard pricing overrides - #1878
Abhijeet Prasad (AbhiPrasad) merged 3 commits into
Conversation
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour 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. |
There was a problem hiding this comment.
💡 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".
| "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 |
There was a problem hiding this comment.
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 👍 / 👎.
9c3055a to
ce69d7d
Compare
> 🤖 **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>
ce69d7d to
20fd870
Compare
> 🤖 **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>
## 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>
Summary
Add
pricing.openrouter.standardfor 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 haveservice_tier: null; the request selector isservice_tier: "default". The served response'sservice_tier(top-level for Chat Completions/Responses, inusagefor 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/endpointsselector, 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_tokenscomparison, 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/fp4standard endpoints below and updated only cache read:gpt-oss-120b0.282 → 0.315 andopenai/gpt-oss-20b0.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.
gpt-5.4,gpt-5.5gpt-5.4-pro,gpt-5.5-progrok-4.20-multi-agent,grok-4.20,grok-4.5,grok-4.3,grok-4.6xai,xai/zdr: automatic; no surchargegrok-4.7xai,xai/zdr: no surcharge;amazon-bedrock/globalalready has an explicit API zerogpt-oss-120bgoogle-vertex/global,sambanova,amazon-bedrock,amazon-bedrock/eu-west-1,togethergroq; unpublished elsewhereopenai/gpt-oss-20bsiliconflow/fp8,amazon-bedrock,amazon-bedrock/eu-west-1groq; unpublished elsewhereopenai/gpt-oss-safeguard-20bamazon-bedrock/us-east-2groq; unpublished onamazon-bedrock/us-east-2mistral-large-4-0,ministral-14b-2512,ministral-8b-2512,ministral-3b-2512mistral/zdr,mistral/eu: no separate write price in the endpoint API; Mistral documents ordinary input billing on missesmistral-small-2603mistral/zdr,mistral/eu,mistral/usmistral-medium-3mistral/eu: exact route no longer listed; no current write price verifiedqwen/qwen3.8-27bnovitaroute no longer listedTTL coverage: The direct
openairoutes 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 OpenRouterazure,amazon-bedrock/global, orgoogle-vertex/globalroutes 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.
gpt-6.2-astraopenrouter2. 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)
amazon-bedrock/global,azure,google-vertex/global; ≤272000 prompt tokens2.
amazon-bedrock/global,azure,google-vertex/global; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-6.2-solopenrouter2. 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)
amazon-bedrock/global,azure,google-vertex/global; ≤272000 prompt tokens2.
amazon-bedrock/global,azure,google-vertex/global; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-6.1-solopenrouter2. 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)
amazon-bedrock/global,azure; ≤272000 prompt tokens2.
amazon-bedrock/global,azure; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-6.1-terraopenrouter2. 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)
azure,google-vertex/global; ≤272000 prompt tokens2.
azure,google-vertex/global; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-6-astraopenrouter2. 20 / 75 / 2 / 25
3. 10 / 50 / 1 / 12.5 (30m: 12.5; 12h: 25)
4. 20 / 75 / 2 / 25 (30m: 25; 12h: 50)
amazon-bedrock/global,azure; ≤272000 prompt tokens2.
amazon-bedrock/global,azure; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-6-lunaopenrouter2. 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)
amazon-bedrock/global,azure; ≤272000 prompt tokens2.
amazon-bedrock/global,azure; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-6-solopenrouter2. 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)
amazon-bedrock/global,azure; ≤272000 prompt tokens2.
amazon-bedrock/global,azure; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-5.6-lunaopenrouter2. 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)
amazon-bedrock/global,azure; ≤272000 prompt tokens2.
amazon-bedrock/global,azure; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-5.6-solopenrouter2. 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)
amazon-bedrock/global,azure; ≤272000 prompt tokens2.
amazon-bedrock/global,azure; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-5.6-terraopenrouter2. 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)
azure; ≤272000 prompt tokens2.
azure; ≥272001 prompt tokens3.
openai; ≤272000 prompt tokens4.
openai; ≥272001 prompt tokensgpt-5.5openrouter2. 10 / 45 / 1
2. all listed standard routes; ≥272001 prompt tokens
gpt-5.5-proopenrouter2. 60 / 270
2. all listed standard routes; ≥272001 prompt tokens
gpt-5.4openrouter2. 5 / 22.5 / 0.5
2. all listed standard routes; ≥272001 prompt tokens
gpt-5.4-proopenrouter2. 60 / 270
2. all listed standard routes; ≥272001 prompt tokens
gpt-oss-120bopenrouter2. 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
near-ai/fp42.
venice/int43.
coreweave/fp44.
akashml/fp45.
deepinfra/bf166.
crusoe/bf167.
digitalocean8.
mancer/fp89.
google-vertex/global10.
baseten/fp4,baseten/fp4/us11.
parasail/fp412.
sambanova13.
fireworks14.
amazon-bedrock,amazon-bedrock/eu-west-1,together15.
nebius/fp416.
groq,siliconflow/fp817.
primeintellect/fp418.
cerebras/fp16openai/gpt-oss-20bopenrouter2. 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
darkbloom/fp42.
akashml/fp43.
coreweave/fp44.
deepinfra/bf165.
parasail/fp46.
siliconflow/fp87.
amazon-bedrock,amazon-bedrock/eu-west-18.
groq9.
primeintellect/fp4openai/gpt-oss-safeguard-20bopenrouter2. 0.075 / 0.3 / 0.0375
amazon-bedrock/us-east-22.
groqmistral-large-4-0openrouter2. 0.77 / 2.31 / 0.077
mistral/zdr2.
mistral/eumistral-medium-3openroutermistral/eumistral-small-2603openrouter2. 0.165 / 0.66 / 0.0165
mistral/zdr2.
mistral/eu,mistral/usministral-14b-2512openrouter2. 0.22 / 0.22 / 0.022
mistral/zdr2.
mistral/euministral-8b-2512openrouter2. 0.165 / 0.165 / 0.0165
mistral/zdr2.
mistral/euministral-3b-2512openrouter2. 0.11 / 0.11 / 0.011
mistral/zdr2.
mistral/eugemini-3.8-flashopenroutergemini-4-argonopenroutergemini-4-carbonopenroutergemini-4-hydrogenopenroutergemini-4-neonopenroutergemini-3.6-flashopenroutergemini-3.5-flash-liteopenroutergemini-3.1-flash-liteopenroutergemini-3.1-pro-previewopenrouter2. 4 / 18 / 0.4 / 4.375
2. all listed standard routes; ≥200001 prompt tokens
gemini-3.1-pro-preview-customtoolsopenrouter2. 4 / 18 / 0.4 / 4.375
2. all listed standard routes; ≥200001 prompt tokens
gemini-3-flash-previewopenroutergemini-3-pro-imageopenroutergemini-2.5-flash-imageopenroutergemini-2.5-flash-liteopenroutergrok-4.20-multi-agentopenrouter2. 2.5 / 5 / 0.4
2. all listed standard routes; ≥200001 prompt tokens
grok-4.20openrouter2. 2.5 / 5 / 0.4
2. all listed standard routes; ≥200001 prompt tokens
grok-4.5openrouter2. 4 / 12 / 0.6
2. all listed standard routes; ≥200001 prompt tokens
grok-4.3openrouter2. 2.5 / 5 / 0.4
2. all listed standard routes; ≥200001 prompt tokens
grok-4.6openrouter2. 4 / 12 / 1
2. all listed standard routes; ≥200001 prompt tokens
grok-4.7openrouter2. 4 / 12 / 1 / 0
3. 2 / 6 / 0.5
4. 4 / 12 / 1
amazon-bedrock/global; ≤200000 prompt tokens2.
amazon-bedrock/global; ≥200001 prompt tokens3.
xai,xai/zdr; ≤200000 prompt tokens4.
xai,xai/zdr; ≥200001 prompt tokensqwen/qwen3.8-27bopenrouter2. 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
darkbloom/fp42.
chutes/fp83.
near-ai/fp84.
ionstream/fp85.
modal6.
pearl-research/fp87.
mancer/fp88.
tenstorrent/fp89.
deepinfra/fp810.
streamlake11.
modelrun/fp412.
akashml/fp813.
parasail/fp814.
coreweave/fp815.
novita16.
siliconflow/fp817.
alibaba18.
nebius/fp419.
cloudflare,primeintellect/fp8,reka/fp820.
cerebras/fp16Skipped candidates
gpt-5.4-minigpt-5.4-nanogpt-5.3-codexgpt-5.2gpt-5.2-codexgpt-5.2-progpt-5.1gpt-5.1-codexgpt-5.1-codex-maxgpt-5.1-codex-minigpt-5gpt-5-minigpt-5-nanogpt-5-progpt-4.1gpt-4.1-minigpt-4.1-nanogpt-4gpt-4-turbogpt-4ogpt-4o-minigpt-4o-2024-11-20gpt-4o-2024-08-06gpt-4o-mini-2024-07-18gpt-4o-2024-05-13gpt-3.5-turbo-16kgpt-3.5-turbogpt-3.5-turbo-instructo4-minio3o3-minio3-proo1o1-progpt-audiogpt-audio-miniclaude-fable-5claude-opus-5claude-sonnet-5command-r-plus-08-2024command-r-08-2024command-r7b-12-2024nvidia/nemotron-3-ultra-550b-a55bsonar-prosonar-reasoning-prosonar-deep-researchsonarthinkingmachines/inkling-smallthinkingmachines/inklingmistral-large-2512codestral-2508devstral-2512gemini-3.7-flashgemini-3.5-flashgemini-3.1-flash-imagegemini-nano-banana-2.1gemini-3.1-flash-image-previewgemini-3.1-flash-lite-imagegemini-3.1-flash-lite-previewgemini-3-pro-image-previewgemini-2.5-flashgemini-2.5-progrok-build-0.1grok-latestThe 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