Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions model_cost/model_cost.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,28 +116,28 @@
"output_token_price_per_million": 0.42
},
"deepseek/deepseek-v3.2": {
"input_token_price_per_million": 0.295,
"output_token_price_per_million": 0.88
"input_token_price_per_million": 0.28,
"output_token_price_per_million": 0.42
},
"deepseek-v3.2": {
"input_token_price_per_million": 0.295,
"output_token_price_per_million": 0.88
"input_token_price_per_million": 0.28,
"output_token_price_per_million": 0.42
},
"deepseek/deepseek-v4-flash": {
"input_token_price_per_million": 0.14,
"output_token_price_per_million": 0.28
},
"deepseek/deepseek-v4-flash-0731": {
"input_token_price_per_million": 0.176,
"input_token_price_per_million": 0.15,
"output_token_price_per_million": 0.528
},
"deepseek-ai/DeepSeek-V4-Flash-0731": {
"input_token_price_per_million": 0.176,
"input_token_price_per_million": 0.15,
"output_token_price_per_million": 0.528
},
"deepseek/deepseek-v4-pro": {
"input_token_price_per_million": 1.6,
"output_token_price_per_million": 3.2
"input_token_price_per_million": 1.32,
"output_token_price_per_million": 3.96
},
"deepseek/deepseek-v4.1-flash": {
"input_token_price_per_million": 0.3,
Expand Down Expand Up @@ -240,7 +240,7 @@
"output_token_price_per_million": 0.04
},
"google/gemma-4-31b-it": {
"input_token_price_per_million": 0.15,
"input_token_price_per_million": 0.175,
"output_token_price_per_million": 0.4
},
"gpt-5-chat": {
Expand Down Expand Up @@ -268,12 +268,12 @@
"output_token_price_per_million": 1
},
"meta-llama/llama-3.3-70b-instruct": {
"input_token_price_per_million": 0.4415,
"output_token_price_per_million": 0.715
"input_token_price_per_million": 0.59,
"output_token_price_per_million": 0.72
},
"meta-llama_llama-3.3-70b-instruct": {
"input_token_price_per_million": 0.4415,
"output_token_price_per_million": 0.715
"input_token_price_per_million": 0.59,
"output_token_price_per_million": 0.72
},
"meta-llama_llama-3.1-405b-instruct": {
"input_token_price_per_million": 3.5,
Expand Down Expand Up @@ -516,15 +516,15 @@
"output_token_price_per_million": 10
},
"openai/gpt-oss-120b": {
"input_token_price_per_million": 0.15,
"input_token_price_per_million": 0.145,
"output_token_price_per_million": 0.6
},
"gpt-oss-120b": {
"input_token_price_per_million": 0.15,
"input_token_price_per_million": 0.145,
"output_token_price_per_million": 0.6
},
"openai_gpt-oss-120b": {
"input_token_price_per_million": 0.15,
"input_token_price_per_million": 0.145,
"output_token_price_per_million": 0.6
},
"openai/gpt-oss-20b": {
Expand All @@ -537,19 +537,19 @@
},
"qwen/qwen3-235b-a22b-2507": {
"input_token_price_per_million": 0.145,
"output_token_price_per_million": 0.775
"output_token_price_per_million": 0.675
},
"alibaba/qwen3-235b-a22b-instruct-2507": {
"input_token_price_per_million": 0.145,
"output_token_price_per_million": 0.775
"output_token_price_per_million": 0.675
},
"qwen3-235b-a22b-instruct-2507": {
"input_token_price_per_million": 0.145,
"output_token_price_per_million": 0.775
"output_token_price_per_million": 0.675
},
"qwen_qwen3-235b-a22b-2507": {
"input_token_price_per_million": 0.145,
"output_token_price_per_million": 0.775
"output_token_price_per_million": 0.675
},
"qwen/qwen3-30b-a3b-instruct-2507": {
"input_token_price_per_million": 0.09,
Expand Down Expand Up @@ -596,8 +596,8 @@
"output_token_price_per_million": 1.9
},
"qwen/qwen3-4b-instruct-2507": {
"input_token_price_per_million": 0.17,
"output_token_price_per_million": 0.25
"input_token_price_per_million": 0.084,
"output_token_price_per_million": 0.267
},
"qwen/qwen3.5-9b": {
"input_token_price_per_million": 0.1,
Expand Down
53 changes: 30 additions & 23 deletions model_cost/model_profiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,28 +113,34 @@ models:
note: "DeepSeek's API name; the model behind it changed over time, so it is not synced."
sync: false
"deepseek/deepseek-v3.2":
price: {input: 0.295, output: 0.88}
price: {input: 0.28, output: 0.42}
aliases: ["deepseek-v3.2"]
as_of: "2026-10-31"
source: "https://openrouter.ai/deepseek/deepseek-v3.2"
as_of: "2026-11-10"
source: "https://api-docs.deepseek.com/quick_start/pricing"
note: "DeepSeek's last price for V3.2 (input, cache miss / output). DeepSeek no longer sells V3.2 itself (its API names now serve V4.1), so the price is kept fixed."
sync: false
"deepseek/deepseek-v4-flash":
price: {input: 0.14, output: 0.28}
as_of: "2026-10-31"
source: "https://openrouter.ai/deepseek/deepseek-v4-flash"
"deepseek/deepseek-v4-flash-0731":
price: {input: 0.176, output: 0.528}
price: {input: 0.15, output: 0.528}
aliases: ["deepseek-ai/DeepSeek-V4-Flash-0731"]
as_of: "2026-10-31"
as_of: "2026-11-10"
source: "https://openrouter.ai/deepseek/deepseek-v4-flash-0731"
"deepseek/deepseek-v4-pro":
price: {input: 1.6, output: 3.2}
as_of: "2026-10-31"
source: "https://openrouter.ai/deepseek/deepseek-v4-pro"
price: {input: 1.32, output: 3.96}
as_of: "2026-11-10"
source: "https://api-docs.deepseek.com/quick_start/pricing"
note: "DeepSeek's own price (standard, peak-hour rate; off-peak hours are half price). DeepSeek sells the model directly but not on OpenRouter, so the price is set by hand."
sync: false
"deepseek/deepseek-v4.1-flash":
price: {input: 0.3, output: 1.2}
aliases: ["deepseek/deepseek-v4.1-flash@high", "deepseek/deepseek-v4.1-flash@low"]
as_of: "2026-10-31"
source: "https://openrouter.ai/deepseek/deepseek-v4.1-flash"
as_of: "2026-11-10"
source: "https://api-docs.deepseek.com/quick_start/pricing"
note: "DeepSeek's own price for deepseek-flash (DeepSeek-V4.1-Flash; standard, peak-hour rate). DeepSeek sells the model directly but not on OpenRouter, so the price is set by hand."
sync: false
"gemini-2.0-flash-001":
price: {input: 0.1, output: 0.4}
as_of: "2026-09-27"
Expand Down Expand Up @@ -205,8 +211,8 @@ models:
as_of: "2026-09-27"
source: null
"google/gemma-4-31b-it":
price: {input: 0.15, output: 0.4}
as_of: "2026-10-31"
price: {input: 0.175, output: 0.4}
as_of: "2026-11-10"
source: "https://openrouter.ai/google/gemma-4-31b-it"
"gpt-5-chat":
price: {input: 1.25, output: 10}
Expand All @@ -231,9 +237,9 @@ models:
as_of: "2026-09-27"
source: null
"meta-llama/llama-3.3-70b-instruct":
price: {input: 0.4415, output: 0.715}
price: {input: 0.59, output: 0.72}
aliases: ["meta-llama_llama-3.3-70b-instruct"]
as_of: "2026-10-31"
as_of: "2026-11-10"
source: "https://openrouter.ai/meta-llama/llama-3.3-70b-instruct"
"meta-llama_llama-3.1-405b-instruct":
price: {input: 3.5, output: 3.5}
Expand Down Expand Up @@ -395,19 +401,19 @@ models:
as_of: null
source: null
"openai/gpt-oss-120b":
price: {input: 0.15, output: 0.6}
price: {input: 0.145, output: 0.6}
aliases: ["gpt-oss-120b", "openai_gpt-oss-120b"]
as_of: "2026-09-27"
source: null
as_of: "2026-11-10"
source: "https://openrouter.ai/openai/gpt-oss-120b"
"openai/gpt-oss-20b":
price: {input: 0.04, output: 0.15}
aliases: ["gpt-oss-20b"]
as_of: "2026-10-31"
source: "https://openrouter.ai/openai/gpt-oss-20b"
"qwen/qwen3-235b-a22b-2507":
price: {input: 0.145, output: 0.775}
price: {input: 0.145, output: 0.675}
aliases: ["alibaba/qwen3-235b-a22b-instruct-2507", "qwen3-235b-a22b-instruct-2507", "qwen_qwen3-235b-a22b-2507"]
as_of: "2026-10-31"
as_of: "2026-11-10"
source: "https://openrouter.ai/qwen/qwen3-235b-a22b-2507"
note: "Unified spellings; previous prices: qwen3-235b-a22b-instruct-2507 0.5/2. alibaba/qwen3-235b-a22b-instruct-2507: same model, Alibaba's spelling."
"qwen/qwen3-30b-a3b-instruct-2507":
Expand Down Expand Up @@ -440,10 +446,11 @@ models:
as_of: "2026-10-31"
source: "https://openrouter.ai/qwen/qwen3-vl-235b-a22b-instruct"
"qwen/qwen3-4b-instruct-2507":
price: {input: 0.17, output: 0.25}
as_of: "2026-11-03"
source: "https://openrouter.ai/qwen/qwen3.5-9b"
note: "f-router's routing classifier, run locally (4-bit MLX). No published API price; priced conservatively at the nearest larger listed Qwen (qwen/qwen3.5-9b)."
price: {input: 0.084, output: 0.267}
local: {active_params_b: 4, bits: 4}
as_of: "2026-11-10"
source: "local-model rule (model_cost/local_pricing.yaml)"
note: "f-router's routing classifier, run locally (4-bit MLX). Not listed on OpenRouter, so priced from the size curve (#266)."
sync: false
"qwen/qwen3.5-9b":
price: {input: 0.1, output: 0.15}
Expand Down
Loading
Loading