feat(kiro): register GPT-5.6 Sol/Terra/Luna model family (#7209)

* feat(kiro): register GPT-5.6 Sol/Terra/Luna model family

Kiro announced its first OpenAI-family models on 2026-07-14
(kiro.dev/changelog/models): GPT-5.6 Sol (flagship), Terra (balanced
mid-tier) and Luna (fastest/cheapest), all sharing a 272k context
window. Registers the three base model ids in the kiro provider
registry with contextLength/maxOutputTokens so getResolvedModelCapabilities()
resolves the real 272k window instead of falling back to the generic
default. OmniRoute derives the thinking/agentic synthetic variants and
per-account rate multipliers dynamically at discovery time
(open-sse/services/kiroModels.ts), so only the three base entries need
static registration here.

Co-authored-by: Edison42 <gn00742754@gmail.com>
Inspired-by: https://github.com/decolua/9router/pull/2596

* chore(changelog): fragment for #7209

* fix(kiro): add GPT-5.6 Sol/Terra/Luna pricing rows

The registry additions in this PR exposed three new Kiro model ids
without matching pricing rows, tripping the catalog invariant that
every Kiro registry model must resolve a non-zero pricing row
(tests/unit/catalog-updates-v3x.test.ts) — the models would have
billed at $0.00.

Reuses the shared GPT_5_6_{SOL,TERRA,LUNA}_PRICING tiers already used
by the codex and openai aliases.

---------

Co-authored-by: Edison42 <gn00742754@gmail.com>
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-07-17 10:39:42 -03:00
committed by GitHub
parent 205361a850
commit 2dc4a92be7
5 changed files with 71 additions and 0 deletions

View File

@@ -592,5 +592,10 @@ export const DEFAULT_PRICING_OAUTH = {
reasoning: 15.0,
cache_creation: 3.0,
},
// Kiro's GPT-5.6 family (kiro.dev/changelog/models, 2026-07-14) — same
// per-tier rates the codex/openai aliases already bill at.
"gpt-5.6-sol": GPT_5_6_SOL_PRICING,
"gpt-5.6-terra": GPT_5_6_TERRA_PRICING,
"gpt-5.6-luna": GPT_5_6_LUNA_PRICING,
},
};