Skip to content

Add Claude Haiku 5.5 and Gemini Nano Banana 2.1 to the model registry - #175

Merged
adambalogh merged 1 commit into
mainfrom
og/compassionate-thompson-8tfhfl
Oct 8, 2026
Merged

adambalogh merged 1 commit into
mainfrom
og/compassionate-thompson-8tfhfl

Conversation

@adambalogh

@adambalogh adambalogh commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Registers two models released this week (found by the scheduled new-model check):

  • Claude Haiku 5.5 (claude-haiku-5-5, released 2026-10-07) — successor to Haiku 4.5.
  • Nano Banana 2.1 (gemini-nano-banana-2.1, released 2026-10-06) — successor to Nano Banana 2 (gemini-3.1-flash-image). Note its API id has no -image suffix.

Companion chat-api catalog PR: https://github.com/OpenGradient/chat-api/pull/401 (land this one first).

Pricing (per provider pages)

Needs a human decision: the registry has one rate per model, so Haiku 5.5 carries the ≤100k tier. Prompts over 100k tokens (up to the 1M window) would be under-billed 5x. Options: accept, or add length-tiered pricing before offering it widely.

Parameter restrictions

Tests

uv run python -m pytest tests/test_pricing.py (163 passed), make lint clean. uv.lock untouched.

Supersedes (in the catalog): Haiku 4.5 and Nano Banana 2 are hidden there; both stay registered here so persisted chats keep working.

Also noted: GPT-6.1 Sol is already covered by open PR #173 / chat-api #364, so not duplicated here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01P5F3RE1C4HEEkC9QoN81d1

@adambalogh
adambalogh marked this pull request as ready for review October 8, 2026 08:47
Copilot AI balanced review requested due to automatic review settings October 8, 2026 08:47
@adambalogh
adambalogh merged commit ee26d28 into main Oct 8, 2026
10 checks passed

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.

🟡 Changes recommended

Haiku requests above 100k prompt tokens are deterministically under-billed by 5×.

1 open finding
What changed in this PR

Registers Claude Haiku 5.5 and Gemini Nano Banana 2.1 for gateway routing and billing.

Changes:

  • Adds model configurations, pricing, capabilities, and aliases.
  • Adds registry and Haiku billing tests.
  • Updates supported-model documentation.
File Description
tee_gateway/​model_registry.py Registers both models and aliases.
tests/​test_pricing.py Tests resolution, pricing, and Haiku cost.
README.md Lists the new supported models.
CLAUDE.md Updates provider model documentation.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment on lines +596 to +597
input_price_usd=Decimal("0.0000001"),
output_price_usd=Decimal("0.0000005"),
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