Skip to content

fix: drop OpenAI models shut down on Oct 23 and move the default off Sonnet 4.5 - #256

Open
volodymyrshk wants to merge 1 commit into
e2b-dev:mainfrom
volodymyrshk:fix/retiring-models-oct-nov-2026
Open

volodymyrshk wants to merge 1 commit into
e2b-dev:mainfrom
volodymyrshk:fix/retiring-models-oct-nov-2026

Conversation

@volodymyrshk

Copy link
Copy Markdown

OpenAI shuts down o3-mini, o4-mini, gpt-4.1-nano and gpt-4-turbo on October 23, 2026, and Anthropic retires claude-sonnet-4-5-20250929, the default model here, on November 30 (https://developers.openai.com/api/docs/deprecations, https://platform.claude.com/docs/en/about-claude/model-deprecations).

Changes:

  • Remove the four OpenAI entries from lib/models.json.
  • Replace claude-sonnet-4-5-20250929 with claude-sonnet-4-6 and make it the default in app/page.tsx.

Why 4.6 and not Sonnet 5.5: the app is on ai 3.4.33, whose prepareCallSettings sends temperature: 0 when none is set, and Sonnet 5.5 rejects a non-default temperature with a 400. Sonnet 4.6 accepts it. Moving to 5.5 needs either the AI SDK upgrade or dropping temperature for that model.

Saved selections are handled by the existing effect in page.tsx (a stored model that is no longer in models.json resets to the default), and the server already rejects unknown models through resolveModel.

npm test: 76 passed. tsc --noEmit: clean.

This overlaps with #250 only in the default model; #250 now conflicts with main after #252.

…Sonnet 4.5

OpenAI shuts down o3-mini, o4-mini, gpt-4.1-nano and gpt-4-turbo on 2026-10-23, and Anthropic retires claude-sonnet-4-5-20250929 on 2026-11-30. Remove the four OpenAI entries and make claude-sonnet-4-6 the default. The client already resets a saved model that is no longer in models.json, and the server rejects unknown models.
@cla-bot

cla-bot Bot commented Oct 18, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @volodymyrshk on file. You can sign our CLA at https://e2b.dev/docs/cla . Once you've signed, post a comment here that says '@cla-bot check'

@vercel

vercel Bot commented Oct 18, 2026

Copy link
Copy Markdown

@volodymyrshk is attempting to deploy a commit to the E2B Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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