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
Workload
Grok 4.7
Mistral Medium 3.5
Chatbot1,000 in / 500 out tokens, 10,000 requests a day
$1,500/mo
$1,575/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day
$2,850/mo
$2,363/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input
$1,560/mo
$1,080/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 4.7
Mistral Medium 3.5
Context
500,000 tokens
262,144 tokens
Max output
500,000 tokens
262,144 tokens
Input
text, image, pdf
text, image
Tool calling
Yes
Yes
Reasoning
Yes
Yes
Structured outputs
Yes
Yes
Questions
What is the price difference between Grok 4.7 and Mistral Medium 3.5?
Grok 4.7: $2.00 per 1M input tokens and $6.00 per 1M output tokens. Mistral Medium 3.5: $1.50 per 1M input tokens and $7.50 per 1M output tokens. For the Chatbot workload (1,000 in / 500 out tokens, 10,000 requests a day), that is about $1,500 per month for Grok 4.7 and $1,575 for Mistral Medium 3.5.
Which has the longer context window, Grok 4.7 or Mistral Medium 3.5?
Grok 4.7 has the longer context window: up to 500,000 tokens, compared with 262,144 for Mistral Medium 3.5.
Do Grok 4.7 and Mistral Medium 3.5 have prompt caching and batch prices?
Grok 4.7: cached input $0.50 per 1M tokens; no batch price published. Mistral Medium 3.5: cached input $0.15 per 1M tokens; no batch price published.