GPT-5.1 and Specialized Codex Models Now Accessible via API with GPT-5 Pricing; Enhanced Prompt Caching Introduced
OpenAI has announced the immediate availability of GPT-5.1 through its API, maintaining the same pricing structure as GPT-5. Alongside this release, two new specialized models, gpt-5.1-codex and gpt-5.1-codex-mini, have also been launched in the API, specifically designed for handling long-running coding tasks. A significant improvement in API functionality is the extension of prompt caching duration, which now persists for up to 24 hours. Further details and updated evaluations are available in the company's blog post.
GPT-5.1 is now available in the API. Pricing for GPT-5.1 will be the same as GPT-5. In addition to GPT-5.1, OpenAI is also releasing gpt-5.1-codex and gpt-5.1-codex-mini in the API. These new codex models are specialized for long-running coding tasks. A notable enhancement to the API is that prompt caching now lasts up to 24 hours. Updated evaluations related to these releases can be found in OpenAI's blog post.