Grok 4.7

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tool calling, and knowledge work, accepting text and image input and returning text.

input · usd / 1m tok

$2.00

output · usd / 1m tok

$6.00

context window

500ktokens

modalities · in → out

takes text and image in, gives text out

pricing

base api ratesusd per 1m tokens

input
$2.00over 200k · $4.00
output
$6.00over 200k · $12.00
cache read
$0.50over 200k · $1.00

brackets are by input tokens per request: a request over a threshold is billed at that bracket's rates for all of its tokens. cache creation can have a separate charge.

providers

xAI hosts Grok 4.7. Impossibl routes your request intelligently and handles failover automatically when a provider is down.

  • xAI

specifications

takes text and image in, gives text outxai/grok-4.7

  • creatorxAI
  • model typeText generation
  • context window500,000 tokens
  • maximum outputnot published
  • input

    takes text and image in, gives text out

  • outputtext
  • tool callingnot verified
  • releasedsep 21, 2026
  • endpoint/v1/chat/completions

unknown means the public catalog does not establish that fact. a model's documented capabilities can differ from what a particular api supports. see the model documentation for integration details.

try it · your prompt, this model, live

# responses API
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["IMPOSSIBL_API_KEY"],
    base_url="https://api.impossibl.com/v1",
)

resp = client.responses.create(
    model="xai/grok-4.7",
    input="",
)
print(resp.output_text)

edit the prompt, then run

benchmarks

benchmark results are not available for this model yet.

compare Grok 4.7 with other models

frontier labs and open weights, best-ranked firstusd / 1m tok · in / out

impossibl models --all →

frequently asked questions

What is Grok 4.7?

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tool calling, and knowledge work, accepting text and image input and returning text. It sits above Grok 4.6 on a larger base model trained for longer-running tasks, and adds an xhigh reasoning rung its predecessors do not expose.

How much does Grok 4.7 cost?

Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens through the Impossibl API. Cache reads cost $0.50 per million tokens. These base rates apply through 200,000 total input tokens per request. Above 200,000 input tokens, the long-context rates in the pricing table apply to the whole request. All rates are in USD.

view the pricing table ↑

What is the context length of Grok 4.7?

Grok 4.7 has a 500,000-token context window through the Impossibl API.

What inputs and outputs does Grok 4.7 support?

Grok 4.7 accepts text and image as input. Grok 4.7 returns text.

How do I use Grok 4.7 through an API?

Grok 4.7 is available through the Impossibl API. Use xai/grok-4.7 as the model identifier with /v1/chat/completions. The quickstart explains how to create an API key and send your first request.

follow the api quickstart →

When was Grok 4.7 released?

xAI released Grok 4.7 on September 21, 2026.

this page describes Grok 4.7 as listed by the impossibl public api. prices and availability come from that catalog, refreshed here every five minutes. this is an impossibl offering, not a comparison of independent hosting-provider quotes. model descriptions and release dates, where available, use the creator sources linked under the answers above.

view the source catalog ↗model as markdown ↗report a correction →