cheapaimodelSearch
Back to models

xAI: Grok 4.790% off

Verified
xAIgrok-4.7

xAI's most capable model, for coding, agentic tasks and knowledge work, released in September 2026 as the successor to Grok 4.6. It takes text and image input with a 500K-token context window and offers four reasoning effort levels, from low to xhigh.

Modalities
text, image → text
In / out price90% off
List price $2 / $6$0.198958 / $0.596874per 1M tokens
Context
500Ktokens
On this page

Pricing

Prices in US dollars, charged from your prepaid balance as you go. No subscription.

90% off90% below the list price, on every token price.

Input
List price $2$0.198958/ 1M tokens
Output
List price $6$0.596874/ 1M tokens
Cache read
List price $0.50$0.04974/ 1M tokens

Specs

Limits and capabilities as published by the model’s provider.

Context
500Ktokens
Input types
text, image
Output types
text
Knowledge cutoff
2026-05
Tokens, last 7 days
11Mtokens

Call this model

The examples read your key from the CHEAPAIMODEL_API_KEY environment variable.

curl https://api.cheapaimodel.ai/v1/chat/completions \
  -H "Authorization: Bearer $CHEAPAIMODEL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.7",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Endpoints

Endpoints that accept this model, each with its API reference.

  • POST /v1/chat/completionsChat Completions · OpenAI compatible
    API reference
  • POST /v1/responsesResponses · OpenAI compatible
    API reference

Compare with other models

Grok 4.7 side by side with each other model in the catalog: price, context and the same code.

From the blog

Posts on our blog that cover Grok 4.7: pricing, setup and troubleshooting.

All posts