Skip to content

Commit aeed957

Browse files
🌱 tokens: refresh model price table 2026-11-09 (#17354)
* 🌱 tokens: refresh model price table 2026-11-09 Automated refresh of src/pkg/tokens/pricing.go from OpenRouter's public model catalogue by src/internal/tools/pricetable; see the PR body for every rate that moved and every row that could not be verified. Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: clubanderson <407614+clubanderson@users.noreply.github.com> * 🌱 tokens: keep kimi-k3 row at prior list price; fix stale deepseek-chat comment The OpenRouter moonshotai/kimi-k3 quote (0.192 in / 16.00 out / 0.182 cache read) is a catalogue anomaly (83x output/input ratio, batch tier priced above standard); the reconciler's plausibility guard from #17365 now holds such rows for review instead of applying them. Keep the row at 3.00 / 15.00 / 0.30 / 3.00 as the guard would, land the other three rows, and update the hand-written deepseek-chat comment to match the new literal. Signed-off-by: Andrew Anderson <andy@clubanderson.com> --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: clubanderson <407614+clubanderson@users.noreply.github.com> Signed-off-by: Andrew Anderson <andy@clubanderson.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 947a893 commit aeed957

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Refreshed the model list-price table from OpenRouter (3 rows moved; list prices as of 2026-11-09); the Cost panel estimate now uses the new rates. The `kimi-k3` row keeps its prior value: the OpenRouter quote (0.192 in / 16.00 out) is a catalogue anomaly the reconciler's plausibility guard now holds for review.

‎src/pkg/tokens/pricing.go‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import (
4040
// - DeepSeek: https://api-docs.deepseek.com/quick_start/pricing
4141
// - Kimi: https://platform.kimi.ai/docs/pricing/chat
4242
// - Meta Llama / Gemini: representative OpenRouter/provider list prices
43-
const priceTableDate = "2026-11-02"
43+
const priceTableDate = "2026-11-09"
4444

4545
// PriceTableDate returns the date the price table was last reconciled with
4646
// published list prices, so the UI can show "list prices as of <date>".
@@ -148,16 +148,16 @@ var modelPrices = map[string]ModelPrice{
148148
"gpt-daybreak-red-latest": {InputPerMTok: 10.00, OutputPerMTok: 50.00, CacheReadPerMTok: 1.00, CacheWritePerMTok: 12.50},
149149

150150
// ---- DeepSeek (common LiteLLM/OpenRouter routing target) ----
151-
// deepseek-chat / V3: $0.27 in / $1.10 out; cache hit $0.07.
152-
"deepseek-chat": {InputPerMTok: 0.2574, OutputPerMTok: 1.0287, CacheReadPerMTok: 0.07, CacheWritePerMTok: 0.2574},
151+
// deepseek-chat: $0.32 in / $0.89 out (OpenRouter 2026-11-09); V3: $0.27 in / $1.10 out; cache hit $0.07.
152+
"deepseek-chat": {InputPerMTok: 0.32, OutputPerMTok: 0.89, CacheReadPerMTok: 0.07, CacheWritePerMTok: 0.32},
153153
"deepseek-v3": {InputPerMTok: 0.27, OutputPerMTok: 1.10, CacheReadPerMTok: 0.07, CacheWritePerMTok: 0.27},
154154
// deepseek-reasoner / R1: $0.55 in / $2.19 out; cache hit $0.14.
155155
"deepseek-reasoner": {InputPerMTok: 0.55, OutputPerMTok: 2.19, CacheReadPerMTok: 0.14, CacheWritePerMTok: 0.55},
156156
"deepseek-r1": {InputPerMTok: 0.55, OutputPerMTok: 2.19, CacheReadPerMTok: 0.14, CacheWritePerMTok: 0.55},
157157

158158
// ---- Meta Llama 3.3 70B (representative hosted list price) ----
159159
"llama-3-3-70b": {InputPerMTok: 0.59, OutputPerMTok: 0.79, CacheReadPerMTok: 0.59, CacheWritePerMTok: 0.59},
160-
"llama-3-3-70b-instruct": {InputPerMTok: 0.10, OutputPerMTok: 0.32, CacheReadPerMTok: 0.10, CacheWritePerMTok: 0.10},
160+
"llama-3-3-70b-instruct": {InputPerMTok: 0.59, OutputPerMTok: 0.79, CacheReadPerMTok: 0.295, CacheWritePerMTok: 0.59},
161161
"meta-llama-3-3-70b-instruct": {InputPerMTok: 0.59, OutputPerMTok: 0.79, CacheReadPerMTok: 0.59, CacheWritePerMTok: 0.59},
162162

163163
// ---- Google Gemini Flash / Pro (representative list prices) ----
@@ -191,7 +191,7 @@ var modelPrices = map[string]ModelPrice{
191191
// a deterministic price entry instead of relying on the coarse fallback.
192192
"grok-4-5": {InputPerMTok: 2.00, OutputPerMTok: 6.00, CacheReadPerMTok: 0.30, CacheWritePerMTok: 2.00},
193193
"kimi-k3": {InputPerMTok: 3.00, OutputPerMTok: 15.00, CacheReadPerMTok: 0.30, CacheWritePerMTok: 3.00},
194-
"kimi-k2-7-code": {InputPerMTok: 0.95, OutputPerMTok: 4.00, CacheReadPerMTok: 0.19, CacheWritePerMTok: 0.95},
194+
"kimi-k2-7-code": {InputPerMTok: 0.60, OutputPerMTok: 3.50, CacheReadPerMTok: 0.16, CacheWritePerMTok: 0.60},
195195
"mai-code-1-flash-picker": {InputPerMTok: 0.25, OutputPerMTok: 2.00, CacheReadPerMTok: 0.025, CacheWritePerMTok: 0.25},
196196
"claude-opus-4-6-thinking": {InputPerMTok: 5.00, OutputPerMTok: 25.00, CacheReadPerMTok: 0.50, CacheWritePerMTok: 6.25},
197197
"gpt-oss-120b-medium": {InputPerMTok: 0.15, OutputPerMTok: 0.60, CacheReadPerMTok: 0.075, CacheWritePerMTok: 0.15},

0 commit comments

Comments
 (0)