Skip to content

Switch default OpenAI model to GPT-6 Luna; release 1.1.1 - #8

Merged
howarddc merged 1 commit into
mainfrom
openai-gpt-6-luna
Oct 2, 2026
Merged

howarddc merged 1 commit into
mainfrom
openai-gpt-6-luna

Conversation

@howarddc

@howarddc howarddc commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Summary

OpenAI deprecated GPT-5.4 nano on 2026-10-01 (shutdown 2027-04-01) and recommends gpt-6-luna as the replacement.

  • Replace GPT-5.4 nano with GPT-6 Luna: $0.10 input / $0.50 output per 1M tokens (vs $0.20 / $1.25), images supported via Chat Completions.
  • Send reasoning_effort: "none" — Luna defaults to medium reasoning, which alt text doesn't need and which is billed as output.
  • Migration: the upgrade routine moves a saved GPT-5.4 nano selection to GPT-6 Luna; Gemini and DeepInfra choices are untouched. A retired_models() list keeps old Logs/spending entries labelled "GPT-5.4 nano".
  • The Settings "prices as of" date is now one constant (PRICES_AS_OF) rendered with a translatable date format, so future price updates need no retranslation.
  • Translations: all 7 locales 170/170.
  • Version → 1.1.1; README model table, upgrade note, and changelog updated.

Testing

  • Request harness (13/13): GPT-6 Luna request (model, reasoning_effort: none, detail: low, prompt), cost at new prices, no double-counting; DeepInfra and Gemini requests unchanged; default/fallback/label/date helpers
  • Upgrade routine (3/3): 1.1.0 on GPT-5.4 nano → GPT-6 Luna; 1.1.0 on DeepSeek → kept; 1.0.2 with no saved model → GPT-6 Luna
  • msgfmt --check clean for all locales; PHP lint clean

Note

Model choice: GPT-5.6 Luna was considered; GPT-6 Luna was chosen as OpenAI's recommended replacement at half the price.

🤖 Generated with Claude Code

- GPT-5.4 nano is deprecated (shutdown 2027-04-01). Replace it with
  gpt-6-luna, OpenAI's recommended replacement ($0.10 / $0.50 per 1M),
  with reasoning_effort "none" (Luna defaults to medium).
- Keep a retired_models() list so logs and spending history still show
  "GPT-5.4 nano"; the upgrade routine moves a saved retired model to the
  default while leaving Gemini/DeepInfra choices alone.
- Make the "prices as of" date a single constant shown via a localized,
  translatable date format, so future price updates need no retranslation.
- Translations updated for all 7 locales (170/170).
- Bump version to 1.1.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@howarddc
howarddc merged commit 3525c9a into main Oct 2, 2026
@howarddc
howarddc deleted the openai-gpt-6-luna branch October 2, 2026 23:49
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