Skip to content

feat(openai,azure): deprecate and stub Completions API - #20793

Closed
n1ckoates wants to merge 3 commits into
mainfrom
nick/remove-openai-completions
Closed

n1ckoates wants to merge 3 commits into
mainfrom
nick/remove-openai-completions

Conversation

@n1ckoates

@n1ckoates n1ckoates commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Background

OpenAI has a legacy Completions API that only supports one model, gpt-3.5-turbo-instruct, which is scheduled for shutdown on September 28th, 2026.

After that model is gone, there will be no remaining models available through the Completions API.

Azure also has a Completions API and @ai-sdk/azure re-uses the implementation from @ai-sdk/openai. However, Azure no longer lists gpt-3.5-turbo-instruct among its supported models.

Summary

Removed openai.completions() and azure.completions().

Chat Completions and Responses remain supported.

Checklist

  • All commits are signed (PRs with unsigned commits cannot be merged)
  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

@n1ckoates n1ckoates changed the title feat(openai,azure)!: remove Completions API feat(openai,azure): deprecate and stub Completions API Oct 16, 2026
@n1ckoates n1ckoates closed this Oct 16, 2026

This branch was successfully deployed

1 active deployment
Preview — eea84c56 Deployed Oct 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major marker for PRs with major version bump task-identify-harness-labels-done

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant