GPT-6 Luna migration: four gotchas that break apps switching from GPT-4o and GPT-4.1
OpenAI plans to shut down the GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini API snapshots on 14 January 2027, naming GPT-6 Luna as the successor. A developer tested the switch with 20 typical app requests and found that changing only the model name causes requests to fail. The first error is that max_tokens is rejected and must be renamed to max_completion_tokens, which also works on older models. Setting temperature to 0 is rejected unless reasoning is turned off, and even then the model gave different wordings for identical requests, so applications relying on repeatable output need to adapt. Function tools also require either reasoning_effort set to none or a move to the Responses API, and parameters must be adjusted per model since GPT-4o mini rejects reasoning_effort. A further problem raises no error at all: because reasoning tokens count against max_completion_tokens, small limits can leave the answer empty.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in