Back to Gap Map Infrastructure / Deployment

OpenAI Code Interpreter

OpenAI
closed / Overall score: 3.6

Writes and runs Python inside an OpenAI-managed sandbox container, exposed as a tool on the Responses, Chat Completions and Assistants APIs so a model can compute, analyze attached files, and retry code that fails. Containers come in 1, 4, 16 and 64 GB memory tiers, are billed per 20-minute session, and expire after 20 minutes without use. OpenAI describes each container only as a sandboxed virtual machine, naming no isolation technology, and distributes no runtime.

Openness

1 high confidence
1.0
license
Proprietary
service
proprietary(OpenAI-managed sandbox)
source
closed
isolation
undisclosed
access
API/tool only(no self-host, no open runtime)

Code Interpreter is a proprietary managed service. OpenAI releases no runtime and offers no self-hosted version, and it documents no isolation mechanism beyond calling each container a sandboxed virtual machine.

  • https://developers.openai.com/api/docs/guides/tools-code-interpreter recorded 2026-09-29

    Code Interpreter is reached only through the OpenAI API as a container: "A container is a fully sandboxed virtual machine that the model can run Python code in." The body carries no license text for the tool; its only self-hosted and open-source strings are site navigation labels ("Self-hosted sandboxes" for the Agents API, "Codex for Open Source"), and no Code Interpreter runtime or source is offered.

Adoption

4 low confidence
4.0

Code Interpreter ships inside ChatGPT's advanced data analysis feature and the Responses, Chat Completions and Assistants APIs, riding ChatGPT's mass-market weekly audience. OpenAI discloses no standalone usage figure for the tool itself, so adoption is read conservatively from that surface, on the assumption that only a fraction of ChatGPT users invoke code execution.

Capability

3 low confidence
3.0

Code Interpreter is a Python-only sandbox that lets a model retry failing code, with containers of up to 64 GB of memory, but each container is ephemeral and OpenAI documents neither its isolation technology nor its scaling internals. That narrower, less transparent design keeps it behind general-purpose sandboxes that isolate a wider range of runtimes.

Verified 2026-09-29