AI Models with Code Generation Support
This page lists Large Language Models that offer Code Generation. Compare models, see how they implement this feature, and find the best option for projects requiring robust Code Generation.
Providers
Models with this Capability
Claude 3.5 Sonnet
Anthropic · Claude
ID: anthropic-claude-3-5-sonnet
Input
200K tokens
Output
4.1K tokens
Input Cost
$3.00/1M
Output Cost
$15.00/1M
Exceptional at:
babbage-002
OpenAI · GPT-3
ID: babbage-002
Input
0 tokens
Output
16.4K tokens
Input Cost
$0.40/1M
Output Cost
$0.40/1M
o3
OpenAI · OpenAI
ID: o3
Input
200K tokens
Output
100K tokens
Input Cost
$10.00/1M
Output Cost
$40.00/1M
Exceptional at:
GPT-3.5 Turbo
OpenAI · GPT-3.5
ID: gpt-3.5-turbo
Input
16.4K tokens
Output
4.1K tokens
Input Cost
$0.50/1M
Output Cost
$1.50/1M
Exceptional at:
Claude Opus 4
Anthropic · Claude 4
ID: claude-opus-4-0
Input
200K tokens
Output
32K tokens
Input Cost
$15.00/1M
Output Cost
$75.00/1M
Exceptional at: