feat(chatgpt): add GPT-5.5 and GPT-5.6 models - #35720
Conversation
Greptile SummaryAdds built-in ChatGPT subscription routing metadata for GPT-5.5 and three GPT-5.6 variants.
Confidence Score: 5/5The PR appears safe to merge, with the new model registrations consistently represented in both runtime metadata maps and covered by focused tests. The four records are consistent across the primary and fallback maps, conform to existing ChatGPT Responses routing conventions, and the added tests exercise provider registration and bundled metadata without network access.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Adds four schema-valid ChatGPT Responses model records with consistent routing and capability metadata. |
| litellm/model_prices_and_context_window_backup.json | Mirrors the four primary model-map entries so packaged and fallback metadata remain consistent. |
| tests/test_litellm/llms/chatgpt/responses/test_chatgpt_responses_transformation.py | Adds local, deterministic coverage for model registration, both bundled metadata maps, and Chat Completions bridge lookup behavior. |
Reviews (1): Last reviewed commit: "feat(chatgpt): add GPT-5.5 and GPT-5.6 m..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Thanks for adding these entries. I independently validated this against a real Claude Code deployment using LiteLLM v1.94.0. Before adding explicit deployment metadata, As an operational workaround, I set
I also checked this PR locally at
One small regression-test suggestion: add an unmocked lookup assertion for The failing OSV check appears unrelated to this PR: it reports pre-existing |
Thanks for taking the time to validate this in a real Claude Code deployment. Good point about testing the direct lookup path too. That would improve coverage for the original null metadata issue. I’ll keep it in mind while the maintainers review the PR. Thanks also for checking that the OSV failure is unrelated to these changes. |
TLDR
Problem this solves:
How it solves it:
Relevant issues
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review)
Screenshots / Proof of Fix
Validated the four model IDs with a ChatGPT subscription using equivalent explicit
mode: responsesentries before adding the built-in metadata/v1/responsestext/v1/chat/completionsChecks run on
2bb7048:Type
New Feature
Test
Changes
Adds
chatgpt/metadata for GPT-5.5, GPT-5.6 Luna, GPT-5.6 Sol, and GPT-5.6 Terra to both model maps. Each entry uses Responses mode and advertises the Responses and Chat Completions endpointsThe existing ChatGPT transformation tests now cover provider registration, bundled metadata, and Chat Completions bridging for each model
Final Attestation