xAI

xAI

Grok 4.7

xAI's newest flagship for coding, agentic tasks and knowledge work, built on a larger base model than Grok 4.6. 500K context, image and file input, reasoning at low to xhigh effort; the rate doubles above 200K prompt tokens.

Modalities

Text+Image → Text

Below release

Not established

Weights

Not published

Where it sits in the catalogue Kyma measures

Every number against every text model Kyma prices per token — a stated rule, not a chosen line-up.

Price · input#54/71

$2.16

output $6.48 · cached $0.54

median $1.013 · best $0.0494

Price · output#51/70

$6.48

per 1M tokens generated

median $3.531 · best $0.218

Availability · 30d#1/70

100%

54 observations since 2026-09-21

median 95.3% · best 100.0%

Throughput

median 37.5 tok/s · best 354.3 tok/s

Response time

median 2.49 s · best 0.84 s

Context

500K

max output 450,000

published by xAI, not measured here

Tick above each rail is this model, below it the other 70. Dashed rule is the field median, solid is its best. Better is left; the axis stops at the 90th percentile, so a few models sit past its right edge.

Usage

How much this model is actually called here.

Rank

#64

of 100 active models

Tokens served

185.0K

all-time

Platform share

0.0%

of all tokens

Tokens · last 15 daysSep 19 → Oct 3

Pricing

Pay per token. Cached input bills at this model’s own cached rate, listed below.

$2.16 /1M input$6.48 /1M output
Hobby10 req/day · 2K in / 500 out
~$2.27/mo
Production1,000 req/day · 2K in / 500 out
~$227/mo
Scale20,000 req/day · 2K in / 500 out
~$4,536/mo
+ Estimate your workload
1,000
2,000
500
30%

Estimated monthly cost

$198

$6.59 / day on Grok 4.7

Same workload on:

Grok 4.6$290+47%
Grok 4.20 Multi-Agent$159-20%

Estimates use list pricing with cached input at this model's own cached rate. Actual bills depend on real token counts, and every response includes its exact cost.

How it compares

Against the peers people actually weigh it against.

SpecGrok 4.7Grok 4.6Grok 4.20 Multi-Agent
Input /1M$2.16$2.758$1.767
Output /1M$6.48$8.274$3.534
Context500K500K2M
ToolsYesYesNo
ReasoningYesYesYes
Throughput59 tok/s354 tok/s

Quick start

Up and running in under two minutes.

  1. 1

    Create an API key

    Sign up and grab a key from the dashboard. Grok 4.7 needs a top-up — the signup credit covers the free tier.

    Get API key →
  2. 2

    Make your first request

    Drop in your key and send a chat completion — fully OpenAI-compatible.

    curl https://kymaapi.com/v1/chat/completions \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "grok-4.7",
        "messages": [
          {"role": "user", "content": "Explain prompt caching in one paragraph."}
        ]
      }'
  3. 3

    Stream responses

    Add "stream": true to receive tokens as they arrive.

    curl https://kymaapi.com/v1/chat/completions \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "grok-4.7",
        "stream": true,
        "messages": [{"role": "user", "content": "Hello!"}]
      }'

FAQ

Common questions about this model.

What is the context window of Grok 4.7?

Grok 4.7 has a 500K-token context window — roughly 735 pages of text in a single request.

How much does the Grok 4.7 API cost?

$2.16 per 1M input tokens and $6.48 per 1M output tokens, with cached input at $0.54/1M — 75% off the input rate on repeated prompt prefixes. No subscription; you pay only for what you use.

Does Grok 4.7 support function calling?

Yes — Grok 4.7 supports tool/function calling and structured outputs (JSON mode), so it works with agent frameworks out of the box.

Are the weights for Grok 4.7 publicly available?

No. xAI does not publish Grok 4.7's weights — it is reachable through an API rather than as a file you can download and run (https://docs.x.ai/developers/release-notes, read 2026-09-21). That is xAI's decision about their own product, not a limitation of Kyma.

Is Grok 4.7 ever served below the precision its creator released it at?

Kyma cannot say, and for this model nobody can. xAI does not publish Grok 4.7's weights, so there is no released checkpoint whose precision a route could be measured against. We publish "not established" rather than reading a low format as a downgrade: on several models in this catalogue a low format is exactly how the creator ships it.

How do I use Grok 4.7?

Kyma is OpenAI-compatible: point your SDK's base URL at https://kymaapi.com/v1, use your Kyma API key, and set the model to grok-4.7. Signing up is free, but this model needs a top-up: the $0.50 signup credit covers the free tier only.

Needs a top-up — the signup credit covers the free tier.Create account →

More models by xAI

ModelContextInputOutput
xAIGrok 4.6500K$2.758$8.274
xAIGrok 4.5500K$2.73$8.189
xAIGrok Build256K$1.389$2.777
xAIGrok 4.31M$1.92$3.838
xAIGrok 4.202M$1.763$3.528
xAIGrok 4.20 Multi-Agent2M$1.767$3.534