Skip to content

feat(codex): add gpt-6-sol and gpt-6-luna, route opus/haiku to them - #165

Merged
raine merged 1 commit into
raine:mainfrom
rtuin:feat/gpt-6-sol-luna
Sep 22, 2026
Merged

raine merged 1 commit into
raine:mainfrom
rtuin:feat/gpt-6-sol-luna

Conversation

@rtuin

@rtuin rtuin commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Adds support for Claude Opus 5.5 and the new GPT-6 Sol and Luna Codex models.

Changes

  • Register claude-opus-5-5 as an Anthropic-style alias.
  • Add gpt-6-sol and gpt-6-luna (plus -fast variants) to the registry and Codex allowlist, on the Responses Lite lane like gpt-6-astra.
  • Alias mapping: opus / claude-opus-* / fable / claude-fable-* → gpt-6-sol; haiku / claude-haiku-* → gpt-6-luna. Sonnet stays on gpt-5.6-terra (no gpt-6-terra yet).
  • Hosted web_search upgrades gpt-6-luna → gpt-6-sol, mirroring gpt-5.6-luna (assumes luna is lite-only).
  • Defaults move to gpt-6: fallback request model, Codex auto-review classifier (gpt-6-luna), setup examples in CLI/TUI, README and docs.
  • CLAUDE_CODE_AUTO_COMPACT_WINDOW=272000 guidance unchanged; gpt-6 context size not documented.

Testing

  • cargo test, cargo clippy --all-targets, cargo fmt --check pass; new tests cover alias resolution, claude-opus-5-5, gpt-6-sol-fast, lane selection and routing.
  • /v1/models lists gpt-6-sol, gpt-6-sol-fast, gpt-6-luna, gpt-6-luna-fast.
  • Verified manually with a real Claude Code session through the proxy.

Register Claude Opus 5.5 (claude-opus-5-5) as an Anthropic-style alias and
add the gpt-6-sol and gpt-6-luna Codex models, including -fast variants,
on the Responses Lite lane.

Map opus/fable aliases to gpt-6-sol and haiku aliases to gpt-6-luna.
Sonnet stays on gpt-5.6-terra until gpt-6-terra ships. Hosted web_search
upgrades gpt-6-luna to gpt-6-sol, mirroring gpt-5.6-luna.

Default request model, auto-review classifier and setup examples move to
gpt-6-sol / gpt-6-luna.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019hRNHYfERmkUyMgjEcYe1G

Claude session id: 35a26961-32c3-4118-8b3c-bdc97f5f8c97
@raine
raine merged commit 83eb2ae into raine:main Sep 22, 2026
@rtuin
rtuin deleted the feat/gpt-6-sol-luna branch September 22, 2026 21:04
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.

2 participants