feat(catalog): add openai/gpt-5.5 — flagship released 2026-04-23#15
Merged
feat(catalog): add openai/gpt-5.5 — flagship released 2026-04-23#15
Conversation
Tracks BlockRunAI/blockrun#6, which added gpt-5.5 to the gateway catalog as the new OpenAI flagship (1M context, 128K output, $5/$30 per million tokens, fallback gpt-5.4). Client-side wiring across the eight places Franklin keeps a hand- maintained model list: - pricing.ts: $5/$30 input/output (matches gateway pre-margin row). - agent/tokens.ts: 128k context cap — same conservative baseline as the rest of the gpt-5.x line; bump to the gateway's 1.05M is a separate change once a real >128k call is verified end-to-end. - agent/optimize.ts: 32k max-output cap, matching gpt-5.4. - agent/compact.ts: tier-down heuristic now treats gpt-5.5 the same as gpt-5.4 / sonnet (compaction model = haiku). - ui/model-picker.ts + proxy/server.ts: `gpt`/`gpt5`/`gpt-5` aliases now resolve to gpt-5.5 (gateway-flagged flagship); `gpt-5.4` keeps its explicit alias as the fallback target. Picker visible list adds 5.5 as the highlighted OpenAI row. - router/index.ts: AUTO MEDIUM/COMPLEX and PREMIUM COMPLEX fallback chains swap gpt-5.4 → gpt-5.5. Gateway falls back internally to 5.4 on 5.5 errors, so the client chain stays the same length. - index.ts: CLI --model help example updated. Tests: 167/167 pass (existing model-pinning tests still reference 5.4 explicitly so they keep working as a regression).
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.
Tracks BlockRunAI/blockrun#6, which added `openai/gpt-5.5` to the gateway catalog as the new OpenAI flagship (1M context / 128K output / $5/$30 per M tokens / fallback `gpt-5.4`).
Client-side wiring across the eight places Franklin keeps a hand-maintained model list:
Test plan