xAI: Grok Latest (Grok 4.7)Official docs

xAI: Grok Latest (Grok 4.7)

byxAI
Official docs

Grok Latest (Grok 4.7) is a reasoning model from xAI released on May 3, 2026. It reads text, images and files and writes text, with a 524K token context window and up to 500K tokens per reply.

Show more

It costs $2 per million input tokens and $6 per million output tokens. Cached input bills at $0.20, 90% less than fresh input.

It supports tool calling, structured JSON output and prompt caching.

2 providers serve it, including Eden AI and NanoGPT.

Modalities
In / out price
$2 / $6 per 1M
Context
524K
Max output
500K
Released
May 3, 2026
Knowledge cutoff
May 2026
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

Grok Latest (Grok 4.7) pricing

USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$2 / 1M tokens
Output$6 / 1M tokens
Cached input (read)$0.20 / 1M tokens
Cache write$2.50 / 1M tokens

Grok Latest (Grok 4.7) providers

2 providers serve it, including Eden AI and NanoGPT. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.

ProviderInput /MOutput /MCache read /MContextMax output
Eden AI$2$6$0.20524K500K
NanoGPT$2$6$0.50500K450K

What Grok Latest (Grok 4.7) costs per month

Pick a workload close to yours or type your own volumes.

Grok Latest (Grok 4.7) per month
$132
Without caching
$213
Per request
$0.0044

Supported request parameters

What you can set when you call Grok Latest (Grok 4.7) through an OpenAI compatible API.

  • Toolstools
  • Structured outputsstructured_outputs
  • Reasoningreasoning
  • Temperaturetemperature

Alternatives to Grok Latest (Grok 4.7)

Models that take the same inputs and call tools, closest in price, cheaper ones first.

  • Index 46.5

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 36 providers.

    by x-aiSep 21, 2026500K context$2/M input tokens$6/M output tokens36 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 34 providers.

    by x-aiAug 12, 2026$2/M input tokens$6/M output tokens34 providers

  • Index 45.4

    Reads text, images, files and video. Tool calling, structured output, reasoning. Served by 44 providers.

    by qwenJul 19, 20261M context$2/M input tokens$6/M output tokens44 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.

    by x-aiJul 8, 2026$2/M input tokens$6/M output tokens26 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 14 providers.

    by mistralaiApr 28, 2026262K context$1.50/M input tokens$7.50/M output tokens14 providers

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 20 providers.

    by googleNov 12, 2026$1.50/M input tokens$7.50/M output tokens20 providers

More from xAI

  • Generates video from text and images. Served by 2 providers.

    by x-aiOct 1, 20262 providers

  • Index 46.5

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 36 providers.

    by x-aiSep 21, 2026500K context$2/M input tokens$6/M output tokens36 providers

  • Grok Voice STT 1.0

    Transcription

    Turns speech into text.

    by x-aiSep 17, 2026

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 34 providers.

    by x-aiAug 12, 2026$2/M input tokens$6/M output tokens34 providers

  • Generates images from text and images. Served by 3 providers.

    by x-aiAug 7, 20263 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.

    by x-aiJul 8, 2026$2/M input tokens$6/M output tokens26 providers

All xAI models

Grok Latest (Grok 4.7) questions

How much does the Grok Latest (Grok 4.7) API cost?

$2 per million input tokens and $6 per million output tokens, with cached input at $0.20. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of Grok Latest (Grok 4.7)?

524,288 tokens of input, and it can write up to 500,000 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Which providers serve Grok Latest (Grok 4.7)?

2 providers serve it, including Eden AI and NanoGPT. Prices differ by host, so the Providers table on this page lists each one with its input and output price.

Does Grok Latest (Grok 4.7) support tool calling?

Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.

Is Grok Latest (Grok 4.7) open source?

No. xAI serves it through an API only, so you cannot download the weights or host it yourself.

When was Grok Latest (Grok 4.7) released?

May 3, 2026, with training data up to May 2026.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.