Use OpenAI code interpreter with GPT-5.5

by OpenAICode execution

GPT-5.5 uses OpenAI code interpreter through Opper on the Responses endpoint, passed through as OpenAI defines it.

UseOpenAI code interpreterwithin

Add OpenAI code interpreter to GPT-5.5

Set up with agents

Paste this into your coding agent (Claude Code, Cursor, Codex, and more) and it will set up and build with Opper for you.

Get your API key

In your code

curl https://api.opper.ai/v3/compat/responses \
-H "Authorization: Bearer $OPPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-5.5",
"input": "Sum the first 50 primes and show your working.",
"tools": [{"type": "code_interpreter", "container": {"type": "auto"}}]}'

Where you can run it

GPT-5.5 runs OpenAI code interpreter on the routes below. Its route also sells flex and priority processing: the same model at another price, picked per request with service_tier. How service tiers work.

ProviderRegionZero data retentionTrainingInputOutputCache read
USNo$5.00$30.00$0.50

The model

by OpenAI

GPT-5.5 is OpenAI's newest frontier model, combining strong coding, reasoning, and web search and understanding multi-part tasks, with a 1M context window and vision.

Available on

Pricing from$5.00/ 1M input$30.00/ 1M output$0.50/ 1M cache read1.1Mcontext

Privacy

ZDR
Training
No
Region
EU + US

Use OpenAI code interpreter with other models

Step-by-step setup for OpenAI code interpreter on each of these models through Opper.

More tools on Opper

Use OpenAI code interpreter with GPT-5.5

One key, 700+ models, a choice of region, and zero data retention. Tools run in the same request, with every call in your traces.

Get startedView Documentation