diff --git a/src/domain/models/models-dev.ts b/src/domain/models/models-dev.ts index 05de143..0032570 100644 --- a/src/domain/models/models-dev.ts +++ b/src/domain/models/models-dev.ts @@ -42,7 +42,7 @@ const CODEX_DYNAMIC_GPT_VERSION_THRESHOLD = 5.4; // ChatGPT Codex limits are smaller than the public API limits. Match OpenCode // OAuth metadata so clients compact before the backend runs out of output room: -// https://github.com/anomalyco/opencode/blob/4a57013cf8cb163f58638273fd9da8538cd33cb7/packages/opencode/src/plugin/openai/codex.ts#L293-L312 +// https://github.com/anomalyco/opencode/blob/400a6f2afab628103f8a41df9b1037d240e79fed/packages/opencode/src/plugin/openai/codex.ts#L299-L309 const CODEX_MODEL_LIMIT_OVERRIDES: Record = { "gpt-5.5": { context: 400_000, @@ -50,18 +50,18 @@ const CODEX_MODEL_LIMIT_OVERRIDES: Record = { output: 128_000, }, "gpt-5.6-luna": { - context: 500_000, - input: 372_000, + context: 400_000, + input: 272_000, output: 128_000, }, "gpt-5.6-sol": { - context: 500_000, - input: 372_000, + context: 400_000, + input: 272_000, output: 128_000, }, "gpt-5.6-terra": { - context: 500_000, - input: 372_000, + context: 400_000, + input: 272_000, output: 128_000, }, }; diff --git a/tests/domain/models-dev-contract.test.ts b/tests/domain/models-dev-contract.test.ts index e82aa89..91bcd81 100644 --- a/tests/domain/models-dev-contract.test.ts +++ b/tests/domain/models-dev-contract.test.ts @@ -219,8 +219,8 @@ describe("models registry contract", () => { models?: Record; }; expect(kleis.models?.["gpt-5.6-luna"]?.limit).toEqual({ - context: 500_000, - input: 372_000, + context: 400_000, + input: 272_000, output: 128_000, }); });