OpenAI Codex

OpenAI Blog Models

Summary

OpenAI Codex is a GPT-3 descendant trained on natural language and billions of lines of source code, capable of generating working code across 15+ programming languages with 3.5x more context memory than GPT-3, now available in private beta via API.

We’ve created an improved version of OpenAI Codex, our AI system that translates natural language to code, and we are releasing it through our API in private beta starting today.
Original Article
View Cached Full Text

Cached at: 04/20/26, 02:46 PM

# OpenAI Codex Source: [https://openai.com/index/openai-codex/](https://openai.com/index/openai-codex/) OpenAI Codex is a descendant of GPT‑3; its training data contains both natural language and billions of lines of source code from publicly available sources, including code in public GitHub repositories\. OpenAI Codex is most capable in Python, but it is also proficient in over a dozen languages including JavaScript, Go, Perl, PHP, Ruby, Swift and TypeScript, and even Shell\. It has a memory of 14KB for Python code, compared to GPT‑3 which has only 4KB—so it can take into account over 3x as much contextual information while performing any task\. GPT‑3’s main skill is generating natural language in response to a natural language prompt, meaning the only way it affects the world is through the mind of the reader\. OpenAI Codex has much of the natural language understanding of GPT‑3, but it produces working code—meaning you can issue commands in English to any piece of software with an API\. OpenAI Codex empowers computers to better understand people’s intent, which can empower everyone to do more with computers\. Once a programmer knows what to build, the act of writing code can be thought of as \(1\) breaking a problem down into simpler problems, and \(2\) mapping those simple problems to existing code \(libraries, APIs, or functions\) that already exist\. The latter activity is probably the least fun part of programming \(and the highest barrier to entry\), and it’s where OpenAI Codex excels most\. OpenAI Codex is a general\-purpose programming model, meaning that it can be applied to essentially any programming task \(though results may vary\)\. We’ve successfully used it for transpilation, explaining code, and refactoring code\. But we know we’ve only scratched the surface of what can be done\. We’re now making OpenAI Codex available in private beta via our API, and we are aiming to scale up as quickly as we can safely\. During the initial period, OpenAI Codex will be offered for free\. OpenAI will continue building on the safety groundwork we laid with GPT‑3—reviewing applications and incrementally scaling them up while working closely with developers to understand the effect of our technologies in the world\.

Similar Articles

Introducing Codex

OpenAI Blog

OpenAI launches Codex, a cloud-based AI software engineering agent powered by codex-1 (optimized o3), capable of writing features, fixing bugs, and proposing pull requests with parallel task execution. Available to ChatGPT Pro, Business, Enterprise users today, with Plus and Edu support coming soon.

Powering next generation applications with OpenAI Codex

OpenAI Blog

OpenAI Codex, a natural language-to-code system based on GPT-3, is now powering 70+ applications across various use cases including GitHub Copilot. Azure OpenAI Service has expanded availability to limited preview, enabling enterprise access to Codex and other OpenAI models.

Introducing upgrades to Codex

OpenAI Blog

OpenAI releases GPT-5-Codex, an optimized version of GPT-5 specialized for agentic software engineering tasks, available via API and across Codex's integrated development environment with improved code review capabilities and long-form task execution.

What is Codex?

OpenAI Blog

OpenAI introduces Codex as a distinct AI agent designed to execute tasks across files and tools, complementing ChatGPT's conversational capabilities by handling workflows like file updates and automation.

Codex is now generally available

OpenAI Blog

OpenAI announces general availability of Codex with three new features: Slack integration for delegating tasks, Codex SDK for embedding in workflows, and admin tools for workspace management. GPT-4-Codex usage has grown 10x since August with over 40 trillion tokens served in three weeks.