AI models with code execution: they run the code, not guess it
| # | AI model | Capabilities | API $/1M (in / out) | Context window | Price / mo | Output $/1M | Overview | Visit site |
|---|---|---|---|---|---|---|---|---|
| 1 | Claude Fable 5.1 Anthropic | $10 / $50 | 1M tokens | API only | 50 | View | ||
| 2 | GPT-6 Astra OpenAI | $10 / $50 | 1.05M tokens | API only | 50 | View | ||
| 3 | GPT-6.1 Sol OpenAI | $2 / $10 | 1.05M tokens | API only | 10 | View | ||
| 4 | GPT-6 Sol OpenAI | $2 / $10 | 1.05M tokens | API only | 10 | View | ||
| 5 | GPT-6 Luna OpenAI | $0.1 / $0.5 | 1.05M tokens | API only | 0.5 | View | ||
| 6 | Claude Opus 5 Anthropic | $5 / $25 | 1M tokens | API only | 25 | View | ||
| 7 | Claude Fable 5 Anthropic | $10 / $50 | 1M tokens | API only | 50 | View | ||
| 8 | GPT-5.6 Sol OpenAI | $4 / $20 | 1.05M tokens | API only | 20 | View | ||
| 9 | GPT-5.6 Terra OpenAI | $2 / $12 | 1.05M tokens | API only | 12 | View | ||
| 10 | Claude Opus 4.8 Anthropic | $5 / $25 | 1M tokens | API only | 25 | View | ||
| 11 | Gemini 3.8 Flash Google | $0.75 / $3.75 | 1.05M tokens | API only | 3.75 | View | ||
| 12 | Gemini 3.7 Flash Google | $0.75 / $3.75 | 1.05M tokens | API only | 3.75 | View | ||
| 13 | GPT-5.5 OpenAI | $5 / $30 | 1.05M tokens | API only | 30 | View | ||
| 14 | Claude Sonnet 5 Anthropic | $2 / $10 | 1M tokens | API only | 10 | View | ||
| 15 | GPT-5.6 Luna OpenAI | $0.2 / $1.2 | 1.05M tokens | API only | 1.2 | View | ||
| 16 | Gemini 3.6 Flash Google | $0.75 / $3.75 | 1.05M tokens | API only | 3.75 | View | ||
| 17 | Claude Sonnet 4.6 Anthropic | $3 / $15 | 1M tokens | API only | 15 | View | ||
| 18 | GPT-5.4 Mini OpenAI | $0.75 / $4.5 | 400K tokens | API only | 4.5 | View | ||
| 19 | Gemini 3.5 Flash-Lite Google | $0.3 / $2.5 | 1.05M tokens | API only | 2.5 | View | ||
| 20 | GPT-5.4 Nano OpenAI | $0.2 / $1.25 | 400K tokens | API only | 1.25 | View |
Browse by need
Forty-seven models can run code in a vendor-hosted sandbox while producing an answer - doing arithmetic properly, parsing an uploaded file, plotting a chart, testing a snippet before returning it. The sandbox is the vendor, so there is nothing to provision on your side.
Anthropic, OpenAI and Google all offer it, with output from $0.34 to $50 per million tokens. Sandbox time is billed separately from tokens, so check both meters before estimating cost. The capability matters most for data analysis: a model that calculates in a sandbox is reliably right, while a model calculating in its head is confidently approximate.
Models with this capability
The 47 models below all support this capability. Prices are input and output per 1M tokens from the vendor official price list; for dirhams multiply by 3.6725. Tap a card to open the model page.
How to choose
- Use it for anything numerical — model arithmetic remains unreliable without execution.
- Check sandbox limits: memory, runtime and whether network access is available.
- Watch session billing; short-lived containers are cheaper than long idle ones.
- Validate outputs the same way you would validate a junior analyst.
Common mistakes
Who this suits
Related filters
Frequently asked questions
Where does the code run?
Is sandbox time billed separately?
Why does it matter for analysis?
Can the sandbox reach the internet?
Which languages are supported?
Frequently searched
Rate this page
Help us improve