Compare models

Up to four models side by side.

Compare models
GPT-5.1 OpenAI Deprecated Grok 4.7 xAI
Input $1.25, Best in row $2.00
Output $10.00 $6.00, Best in row
Blended $3.44 $3.00, Best in row
Context window 400k 500k, Best in row
Max output 128k No data
Output speed 103, Best in row 92.7
Quality 76.7, Best in row 56.5
Reasoning 57.9, Best in row 43.1
Coding 61.1, Best in row 57.4
Value 5.5, Best in row 4.6
Vision ✓ ✓
Reasoning ✓ ✓
Tool calling ✓ ✓
Structured output ✓ ✓
Prompt caching ✓ ✓
Batch API ✓ ✓
Licence Proprietary Proprietary
API model id gpt-5.1 grok-4.7

At a glance

Input price, per million tokens
  1. GPT-5.1OpenAI$1.25
  2. Grok 4.7xAI$2.00
Output price, per million tokens
  1. GPT-5.1OpenAI$10.00
  2. Grok 4.7xAI$6.00
Context window
  1. GPT-5.1OpenAI400k
  2. Grok 4.7xAI500k

Popular comparisons

Head-to-head pages for models people weigh against each other.

Language models 77
Image generation 18
Video generation 11
Text to speech 9
Speech to text 25
Voice and realtime 17
Embeddings 3