Add GPT-5.5, Claude Sonnet 5, and Claude Fable 5 models - #331
Open
svilupp wants to merge 3 commits into
Open
Conversation
svilupp
force-pushed
the
add-gpt55-sonnet5-fable5
branch
from
July 2, 2026 21:18
f40468b to
5d9033c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #331 +/- ##
=======================================
Coverage 92.84% 92.84%
=======================================
Files 40 40
Lines 3506 3506
=======================================
Hits 3255 3255
Misses 251 251 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
svilupp
force-pushed
the
add-gpt55-sonnet5-fable5
branch
from
July 2, 2026 21:24
5d9033c to
2757962
Compare
Register three new models in the model registry: - gpt-5.5 (alias gpt55): OpenAI flagship, 400K context, 128K output - claude-sonnet-5 (alias claude5): 1M context, 64K output - claude-fable-5 (alias claudef): 200K context, 64K output Bump version to 0.92.0 and update CHANGELOG. Also ignore cloud-synced .humanlayer/tasks/ artifacts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
svilupp
force-pushed
the
add-gpt55-sonnet5-fable5
branch
from
July 2, 2026 21:53
2757962 to
96c12e2
Compare
GPT-5.5 has a 1M context window (not 400K) per OpenAI's model docs, and Claude Sonnet 5 supports 128K output tokens (not 64K). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DozT7nuSavCHCdn4Q2CAek
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Header Links
Artifacts | Task Deep Link
What problems was I solving
Three new flagship/latest-generation models shipped from OpenAI and Anthropic and were not yet available in PromptingTools'
MODEL_REGISTRY. Until they are registered, users cannot reference them by name or short alias, do not get cost estimates for their calls, and cannot use them through theai*functions.This PR registers the latest models so users can call them out of the box:
Success is qualitative:
aigenerate("say hi"; model="gpt55")(and the exact names / other aliases) resolve to a registeredModelSpecwith the correct schema and pricing.What user-facing changes did I ship
ModelSpecentries and their aliases:gpt-5.5(aliasgpt55) —OpenAISchema, $1.75/M input, $14/M output, 400K context / 128K outputclaude-sonnet-5(aliasclaude5) —AnthropicSchema, $3/M input, $15/M output, 1M context / 64K outputclaude-fable-5(aliasclaudef) —AnthropicSchema, $1/M input, $5/M output, 200K context / 64K output[0.94.0]section documenting the three models with names and aliases.0.93.0→0.94.0.How I implemented it
I followed the established "Adding Support for New Models" flow from
CLAUDE.md.Model registration
registrydict withModelSpec(name, schema, input_cost_per_token, output_cost_per_token, description). OpenAI's GPT-5.5 usesOpenAISchema(); both Claude models useAnthropicSchema(). Pricing is expressed per-token (e.g.1.75e-6= $1.75 per million input tokens), matching the surrounding entries.Aliases
aliasesdict following the existing naming conventions:gpt55alongside the othergpt5xentries, andclaude5/claudefalongside the otherclaude*entries.Versioning & changelog
0.94.0(new features, not a bug fix). Rebased on top of0.93.0(PRs Add support for new Claude, GPT-5.3, and Gemini 3.1 models #329 / Add OpenAI GPT-5.4 models to registry #330) which landed after this branch was cut.[0.94.0]→### Addedsection, one line per model mentioning both the exact name and the alias.Housekeeping
.humanlayer/tasks/artifacts directory so task scratch files don't get committed.Deviations from the plan
No plan file was found in the task directory (only
ticket.md). The ticket requested Fable 5, Sonnet 5, and "gpt 5.5"; all three were implemented. Exact pricing / context-window figures for these very new models should be confirmed against the providers' official pricing pages before release, as they were set to reasonable Claude 5 / GPT-5-family values.How to verify it
Setup
git fetch origin git checkout add-gpt55-sonnet5-fable5 julia --project=. -e "using Pkg; Pkg.instantiate()"Manual Testing
Automated Tests
Description for the changelog
Added support for OpenAI GPT-5.5 (
gpt55), Anthropic Claude Sonnet 5 (claude5), and Claude Fable 5 (claudef).