← Back to OpenAI updates ← Terug naar OpenAI-updates
OpenAI ARTICLE ARTIKEL 10 August 2021 10 augustus 2021

OpenAI Codex OpenAI Codex

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. 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.

Article details Artikelgegevens
AI maker AI-maker OpenAI Type Type Article Artikel Published Gepubliceerd 10 August 2021 10 augustus 2021 Updates Updates Videos Video's View original article Bekijk origineel artikel
Why it matters Waarom dit telt

Quick editorial signal Snelle redactionele duiding

4 min
Impact Impact

Relevant if you build with AI tools, APIs, or coding agents. Relevant als je bouwt met AI-tools, API's of coding agents.

Audience Voor wie Developers Developers
Level Niveau Expert Expert
  • Track this as a OpenAI update, not just a standalone headline. Bekijk dit als OpenAI-update, niet alleen als losse headline.
  • Useful for builders who need to understand API, coding, or workflow changes. Nuttig voor bouwers die API-, code- of workflowwijzigingen willen begrijpen.
  • Likely worth revisiting after people have used the release in practice. Waarschijnlijk de moeite waard om opnieuw te bekijken zodra mensen het in praktijk gebruiken.
model apps video developers

Start using Codex(opens in a new window)

Listen to article

_Update on May 16, 2025:_ _We launched Codex, a cloud-based software engineering agent that can work on many tasks in parallel.Learn more_⁠_._⁠⁠(opens in a new window)⁠⁠(opens in a new window)⁠⁠(opens in a new window)

_Update on April 16, 2025: We launched Codex CLI, our new open source local coding agent. To get started, please visithttps://github.com/openai/codex_⁠(opens in a new window)_._

_The OpenAI Codex models weredeprecated_⁠(opens in a new window)_in March 2023. To learn about our latest coding models, please visit ourdocs_⁠(opens in a new window)_._

* * *

Codex is the model that powersGitHub Copilot⁠(opens in a new window), which we built and launched in partnership with GitHub a month ago. Proficient in more than a dozen programming languages, Codex can now interpret simple commands in natural language and execute them on the user’s behalf—making it possible to build a natural language interface to existing applications. We are now inviting businesses and developers to build on top of OpenAI Codex through our API.

Spacegame

Play video

Five browser windows on a computer desktop screen showing repeated 'HELLOWORLD' text.

Datascience

Video carousel navigation

Play video

Play video

Play video

Play video

Video carousel navigation

* Go to slide 1

Creating a Space Game with OpenAI Codex

Tweet

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.

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.

Authors

Wojciech Zaremba, Greg Brockman, OpenAI

Related articles

View all

Global news partnerships: Le Monde and Prisa Media Company Mar 13, 2024

Review completed & Altman, Brockman to continue to lead OpenAI Company Mar 8, 2024

OpenAI announces new members to board of directors Company Mar 8, 2024

Related articles

View all

Global news partnerships: Le Monde and Prisa Media Company Mar 13, 2024

Review completed & Altman, Brockman to continue to lead OpenAI Company Mar 8, 2024

OpenAI announces new members to board of directors Company Mar 8, 2024

Help shape what we cover next Help bepalen wat we hierna volgen

Anonymous feedback, no frontend account needed. Anonieme feedback, zonder front-end account.

Watch related videos Bekijk gerelateerde video's

Open videos → Open video's →
OpenAI Codex in your code editor
OpenAI Video Video
17 Oct 2025 17 okt. 2025

OpenAI Codex in your code editor OpenAI Codex in je code-editor

Use Codex right in your code editor with the new IDE extension for VS Code, Cursor and other forks. In this video, Gabriel Peal and Romain Huet show you how to explore code, implement new features, and brainstorm front-end design ideas for... Gebruik Codex rechtstreeks in je code-editor met de nieuwe IDE-extensie voor VS Code, Cursor en andere forks. In deze video laten Gabriel Peal en Romain Huet zien hoe je code verkent, nieuwe functies implementeert en brainstormt over front-endontwerpideeën voor...

Open video → Open video →
Shipping with Codex
OpenAI Video Video
8 Oct 2025 8 okt. 2025

Shipping with Codex Verschepen met Codex

"Hear how OpenAI engineers use Codex to rethink how code gets written, refactored, and merged. From pair programming in your local environment to delegating tasks to the cloud, this session focuses on how Codex is unlocking a faster, more... "Hoor hoe OpenAI-engineers Codex gebruiken om opnieuw na te denken over hoe code wordt geschreven, geherstructureerd en samengevoegd. Van pair programming in je lokale omgeving tot het delegeren van taken aan de cloud: deze sessie laat zien hoe Codex een snellere, meer...

Open video → Open video →
Using OpenAI Codex CLI with GPT-5-Codex
OpenAI Video Video
14 Oct 2025 14 okt. 2025

Using OpenAI Codex CLI with GPT-5-Codex OpenAI Codex CLI gebruiken met GPT-5-Codex

Learn how to use the Codex CLI + GPT-5-Codex in just 5 minutes. In this tutorial, Eason Goodale and Romain Huet show you how to build a multiplayer game with Codex — without writing a single line of code! Timestamps: 00:00 Intro 00:50... Leer in slechts 5 minuten hoe je Codex CLI + GPT-5-Codex gebruikt. In deze tutorial laten Eason Goodale en Romain Huet zien hoe je met Codex een multiplayergame bouwt — zonder ook maar één regel code te schrijven! Timestamps: 00:00 Intro 00:50...

Open video → Open video →

More from OpenAI Meer van OpenAI

All updates Alle updates

Gemini komt eraan