Logo

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

Anthropic
OpenAI

Models with this Capability

Claude 3.5 Sonnet

Anthropic · Claude

ID: anthropic-claude-3-5-sonnet

Current

Input

200K tokens

Output

4.1K tokens

Input Cost

$3.00/1M

Output Cost

$15.00/1M

Exceptional at:

reasoning
math
+7

babbage-002

OpenAI · GPT-3

ID: babbage-002

outdated

Input

0 tokens

Output

16.4K tokens

Input Cost

$0.40/1M

Output Cost

$0.40/1M

o3

OpenAI · OpenAI

ID: o3

Current

Input

200K tokens

Output

100K tokens

Input Cost

$10.00/1M

Output Cost

$40.00/1M

Exceptional at:

complex reasoning
math
+6

GPT-3.5 Turbo

OpenAI · GPT-3.5

ID: gpt-3.5-turbo

outdated

Input

16.4K tokens

Output

4.1K tokens

Input Cost

$0.50/1M

Output Cost

$1.50/1M

Exceptional at:

chat

Claude Opus 4

Anthropic · Claude 4

ID: claude-opus-4-0

Current

Input

200K tokens

Output

32K tokens

Input Cost

$15.00/1M

Output Cost

$75.00/1M

Exceptional at:

complex reasoning
advanced coding
+4

Similar Capabilities