Skip to content

The agent that grows with you

refactor(pricing): generate the gpt-6.1-sol -pro/-900k aliases from the tier loop

kshitijk4poore2d311e5e693
diff --git a/agent/usage_pricing.py b/agent/usage_pricing.py
index 97cd4108059..7d930389ab6 100644
--- a/agent/usage_pricing.py
+++ b/agent/usage_pricing.py
@@ -339,10 +339,8 @@ del _BEDROCK_URL, _ANTHROPIC_URL, _GOOGLE_URL, _OPUS, _SONNET
# by both the documented stable name and the emitted ID.
for _provider, _alias, _canonical in (
*((("openai", f"{m}-{suffix}", m)
- for m in ("gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-6-sol", "gpt-6-luna")
+ for m in ("gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-6-sol", "gpt-6-luna", "gpt-6.1-sol")
for suffix in ("pro", "900k"))),
- ("openai", "gpt-6.1-sol-pro", "gpt-6.1-sol"),
- ("openai", "gpt-6.1-sol-900k", "gpt-6.1-sol"), # Hermes-side Codex picker variant, same model
("google", "gemini-3.1-pro-preview", "gemini-3.1-pro"),
("google", "gemini-3.1-flash-lite-preview", "gemini-3.1-flash-lite"),
):