Model pricing calculator

Grok 4.7 Pricing Calculator

Estimate Grok 4.7 API cost from xAI and compare it with nearby llm alternatives.

Cheapest eligibleCalculating
Balanced optionCalculating
CoverageCalculating
Provider / modelEstimated monthly costUnit priceContextRate limitSignal

Excluded or custom-priced models

Provider / modelStatusReason

Grok 4.7 Pricing Snapshot

Unit price

$2 input / $6 output per 1M tokens

Context and rate limits

500,000 token context, 200 RPM listed.

Best for

coding, agentic tool calling, general assistants

Compare Grok 4.7 With Similar Models

ProviderModelCategoryCurrent pricingContextCapabilities
xAI Grok 4.7
Standard API rate; batch and regional endpoints can differ.
llm $2 input / $6 output per 1M tokens 500,000 streaming json mode tool calling batch api
Perplexity Perplexity Search API
Standard Search API is billed per successful request; each request may contain multiple queries.
llm $5 per 1K requests Not applicable json mode
Groq GPT OSS 20B
Developer plan published rate.
llm $0.075 input / $0.3 output per 1M tokens 131,072 streaming json mode tool calling batch api
OpenAI GPT-6 Luna
Standard rate. Batch is 50% off.
llm $0.1 input / $0.5 output per 1M tokens 272,000 streaming json mode tool calling batch api
Anthropic Claude Haiku 5.5
Prompts up to 100K tokens use $0.10 input / $0.50 output per 1M. Above 100K use $0.50 / $2.50.
llm $0.1 input / $0.5 output per 1M tokens · above 100,000 prompt tokens: $0.5 / $2.5 1,000,000 streaming json mode tool calling batch api
Cohere Command R
Published list price.
llm $0.15 input / $0.6 output per 1M tokens 128,000 streaming json mode tool calling batch api
Together AI GPT-OSS 120B
Serverless standard rate.
llm $0.15 input / $0.6 output per 1M tokens 131,072 streaming json mode tool calling batch api
Together AI Qwen3.8 Flash
Serverless standard rate.
llm $0.15 input / $0.47 output per 1M tokens 131,072 streaming json mode tool calling batch api
Groq GPT OSS 120B
Developer plan published rate.
llm $0.15 input / $0.6 output per 1M tokens 131,072 streaming json mode tool calling batch api

Recommended Starting Points

Lowest listed starting rate

Groq GPT OSS 20B

$0.075 input / $0.3 output per 1M tokens

Developer plan published rate.

Balanced comparison pick

OpenAI GPT-6 Luna

$0.1 input / $0.5 output per 1M tokens

Standard rate. Batch is 50% off.

Useful alternative

Anthropic Claude Haiku 5.5

$0.1 input / $0.5 output per 1M tokens · above 100,000 prompt tokens: $0.5 / $2.5

Prompts up to 100K tokens use $0.10 input / $0.50 output per 1M. Above 100K use $0.50 / $2.50.

Pricing Details

ProviderModelCategoryCurrent pricingContextCapabilities
xAI Grok 4.7
Standard API rate; batch and regional endpoints can differ.
llm $2 input / $6 output per 1M tokens 500,000 streaming json mode tool calling batch api
Perplexity Perplexity Search API
Standard Search API is billed per successful request; each request may contain multiple queries.
llm $5 per 1K requests Not applicable json mode
Groq GPT OSS 20B
Developer plan published rate.
llm $0.075 input / $0.3 output per 1M tokens 131,072 streaming json mode tool calling batch api
OpenAI GPT-6 Luna
Standard rate. Batch is 50% off.
llm $0.1 input / $0.5 output per 1M tokens 272,000 streaming json mode tool calling batch api
Anthropic Claude Haiku 5.5
Prompts up to 100K tokens use $0.10 input / $0.50 output per 1M. Above 100K use $0.50 / $2.50.
llm $0.1 input / $0.5 output per 1M tokens · above 100,000 prompt tokens: $0.5 / $2.5 1,000,000 streaming json mode tool calling batch api
Cohere Command R
Published list price.
llm $0.15 input / $0.6 output per 1M tokens 128,000 streaming json mode tool calling batch api
Together AI GPT-OSS 120B
Serverless standard rate.
llm $0.15 input / $0.6 output per 1M tokens 131,072 streaming json mode tool calling batch api
Together AI Qwen3.8 Flash
Serverless standard rate.
llm $0.15 input / $0.47 output per 1M tokens 131,072 streaming json mode tool calling batch api
Groq GPT OSS 120B
Developer plan published rate.
llm $0.15 input / $0.6 output per 1M tokens 131,072 streaming json mode tool calling batch api

Limits and Notes

Rates checked 2026-11-10. Tiered, batch, cached-input, peak/off-peak, and regional pricing can differ from the standard planning rate shown here. Confirm the official source before committing budget.

FAQ

How is monthly cost calculated?

Token APIs use input and output token prices. Per-request APIs use monthly requests. Character-priced TTS uses monthly characters, while token-priced speech models use text and audio token volumes. Vector database estimates use storage and read/write units when the provider publishes them.

Why are some models excluded?

The calculator excludes models that miss required context, rate-limit, streaming, JSON, or tool-calling requirements. Custom or purely resource-based pricing is also excluded from numeric ranking.

Are prices guaranteed?

No. This is a planning dataset with official source links. Model availability, promotions, and account-tier limits can change.

Data Sources and Last Checked

Official Source

xAI official pricing · checked 2026-11-10