Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

chore(backend): resync drifted OpenRouter prices for DeepSeek V4.1 Flash and Kimi K2.6 (#15306)

Nicholas Tindle463e038c867f
diff --git a/autogpt_platform/backend/backend/data/llm_registry/catalog.py b/autogpt_platform/backend/backend/data/llm_registry/catalog.py
index bf52985947..466638b68f 100644
--- a/autogpt_platform/backend/backend/data/llm_registry/catalog.py
+++ b/autogpt_platform/backend/backend/data/llm_registry/catalog.py
@@ -644,16 +644,15 @@ def _build_catalog() -> CatalogPayload:
context_window=1048576,
max_output_tokens=384000,
price_tier=1,
- # Live OpenRouter rate as of 2026-10-02: $0.03/$0.75 per
- # 1M (cache read $0.00375), down from $0.30/$1.20 on
- # 2026-09-26. OpenRouter reprices this route continuously
- # (by design); this is the latest snapshot at PR time,
- # re-checked immediately before merge. Flagged by
+ # Live OpenRouter rate as of 2026-10-19: $0.0472/$0.12 per
+ # 1M (cache read $0.00375). OpenRouter reprices this route
+ # continuously (by design); this is the latest snapshot at
+ # PR time, re-checked immediately before merge. Flagged by
# scripts/check_openrouter_prices.py.
cost=CatalogModelCost(
run_credits=1,
- input_credits_per_1m=4.5,
- output_credits_per_1m=112.5,
+ input_credits_per_1m=7.08,
+ output_credits_per_1m=18.0,
cache_read_credits_per_1m=0.5625,
),
),
@@ -1168,13 +1167,12 @@ def _build_catalog() -> CatalogPayload:
context_window=262144,
max_output_tokens=262144,
price_tier=2,
- # Live OpenRouter rate as of 2026-10-02: $0.43415/$1.828 per
- # 1M (cheapest route, Baidu), down from $0.65/$3.41.
+ # Live OpenRouter rate as of 2026-10-19: $0.65/$3.41 per 1M.
# Flagged by scripts/check_openrouter_prices.py.
cost=CatalogModelCost(
run_credits=2,
- input_credits_per_1m=65.1225,
- output_credits_per_1m=274.2,
+ input_credits_per_1m=97.5,
+ output_credits_per_1m=511.5,
),
),
CatalogModel(
diff --git a/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py b/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py
index 045671da98..36ec4b8892 100644
--- a/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py
+++ b/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py
@@ -527,15 +527,15 @@ def test_qwen3_8_flash_bills_at_authored_rates():
def test_deepseek_v4_1_flash_bills_at_authored_rates():
- """DeepSeek V4.1 Flash (OpenRouter live rate $0.03/$0.75 per 1M,
- $0.00375/1M cached input as of 2026-10-02 — this route reprices
+ """DeepSeek V4.1 Flash (OpenRouter live rate $0.0472/$0.12 per 1M,
+ $0.00375/1M cached input as of 2026-10-19 — this route reprices
continuously by design) — flat tier and per-1M projections must
match the authored catalog entry."""
flash = LLMModel("deepseek/deepseek-v4.1-flash")
assert MODEL_COST[flash] == 1
assert TOKEN_COST[flash].model_dump() == {
- "input": 4.5,
- "output": 112.5,
+ "input": 7.08,
+ "output": 18.0,
"cache_read": 0.5625,
"cache_creation": 0.0,
}