Grok Build 0.1 vs Qwen3.8 Max pricing

Prices

Grok Build 0.1 and Qwen3.8 Max prices, USD per 1M tokens
USD per 1M tokensGrok Build 0.1Qwen3.8 Max
Input$1.00$2.00
Output$2.00$6.00
Cache read$0.20$0.25
Cache writeNot published$2.50
Batch inputNot publishedNot published
Batch outputNot publishedNot published

xAI's list price for its own API, as compiled by models.dev and checked Oct 10, 2026, 09:00 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

Monthly cost by workload

WorkloadGrok Build 0.1Qwen3.8 Max
Chatbot1,000 in / 500 out tokens, 10,000 requests a day$600.00/mo$1,500/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day$1,350/mo$2,850/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input$660.00/mo$1,260/mo

Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.

Context and capabilities

Grok Build 0.1Qwen3.8 Max
Context256,000 tokens1,000,000 tokens
Max output256,000 tokens131,072 tokens
Inputtext, image, pdftext, image, video, pdf
Tool callingYesYes
ReasoningYesYes
Structured outputsYesYes

Questions

What is the price difference between Grok Build 0.1 and Qwen3.8 Max?
Grok Build 0.1: $1.00 per 1M input tokens and $2.00 per 1M output tokens. Qwen3.8 Max: $2.00 per 1M input tokens and $6.00 per 1M output tokens. For the Chatbot workload (1,000 in / 500 out tokens, 10,000 requests a day), that is about $600.00 per month for Grok Build 0.1 and $1,500 for Qwen3.8 Max.
Which has the longer context window, Grok Build 0.1 or Qwen3.8 Max?
Qwen3.8 Max has the longer context window: up to 1,000,000 tokens, compared with 256,000 for Grok Build 0.1.
Do Grok Build 0.1 and Qwen3.8 Max have prompt caching and batch prices?
Grok Build 0.1: cached input $0.20 per 1M tokens; no batch price published. Qwen3.8 Max: cached input $0.25 per 1M tokens; no batch price published.

More comparisons