Skip to content

Add gpt-5.5 model overlay alongside gpt-5.4 - #1175

Closed
dislovelhl wants to merge 1 commit into
garrytan:mainfrom
dislovelhl:add-gpt-5.5-overlay
Closed

dislovelhl wants to merge 1 commit into
garrytan:mainfrom
dislovelhl:add-gpt-5.5-overlay

Conversation

@dislovelhl

Copy link
Copy Markdown

Summary

Additive change so existing gpt-5.4 users are unaffected. Adds gpt-5.5 as a recognized model family with its own overlay file inheriting from gpt.md.

Changes

  • model-overlays/gpt-5.5.md (new) — {{INHERIT:gpt}} plus a placeholder note. No 5.5-specific behavioral patches yet — same convention as how gpt-5.4.md started before its anti-verbosity protocol was added.
  • scripts/models.ts — 'gpt-5.5' added to ALL_MODEL_NAMES (above 5.4 to preserve newer-first ordering); /^gpt-5\.5(-|$)/ family heuristic added before the 5.4 branch so gpt-5.5-mini / gpt-5.5-turbo resolve to 'gpt-5.5'.
  • test/helpers/pricing.ts — TODO comment block above the OpenAI section. Pricing intentionally NOT pre-filled. estimateCostUsd's warn-once-and-return-0 path is louder in benchmark reports than a placeholder that would quietly ship wrong numbers. Add real rows when 5.5 launches.

Why additive (not rename)

Renaming gpt-5.4 → gpt-5.5 would (a) strand existing users pinned to 5.4, (b) require historical revisionism in CHANGELOG / docs/designs/PLAN_TUNING_V0.md / PACING_UPDATES_V0.md, and (c) break the OpenAI blog-post URL references in design-review/SKILL.md and friends. Adding alongside is what the codebase pattern already does for new model families.

Test plan

Verified locally before pushing:

  • 11 resolveModel cases pass: gpt-5.5, gpt-5.5-mini, gpt-5.5-turbo → 'gpt-5.5'; gpt-5.4 / gpt-5.4-mini unchanged; gpt-4o still falls through to 'gpt'; claude / o-series / gemini families intact; unknown returns null.

  • generateModelOverlay({model:'gpt-5.5'}) returns 2511 chars: gpt.md base content (Completion bias / No preamble / AskUserQuestion-NOT-preamble) followed by the 5.5 placeholder note.

  • bun test test/helpers/ test/benchmark-runner.test.ts — 73 pass / 0 fail.

  • Reviewer: confirm pricing-as-TODO is the preferred pattern vs. shipping a placeholder row

  • Reviewer: confirm gpt-5.5 ordering above gpt-5.4 in ALL_MODEL_NAMES matches house style

Additive change so existing gpt-5.4 users are unaffected.

- model-overlays/gpt-5.5.md: inherits from gpt.md via {{INHERIT:gpt}};
  no 5.5-specific patches yet, placeholder note explains the convention.
- scripts/models.ts: 'gpt-5.5' added to ALL_MODEL_NAMES (above 5.4 to keep
  newer-first ordering); /^gpt-5\.5(-|$)/ family heuristic added before
  the 5.4 case so gpt-5.5-mini / gpt-5.5-turbo resolve correctly.
- test/helpers/pricing.ts: TODO note above the OpenAI block. Pricing
  intentionally NOT pre-filled — estimateCostUsd's warn-once-and-return-0
  path is louder in benchmark reports than a placeholder that quietly
  ships wrong numbers. Add real pricing rows when 5.5 launches.

Verified locally:
- 11 resolveModel cases pass (5.5/5.5-mini/5.5-turbo, 5.4 unchanged,
  gpt-4o catch-all, claude/o-series/gemini families, unknown→null)
- generateModelOverlay({model:'gpt-5.5'}) inherits gpt.md correctly
  (Completion bias / No preamble / AskUserQuestion-NOT-preamble all present)
- bun test test/helpers/ test/benchmark-runner.test.ts: 73 pass / 0 fail
Copilot AI review requested due to automatic review settings April 23, 2026 22:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds support for a new gpt-5.5 model family in the model overlay + model-resolution pipeline while keeping gpt-5.4 behavior unchanged.

Changes:

  • Adds gpt-5.5 to the known model families list and resolves gpt-5.5-* variants to the gpt-5.5 family.
  • Introduces a new model-overlays/gpt-5.5.md overlay inheriting from the base gpt overlay.
  • Adds an explicit TODO note in the pricing table indicating gpt-5.5 pricing is intentionally not yet populated (warn-once + return-0 behavior).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
model-overlays/gpt-5.5.md New overlay inheriting from gpt with a placeholder note for future 5.5-specific patches.
scripts/models.ts Registers gpt-5.5 and adds a resolver heuristic for gpt-5.5-* variants.
test/helpers/pricing.ts Adds a TODO comment explaining intentional absence of gpt-5.5 pricing rows.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/helpers/pricing.ts
Comment on lines +27 to +30
// TODO: gpt-5.5 / gpt-5.5-mini — confirm pricing at launch and add rows here.
// Until then, estimateCostUsd will warn-once and return 0 for those models,
// which is intentional: 0 in a benchmark report is louder than a placeholder
// that quietly ships wrong numbers.

Copilot AI Apr 23, 2026

Copy link

Choose a reason for hiding this comment

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

The TODO only calls out gpt-5.5 and gpt-5.5-mini, but resolveModel (and likely benchmark adapters) can produce other 5.5 variants (e.g. gpt-5.5-turbo, gpt-5.5-*) that will also hit the missing-pricing path. Consider broadening the TODO wording to cover all gpt-5.5* variants to avoid implying only these two SKUs are affected.

Copilot uses AI. Check for mistakes.
@garrytan

Copy link
Copy Markdown
Owner

Closing — gpt-5.5 is not a shipped OpenAI model, so the overlay would be dead code. Will revisit when/if it launches.

@garrytan garrytan closed this May 10, 2026
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.

3 participants