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
feat(ui): update OpenAI preset model tiers (#39396)
tin-berri2ade3e16a907
diff --git a/ui/litellm-dashboard/src/autorouter_presets.json b/ui/litellm-dashboard/src/autorouter_presets.jsonindex b977bd484ac..1e0d40567d7 100644--- a/ui/litellm-dashboard/src/autorouter_presets.json+++ b/ui/litellm-dashboard/src/autorouter_presets.json@@ -68,13 +68,16 @@},"openai_family": {"label": "OpenAI Family",- "description": "Routes across the GPT model family: gpt-5.4-nano for simple queries, gpt-5.4-mini for medium, gpt-5.4 for complex, o3 for reasoning-heavy requests.",+ "description": "Routes across the GPT model family: Luna for simple queries, Terra for medium, Sol for complex, Sol at xhigh thinking for reasoning.","complexity_router_config": {"tiers": {- "SIMPLE": ["gpt-5.4-nano"],- "MEDIUM": ["gpt-5.4-mini"],- "COMPLEX": ["gpt-5.4"],- "REASONING": ["o3"]+ "SIMPLE": ["gpt-5.6-luna"],+ "MEDIUM": ["gpt-5.6-terra"],+ "COMPLEX": ["gpt-5.6-sol"],+ "REASONING": ["gpt-5.6-sol"]+ },+ "tier_model_configs": {+ "REASONING": [{ "model_name": "gpt-5.6-sol", "litellm_params": { "reasoning_effort": "xhigh" } }]},"classifier_type": "heuristic","escalation_keywords": ["LITELLM ESCALATE"],diff --git a/ui/litellm-dashboard/src/lib/autorouter_presets.test.ts b/ui/litellm-dashboard/src/lib/autorouter_presets.test.tsindex 2a8306473b8..b5802ffa2dc 100644--- a/ui/litellm-dashboard/src/lib/autorouter_presets.test.ts+++ b/ui/litellm-dashboard/src/lib/autorouter_presets.test.ts@@ -158,6 +158,24 @@ describe("autorouter_presets", () => {});});+ it("pins the OpenAI preset to the Luna, Terra, and Sol progression", () => {+ const preset = getPresetByKey("openai_family")!;+ const expectedTiers = {+ SIMPLE: ["gpt-5.6-luna"],+ MEDIUM: ["gpt-5.6-terra"],+ COMPLEX: ["gpt-5.6-sol"],+ REASONING: ["gpt-5.6-sol"],+ };+ expect(preset.complexity_router_config.tiers).toEqual(expectedTiers);+ expect(preset.complexity_router_config.tier_model_configs).toEqual({+ REASONING: [{ model_name: "gpt-5.6-sol", litellm_params: { reasoning_effort: "xhigh" } }],+ });+ const prefill = buildPresetPrefill(preset.complexity_router_config, groupsOnly(getRequiredModelsInPreset(preset)));+ expect(prefill.complexityRouterConfig.tier_model_params).toEqual({+ REASONING: { "gpt-5.6-sol": { reasoning_effort: "xhigh" } },+ });+ });+it("pins the gemini preset to concrete model ids, never Google's hot-swapping -latest aliases", () => {const gemini = getPresetByKey("gemini_family")!;const config = gemini.complexity_router_config;