Deprecating chat/completions support in Codex
#7782
etraut-openai
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In early 2025, OpenAI introduced the
responsesAPI — an interface optimized for reasoning models, multi-turn conversations, and tool-rich workflows. This API replaces the olderchat/completionsAPI, which originated in the GPT-3.5 era and was not designed for today’s agentic coding and reasoning use cases.While Codex has historically supported both APIs, the
chat/completionsAPI has increasingly hampered our ability to improve Codex and deliver new features. Maintaining compatibility with this legacy protocol has added complexity, introduced regressions, and increased support overhead.As a result, the Codex team is deprecating support for the
chat/completionsAPI. Full removal is slated for early February 2026.What this means
chat/completionsAPI will be closed.chat/completionsAPI will be triaged based on user impact.chat/completionsAPI.Migrating from
chat/completionsto responses APIThe vast majority of Codex users are unaffected by this change. If you are using OpenAI-hosted models with a default Codex configuration, you are already using the
responsesAPI, and no action is required.If you have configured a custom model provider with
wire_api = "chat"or have not specified awire_api, you will need to update your model provider definition.Local models / OSS usage
For local models — including OpenAI’s
gpt_oss, you can use LM Studio, which supports theresponsesAPI.To configure Codex to use LM Studio:
Maintainers of Ollama are planning to add support for the
responsesAPI in the near future.Enterprise Environments
If your organization uses an LLM proxy or gateway, please coordinate with your IT or platform team to ensure your proxy supports the
responsesAPI before the end of the deprecation period.Why we’re making this change
This change allows Codex to:
We recognize that migrations can be inconvenient and appreciate your understanding as we continue to evolve Codex to improve your development experience.
Beta Was this translation helpful? Give feedback.
All reactions