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 Mistral Large 4 OpenRouter price in the LLM catalog (#15845)
Nicholas Tindlea19d5cb2045f
diff --git a/autogpt_platform/backend/backend/data/llm_registry/catalog.py b/autogpt_platform/backend/backend/data/llm_registry/catalog.pyindex 466638b68f..4d1c3dfcaf 100644--- a/autogpt_platform/backend/backend/data/llm_registry/catalog.py+++ b/autogpt_platform/backend/backend/data/llm_registry/catalog.py@@ -1050,12 +1050,13 @@ def _build_catalog() -> CatalogPayload:context_window=524288,max_output_tokens=262144,price_tier=2,- # Live OpenRouter rate as of 2026-10-06: $0.68/$2.09 per 1M- # (cache read $0.07); 150 credits per USD.+ # Live OpenRouter rate as of 2026-10-21: $1.36/$4.18 per 1M+ # on every route (up from $0.68/$2.09); cache read left at+ # $0.07; 150 credits per USD.cost=CatalogModelCost(run_credits=2,- input_credits_per_1m=102.0,- output_credits_per_1m=313.5,+ input_credits_per_1m=204.0,+ output_credits_per_1m=627.0,cache_read_credits_per_1m=10.5,),),diff --git a/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py b/autogpt_platform/backend/backend/data/llm_registry/catalog_test.pyindex 36ec4b8892..788c56a5bc 100644--- a/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py+++ b/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py@@ -746,14 +746,14 @@ def test_routing_cells_use_transport_ready_spellings():def test_mistral_large_4_bills_at_authored_rates():- """Mistral Large 4 (OpenRouter live rate $0.68/$2.09 per 1M, $0.07/1M- cached input as of 2026-10-06) — flat tier and per-1M projections must+ """Mistral Large 4 (OpenRouter live rate $1.36/$4.18 per 1M, $0.07/1M+ cached input as of 2026-10-21) — flat tier and per-1M projections mustmatch the authored catalog entry."""large = LLMModel("mistralai/mistral-large-4-0")assert MODEL_COST[large] == 2assert TOKEN_COST[large].model_dump() == {- "input": 102.0,- "output": 313.5,+ "input": 204.0,+ "output": 627.0,"cache_read": 10.5,"cache_creation": 0.0,}