Skip to content

Pricing: include discounts; price DeepSeek from its OpenRouter providers (sync 2026-11-16) - #283

Merged
yl231 merged 2 commits into
mainfrom
pricing/allow-discounts
Nov 16, 2026
Merged

yl231 merged 2 commits into
mainfrom
pricing/allow-discounts

Conversation

@yl231

@yl231 yl231 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Prices now include discounts, and DeepSeek's models are priced from the OpenRouter providers that serve them.

Rule

For each model, the sync reads its OpenRouter endpoints and takes:

  1. Standard tier only. Flex, Priority and batch tiers are excluded, and only active endpoints count.
  2. Prices as charged. A provider's current discount or introductory price counts. This changes from Pricing: sync at each model's standard price (lab's own price, promotions undone) #263, which undid them.
  3. The lab's own lowest price, when the lab sells the model on OpenRouter: Google for Gemini, Z.AI for GLM, OpenAI, Anthropic, Moonshot and so on.
  4. Otherwise the median over hosts, without 4-bit quantizations. DeepSeek's models fall here: DeepSeek's own API isn't on OpenRouter, and the hand-set DeepSeek prices from Price refresh 2026-11-10: DeepSeek's own prices, f-router's local classifier, OpenRouter sync #277 are removed.

The report and the snapshot record the discount in effect.

This sync (OpenRouter data of 2026-11-16)

Model OpenRouter id Old New Basis
deepseek/deepseek-chat deepseek/deepseek-chat 0.286 / 1.143 0.2574 / 1.0287 median of 1 host(s), hosts' discounts included (up to 10%)
deepseek/deepseek-v3.2 deepseek/deepseek-v3.2 0.28 / 0.42 0.2595 / 0.4 median of 4 host(s), hosts' discounts included (up to 28%)
deepseek/deepseek-v4-flash deepseek/deepseek-v4-flash 0.14 / 0.28 0.0966 / 0.1925 median of 9 host(s), hosts' discounts included (up to 64%)
deepseek/deepseek-v4-flash-0731 deepseek/deepseek-v4-flash-0731 0.15 / 0.528 0.14 / 0.42 median of 19 host(s), hosts' discounts included (up to 80%)
deepseek/deepseek-v4-pro deepseek/deepseek-v4-pro 1.32 / 3.96 1.3 / 2.6 median of 11 host(s), hosts' discounts included (up to 51%)
deepseek/deepseek-v4.1-flash deepseek/deepseek-v4.1-flash 0.3 / 1.2 0.21 / 0.84 median of 29 host(s), hosts' discounts included (up to 83%)
google/gemini-3.7-flash ⚠️ google/gemini-3.7-flash 1.5 / 7.5 0.75 / 3.75 Google AI Studio (the lab's own price), includes a 50% discount
google/gemini-3.8-flash ⚠️ google/gemini-3.8-flash 1.5 / 7.5 0.75 / 3.75 Google AI Studio (the lab's own price), includes a 50% discount
google/gemma-4-31b-it google/gemma-4-31b-it 0.175 / 0.4 0.145 / 0.4 median of 8 host(s)
inclusionai/ling-3.0-flash ⚠️ inclusionai/ling-3.0-flash 0.06 / 0.18 0.021 / 0.063 median of 1 host(s), hosts' discounts included (up to 65%)
moonshotai/kimi-k2.5 moonshotai/kimi-k2.5 0.6 / 3 0.57 / 3 median of 3 host(s), hosts' discounts included (up to 5%)
openai/gpt-oss-120b openai/gpt-oss-120b 0.145 / 0.6 0.115 / 0.51 median of 10 host(s)
qwen/qwen3-235b-a22b-2507 qwen/qwen3-235b-a22b-2507 0.145 / 0.675 0.15 / 0.75 median of 3 host(s)
qwen/qwen3-coder qwen/qwen3-coder 0.35 / 1.5 0.3 / 1 median of 1 host(s)
qwen/qwen3-coder-30b-a3b-instruct qwen/qwen3-coder-30b-a3b-instruct 0.11 / 0.44 0.15 / 0.6 median of 1 host(s)
upstage/solar-pro4 ⚠️ upstage/solar-pro4 0.3 / 1.2 0.15 / 0.6 Upstage (the lab's own price), includes a 50% discount
z-ai/glm-4.5-air z-ai/glm-4.5-air 0.2 / 1.1 0.135 / 0.855 median of 2 host(s)

⚠️ marks a price that at least doubled or halved.

The leaderboard isn't re-priced here. #278 will be rebuilt on this table.

Testing

  • All 53 pricing tests pass. They now check a lab's discounted price and a median that includes a discounted host.
  • pre-commit passes.

🤖 Generated with Claude Code

yl231 and others added 2 commits November 16, 2026 12:33
Discounts and introductory prices now count: each endpoint's listed price
is used as charged instead of being divided by (1 - discount). The rest of
the rule is unchanged: standard tier only (no Flex, Priority or batch),
the lab's own lowest price when it sells the model on OpenRouter,
otherwise the median over hosts without 4-bit quantizations. Models whose
lab isn't on OpenRouter, like DeepSeek's, are priced from the providers
that serve them. The report and snapshot record the discount in effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…penRouter providers

The hand-set DeepSeek prices (#277) are removed, so V4 Pro, V4.1 Flash
and V3.2 are synced from the providers that serve them on OpenRouter like
any other model. 17 prices change, e.g. Gemini 3.7/3.8 Flash 1.50/7.50 ->
0.75/3.75 (Google's introductory price), DeepSeek V4 Flash 0.14/0.28 ->
0.0966/0.1925, V4 Pro 1.32/3.96 -> 1.30/2.60. Snapshot written for
2026-11-16. The leaderboard is not re-priced here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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