XaiTool use

Grok 2 pricing

Compare Grok 2 API pricing across 2 listed sources. The best input rate we show is $2.00 per million tokens from Xai. The best output rate is $10.00 per million tokens from Xai.

131K context·2 providers·verified Apr 7, 2026
Best input$2.00per 1M tokens · Xai
Best output$10.00per 1M tokens · Xai

Pricing across providers

Every row is a seller of Grok 2 with token pricing we track. The cheapest input in this snapshot is from Xai. The bar chart shows the same input and output dollars per million for a quick scan.

X
Xainative
Input / 1M
$2.00
Output / 1M
$10.00
VA
Vercel Ai Gateway
Input / 1M
$2.00
Output / 1M
$10.00

Input vs output · per provider

Cost calculator

Use this block to stress test Grok 2 cost without a spreadsheet. All estimates come from public list rates in this page.

Provider

In: $2.00/M·Out: $10.00/M

0.200000¢ / req

0.500000¢ / req

Daily
$70
Monthly
$2.1K
Annual
$25.6K

Model specifications

These fields describe Grok 2 as we store it (source: Xai). They sit next to price so buyers can check limits and tools in one place.

Context window
131,072 tokens
Max output
4,000 tokens
Vision (images)
No
Tool / function calling
Yes
Streaming
No
Released
N/A
Primary provider
Xai
Model family
N/A

Compare Grok 2

Jump into a comparison when you want one table for two models instead of two tabs. 6 curated matches for Grok 2.

Frequently asked questions

Answers pull from the same numbers you see on this page.

Grok 2 costs $2.00 per million input tokens and $10.00 per million output tokens via the native API.

Also from Xai

Other models by Xai with live pricing in our catalog.