AI Models with Code Execution Support
This page lists Large Language Models that offer Code Execution. Compare models, see how they implement this feature, and find the best option for projects requiring robust Code Execution.
Providers
Google
OpenAI
Models with this Capability
Gemini 2.0 Flash
Google · Gemini
ID: google-gemini-2.0-flash-live
Current
Input
1M tokens
Output
0 tokens
Input Cost
$0.10/1M
Output Cost
$0.40/1M
Exceptional at:
instruction following
computer-use-preview
OpenAI · Computer Use Preview
ID: computer-use-preview-2025-03-11
preview
Input
0 tokens
Output
0 tokens
Input Cost
$3.00/1M
Output Cost
$12.00/1M
Exceptional at:
system interaction
task automation
+1
Gemini 1.5 Pro
Google · Gemini
ID: google-gemini-1.5-pro
Current
Input
2M tokens
Output
0 tokens
Input Cost
$1.25/1M
Output Cost
$5.00/1M
Exceptional at:
long context processing
complex reasoning
+1