Skip to content

Set gpt-5.6-luna as default OpenAI model; update OpenAI and Claude pricing - #319

Open
jcsalterego wants to merge 3 commits into
mainfrom
jchen/openai-default-gpt-5.6-luna
Open

Set gpt-5.6-luna as default OpenAI model; update OpenAI and Claude pricing#319
jcsalterego wants to merge 3 commits into
mainfrom
jchen/openai-default-gpt-5.6-luna

Conversation

@jcsalterego

@jcsalterego jcsalterego commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Sets DEFAULT_OPENAI_MODEL to gpt-5.6-luna in src/llm/providers/openai.ts, with the matching default-model references updated in docs/settings-reference.md
  • Updates OpenAI pricing in src/pricing.ts to match https://developers.openai.com/api/docs/pricing: adds the gpt-5.6 tier (gpt-5.6, gpt-5.6-terra, gpt-5.6-luna) and fills in the previously-missing gpt-5.4-nano rate
  • Updates Claude pricing in src/pricing.ts to match https://platform.claude.com/docs/en/about-claude/pricing: Opus dropped from $15/$75 to $5/$25 per Mtok with Opus 4.5+, with a legacy tier kept at the old rate for Opus 4.1 (deprecated) and Opus 4 (retired); adds Sonnet 5's introductory pricing (through 2026-08-31), a legacy Haiku 3.5 tier, and pricing for the new Fable 5 and Mythos 5 models. Sonnet 4.x and Haiku 4.5 rates were already current.

Test plan

  • bun test (693 pass)
  • bun run typecheck

jcsalterego and others added 3 commits July 30, 2026 13:40
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…rate

Pricing now matches the published OpenAI rate card: adds gpt-5.6 /
gpt-5.6-terra / gpt-5.6-luna (the new default model's tier) and
gpt-5.4-nano, which was missing from the table.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Opus dropped from $15/$75 to $5/$25 per Mtok with Opus 4.5+; kept a
legacy tier at the old rate for Opus 4.1 (deprecated) and Opus 4
(retired). Adds Sonnet 5's introductory pricing (through 2026-08-31),
a legacy Haiku 3.5 tier, and pricing for the new Fable 5 and Mythos 5
models. Sonnet 4.x and Haiku 4.5 rates were already current.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jcsalterego jcsalterego changed the title Set gpt-5.6-luna as the default openai provider model Set gpt-5.6-luna as default OpenAI model; update OpenAI and Claude pricing Jul 30, 2026
@jcsalterego jcsalterego self-assigned this Jul 30, 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.

1 participant