Calculator/xAI/Grok 4.20
XA

Grok 4.20

by xAIWebsite
reasoningflagshiplong context

Input

$2.00/MTok

Output

$6.00/MTok

Batch Input

$1.00/MTok

batch API

Specifications

Context Window

2M context

Max Output

131.1K tokens

Caching

Supported

Batch API

Supported

Vision

Supported

Tool Use

Supported

Cost Examples

Single chat message

500 input + 300 output tokens

$0.0028/request

Code review

5,000 input + 2,000 output tokens

$0.02/request

Document summary

50,000 input + 1,000 output tokens

$0.11/request

100 requests/day

1,000 input + 500 output × 30 days

$15.00/month

Compare Grok 4.20

See how Grok 4.20 stacks up against GPT-4.1 and o3.