Repository navigation
Switch default OpenAI model to GPT-6 Luna; release 1.1.1 - #8
Merged
Merged
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OpenAI deprecated GPT-5.4 nano on 2026-10-01 (shutdown 2027-04-01) and recommends
gpt-6-lunaas the replacement.reasoning_effort: "none"— Luna defaults to medium reasoning, which alt text doesn't need and which is billed as output.retired_models()list keeps old Logs/spending entries labelled "GPT-5.4 nano".PRICES_AS_OF) rendered with a translatable date format, so future price updates need no retranslation.Testing
reasoning_effort: none,detail: low, prompt), cost at new prices, no double-counting; DeepInfra and Gemini requests unchanged; default/fallback/label/date helpersmsgfmt --checkclean for all locales; PHP lint cleanNote
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