Skip to content

feat(providers): add GPT-6 Sol and Luna ahead of every GPT-5.6 Sol provider except Cursor - #5584

Merged
lidge-jun merged 1 commit into
devfrom
codex/gpt6-provider-rows
Sep 22, 2026
Merged

lidge-jun merged 1 commit into
devfrom
codex/gpt6-provider-rows

Conversation

@lidge-jun

Copy link
Copy Markdown
Owner

Summary

OpenAI released GPT-6 Sol and GPT-6 Luna on 2026-09-22. API list prices per 1M tokens:

Model Input Cached input Output
GPT-6 Sol $2 $0.20 $10
GPT-6 Luna $0.10 $0.01 $0.50

Most providers that carry GPT-5.6 Sol had not published the new models on 2026-09-23. This PR adds them preemptively, mirroring each provider's GPT-5.6 Sol/Luna entry, the same way Opus 5.5 was added ahead of providers in #5581. Cursor is deliberately untouched. The native ChatGPT/Codex rows already landed in #5580.

  • Metadata snapshot and regenerated table. gpt-6-sol and gpt-6-luna are added for these providers, cloned from their GPT-5.6 rows:

    • amazon-bedrock (openai.gpt-6-*)
    • cloudflare-ai-gateway, kilo, openrouter, vercel-ai-gateway and zenmux (openai/gpt-6-*)
    • github-copilot, openai, openai-codex and opencode-zen

    Priced fields get the list price, and fields a provider bills at 0 stay 0 (Kilo's subscription rows, Cloudflare's cache write). Several reseller GPT-5.6 Luna rows still carry pre-cut prices, so scaling from them would have produced $0.5 / $2.5. opencode-go lists no GPT-5.6 Sol and is skipped.

  • Registry.

    • OpenAI API key: 1,050,000 window, 922,000 max input, 128K output and a low..max ladder, mirroring gpt-6-astra's API seed until OpenAI publishes the API window.
    • OpenRouter: models, windows and service-tier opt-in.
    • GitHub Copilot: models and the Responses wire default.
    • BizRouter, DigitalOcean, and the Devin / Devin CLI seeds.
  • Static rosters. Kiro (272K, native reasoning effort field), CodeBuddy (mirrors GPT-5.6 Sol/Luna) and Devin (1M).

  • Price overlays.

    • Verified OpenAI API-key rows.
    • Derived rows for the ChatGPT login estimate and for Devin, which has no cost-table entry yet.
    • Long-context tier rows for both models.

Kiro, CodeBuddy and Devin rosters are static, so these models now appear there, and calls fail upstream until each provider ships them. Snapshot-only providers are unaffected until the model shows up in their live list.

Verification

  • bun run typecheck: exit 0 on this head.
  • Tests were not run locally, at the maintainer's request; hosted CI is the gate. Exact-list assertions were updated in place:
    • the OpenRouter service-tier map
    • the expected-price overlay count, 131 → 139
    • the Copilot Responses-only list
    • the Kiro native-effort loop
  • No capped file grew. tests/providers/kiro/kiro-adapter.test.ts stays at 2050 lines.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

…ovider except Cursor

OpenAI released GPT-6 Sol and Luna on 2026-09-22 (API list price: Sol $2 / $0.20 cached /
$10, Luna $0.10 / $0.01 cached / $0.50). Most providers had not published them on
2026-09-23; the rows are added preemptively, mirroring each provider's GPT-5.6 Sol/Luna
entry, the same way Opus 5.5 was added in #5581. Cursor is deliberately untouched.

- Metadata snapshot + regenerated table: gpt-6-sol / gpt-6-luna for amazon-bedrock,
  cloudflare-ai-gateway, github-copilot, kilo, openai, openai-codex, opencode-zen,
  openrouter, vercel-ai-gateway and zenmux, at list price (fields a provider bills at 0,
  such as Kilo's subscription rows, stay 0). opencode-go has no GPT-5.6 Sol and is skipped.
- Registry: OpenAI API key (1,050,000 / 922,000 / 128K and low..max, mirroring
  gpt-6-astra's API seed), OpenRouter models/windows/service tier, GitHub Copilot models
  and Responses wire, BizRouter, DigitalOcean, Devin/Devin CLI seeds.
- Kiro, CodeBuddy and Devin static rosters, with Kiro's native reasoning field.
- Price overlays: verified OpenAI API rows, derived rows for ChatGPT login and Devin;
  long-context tier rows for both.
@lidge-jun
lidge-jun requested a review from Ingwannu as a code owner September 22, 2026 19:09
@lidge-jun
lidge-jun merged commit 5dc4a40 into dev Sep 22, 2026
6 of 7 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-22T19:16:40.308497Z bfb8fed PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lidge-jun
lidge-jun deleted the codex/gpt6-provider-rows branch September 22, 2026 19:10
@github-actions github-actions Bot added the enhancement New feature or request label Sep 22, 2026
@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository: lidge-jun/opencodex/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: d0d4b409-ceca-4aef-bc09-ecd7455bbb15

📥 Commits

Reviewing files that changed from the base of the PR and between c2233b6 and bfb8fed.

⛔ Files ignored due to path filters (1)
  • src/generated/model-metadata.ts is excluded by !**/generated/**
📒 Files selected for processing (13)
  • scripts/model-metadata.source.json
  • src/adapters/devin/live-models.ts
  • src/adapters/kiro/reasoning.ts
  • src/providers/codebuddy-models.ts
  • src/providers/kiro-models.ts
  • src/providers/registry/entries-core.ts
  • src/providers/registry/entries-extended.ts
  • src/providers/registry/model-seeds.ts
  • src/usage/expected-prices.ts
  • tests/providers/github-copilot/github-copilot-wire-defaults.test.ts
  • tests/providers/kiro/kiro-adapter.test.ts
  • tests/service/service-tier-capability.test.ts
  • tests/usage/usage-cost.test.ts
 ___________________________________________________________
< Patterns mean 'I have run out of language.' - Rich Hickey >
 -----------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bfb8fede7b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +594 to +595
"gpt-6-sol",
"gpt-6-luna",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Do not apply an unverified long-context surcharge

For any GPT-6 Sol or Luna request exceeding 272K input tokens, resolveContextTier now doubles input/cache costs and multiplies output costs by 1.5. However, the added pricing source documents only the base rates, the registry comment says the API window is not yet published, and the inherited verifiedAt: "2026-09-05" predates the models' stated September 22 release. This will overstate usage costs unless these models actually use the GPT-5.6 long-context schedule; omit them until that schedule is published or give them independently sourced tier rows.

Useful? React with 👍 / 👎.

"cacheRead": 0.01,
"cacheWrite": 0.125
},
"contextWindow": 373000,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use one OpenRouter context-window value

This bundled OpenRouter row declares a 373,000-token window, while the same change declares 1,050,000 for this exact model in OPENROUTER_GPT56_CONTEXT_WINDOWS. Because model-hints.ts passes the bundled value through clampObservedModelLimits, the lower 373K value wins and auto-compaction begins around 336K instead of using the registry's intended 1.05M window; Luna has the same conflict. Keep this provider fact in one canonical source or make the two values agree.

AGENTS.md reference: src/AGENTS.md:L18-L18

Useful? React with 👍 / 👎.

void0x14 pushed a commit to void0x14/fucklidgejun that referenced this pull request Sep 25, 2026
…ovider except Cursor (lidge-jun#5584)

OpenAI released GPT-6 Sol and Luna on 2026-09-22 (API list price: Sol $2 / $0.20 cached /
$10, Luna $0.10 / $0.01 cached / $0.50). Most providers had not published them on
2026-09-23; the rows are added preemptively, mirroring each provider's GPT-5.6 Sol/Luna
entry, the same way Opus 5.5 was added in lidge-jun#5581. Cursor is deliberately untouched.

- Metadata snapshot + regenerated table: gpt-6-sol / gpt-6-luna for amazon-bedrock,
  cloudflare-ai-gateway, github-copilot, kilo, openai, openai-codex, opencode-zen,
  openrouter, vercel-ai-gateway and zenmux, at list price (fields a provider bills at 0,
  such as Kilo's subscription rows, stay 0). opencode-go has no GPT-5.6 Sol and is skipped.
- Registry: OpenAI API key (1,050,000 / 922,000 / 128K and low..max, mirroring
  gpt-6-astra's API seed), OpenRouter models/windows/service tier, GitHub Copilot models
  and Responses wire, BizRouter, DigitalOcean, Devin/Devin CLI seeds.
- Kiro, CodeBuddy and Devin static rosters, with Kiro's native reasoning field.
- Price overlays: verified OpenAI API rows, derived rows for ChatGPT login and Devin;
  long-context tier rows for both.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant