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.
fix: correct OpenRouter price drift for inclusionai/ling-3.0-flash-vl (#14944)
Nicholas Tindlebf01517bf588
diff --git a/autogpt_platform/backend/backend/data/llm_registry/catalog.py b/autogpt_platform/backend/backend/data/llm_registry/catalog.pyindex 9ee2b4e97c..cf32766b4d 100644--- a/autogpt_platform/backend/backend/data/llm_registry/catalog.py+++ b/autogpt_platform/backend/backend/data/llm_registry/catalog.py@@ -699,11 +699,14 @@ def _build_catalog() -> CatalogPayload:supports_json_output=True,supports_reasoning=True,supports_parallel_tool_calls=True,+ # Live OpenRouter rate as of 2026-09-25: $0.021/$0.0616 per+ # 1M, cache read $0.0042/1M (dropped from $0.06/$0.18,+ # verified via check_openrouter_prices.py).cost=CatalogModelCost(run_credits=1,- input_credits_per_1m=9.0,- output_credits_per_1m=27.0,- cache_read_credits_per_1m=1.8,+ input_credits_per_1m=3.15,+ output_credits_per_1m=9.24,+ cache_read_credits_per_1m=0.63,),),CatalogModel(diff --git a/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py b/autogpt_platform/backend/backend/data/llm_registry/catalog_test.pyindex 41db09d008..b73a0b6d60 100644--- a/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py+++ b/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py@@ -498,15 +498,16 @@ def test_pareto_bills_at_authored_rates():def test_ling_3_0_flash_vl_bills_at_authored_rates():- """InclusionAI Ling 3.0 Flash VL (OpenRouter, list price $0.06/$0.18- per 1M) — flat tier and per-1M projections must match the authored- catalog entry."""+ """InclusionAI Ling 3.0 Flash VL (OpenRouter live rate $0.021/$0.0616+ per 1M, $0.0042/1M cached input as of 2026-09-25 — dropped from+ $0.06/$0.18) — flat tier and per-1M projections must match the+ authored catalog entry."""ling = LLMModel("inclusionai/ling-3.0-flash-vl")assert MODEL_COST[ling] == 1assert TOKEN_COST[ling].model_dump() == {- "input": 9.0,- "output": 27.0,- "cache_read": 1.8,+ "input": 3.15,+ "output": 9.24,+ "cache_read": 0.63,"cache_creation": 0.0,}assert MODEL_METADATA[ling].max_output_tokens == 32768