← All models
OpenAICurrent

GPT-4

General-purpose language tasks

Context Window

8K tokens

≈ 6K words

Input Price

$30

per 1M tokens

Output Price

$60

per 1M tokens

Released

March 2023

Capabilities

Tool / Function calling

Best for

General-purpose language tasks

Strengths

  • Broad capability
  • Reasoning
  • Writing
  • Code generation

API identifier

gpt-4

Compare GPT-4 side-by-side with any other model

Compare models →