Skip to content

Add Claude Sonnet 5.5 to the model registry - #172

Merged
dixitaniket merged 1 commit into
mainfrom
og/compassionate-thompson-3jxs5h
Sep 29, 2026
Merged

dixitaniket merged 1 commit into
mainfrom
og/compassionate-thompson-3jxs5h

Conversation

@adambalogh

@adambalogh adambalogh commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Registers claude-sonnet-5-5 (Anthropic, released 2026-09-28) with alias claude-sonnet-5.5.

  • Pricing: $2 / $10 per MTok (0.000002 / 0.00001 per token), per https://platform.claude.com/docs/en/models/sonnet-5-5/overview — cheaper than Sonnet 5 ($3/$15).
  • Parameters: the same page states setting temperature, top_p or top_k to a non-default value returns HTTP 400, so supports_temperature=False.
  • Supersedes claude-sonnet-5, which stays registered so persisted chats keep resolving; the paired chat-api PR hides it from the picker.
  • Tests: resolve + cost tests added to tests/test_pricing.py (154 pass); make lint clean. Docs tables (README, CLAUDE.md) updated. uv.lock untouched.

Companion catalog PR: OpenGradient/chat-api#344. Land this one first.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WZ4ELrAXe55aczokBw8HrW

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WZ4ELrAXe55aczokBw8HrW
@adambalogh
adambalogh marked this pull request as ready for review September 29, 2026 11:02
Copilot AI balanced review requested due to automatic review settings September 29, 2026 11:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The registration is complete, consistent with existing patterns, and adequately tested and documented.

Review effort: Balanced
Findings: None

What changed in this PR

Registers Claude Sonnet 5.5 as an Anthropic model with pricing, parameter restrictions, aliases, tests, and documentation.

Changes:

  • Added canonical and dotted model aliases with $2/$10 MTok pricing.
  • Disabled temperature forwarding for compatibility.
  • Added resolution/cost tests and updated supported-model documentation.
File Description
tee_gateway/​model_registry.py Adds the model configuration and aliases.
tests/​test_pricing.py Tests resolution, pricing, flags, and cost.
README.md Lists the new supported model.
CLAUDE.md Updates provider documentation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@dixitaniket
dixitaniket merged commit d495251 into main Sep 29, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants