The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(auto-router): route 1M complex tier to GPT Sol (#39797)
tin-berri8beca1d58d4f
diff --git a/litellm/proxy/public_endpoints/autorouter_presets.json b/litellm/proxy/public_endpoints/autorouter_presets.jsonindex 6a6642d4211..7d09db31127 100644--- a/litellm/proxy/public_endpoints/autorouter_presets.json+++ b/litellm/proxy/public_endpoints/autorouter_presets.json@@ -1,12 +1,12 @@{"1m_context": {"label": "1M Context",- "description": "Routes across models with 1M-token context windows: Luna for simple queries, Terra for medium, Opus 5 for complex, Opus 5 at high thinking for reasoning.",+ "description": "Routes across models with 1M-token context windows: Luna for simple queries, Terra for medium, Sol for complex, Opus 5 at high thinking for reasoning.","complexity_router_config": {"tiers": {"SIMPLE": ["gpt-5.6-luna"],"MEDIUM": ["gpt-5.6-terra"],- "COMPLEX": ["claude-opus-5"],+ "COMPLEX": ["gpt-5.6-sol"],"REASONING": ["claude-opus-5"]},"tier_model_configs": {diff --git a/tests/test_litellm/proxy/public_endpoints/test_public_endpoints.py b/tests/test_litellm/proxy/public_endpoints/test_public_endpoints.pyindex 41439f28638..4a19ad3541c 100644--- a/tests/test_litellm/proxy/public_endpoints/test_public_endpoints.py+++ b/tests/test_litellm/proxy/public_endpoints/test_public_endpoints.py@@ -1108,7 +1108,7 @@ def test_get_autorouter_presets_local_mode_serves_bundled_catalog(assert payload["1m_context"]["complexity_router_config"]["tiers"] == {"SIMPLE": ["gpt-5.6-luna"],"MEDIUM": ["gpt-5.6-terra"],- "COMPLEX": ["claude-opus-5"],+ "COMPLEX": ["gpt-5.6-sol"],"REASONING": ["claude-opus-5"],}assert payload["1m_context"]["complexity_router_config"]["tier_model_configs"] == {diff --git a/ui/litellm-dashboard/src/lib/autorouter_presets.test.ts b/ui/litellm-dashboard/src/lib/autorouter_presets.test.tsindex ffede7b2a6b..344964c4434 100644--- a/ui/litellm-dashboard/src/lib/autorouter_presets.test.ts+++ b/ui/litellm-dashboard/src/lib/autorouter_presets.test.ts@@ -217,12 +217,12 @@ describe("autorouter_presets", () => {});});- it("pins the 1M context preset to Luna, Terra, and Opus at high thinking", () => {+ it("pins the 1M context preset to Luna, Terra, Sol, and Opus at high thinking", () => {const preset = getPresetByKey("1m_context")!;const expectedTiers = {SIMPLE: ["gpt-5.6-luna"],MEDIUM: ["gpt-5.6-terra"],- COMPLEX: ["claude-opus-5"],+ COMPLEX: ["gpt-5.6-sol"],REASONING: ["claude-opus-5"],};expect(preset.complexity_router_config.classifier_type).toBe("heuristic_v2");