Grok 4 Pricing

by xAI

Updated July 2025

Calculate Cost

According to UsagePricing's tracker, Grok 4 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens as of July 2025. The model supports a 256,000-token context window.

Frontier-tier reasoning model with 256K context window.

Token Costs (per 1M)

Input Price
$3.00
Output Price
$15.00

Technical Specs

Context Window 256,000 tokens
Last Updated July 2025
Provider xAI

Price History

Date Input Price Output Price
7/9/2025 $3.00 $15.00

Building with Grok 4?

Estimate your total monthly bill based on your expected traffic and usage patterns. Our advanced calculator handles complex scenarios like RAG and agentic workflows.

Start Free Calculation

Frequently Asked Questions

How much does Grok 4 cost per 1M tokens?

Grok 4 costs $3 per 1M input tokens and $15 per 1M output tokens as of March 2026.

What is Grok 4's context window?

Grok 4 has a context window of 256,000 tokens, meaning it can process approximately 192,000 words in a single request.

Who makes Grok 4?

Grok 4 is made by xAI. You can access it via the xAI API.