xAI

Grok 4.7

Grok 4.7 is xAI's general-purpose model. It reads images and reasons step by step before it answers. It takes up to 500K tokens of context and writes up to 500K per response.

Vision inputReasoningStreaming

Output price

$3.72

USD / 1M tokens

38% below list price

Add $5, get $5 more on your first top-up.

Same Grok 4.7. 38% less.

Price
USD / 1M tokens, next to xAI's list price.
TokensList pricePromptsForLess
Input$2.00$1.24
Output$6.00$3.72
Your monthly bill
Enter your monthly usage to see the difference.
At list price$32
With PromptsForLess$19.84

That's $12.16 saved every month.

USD, before tax and prompt caching.

Specs.

Model ID
grok-4.7
Made by
xAI
Context window
500K tokens
Max output
500K tokens
Endpoint
/v1/chat/completions
Billing
Per token, from one balance
Built for
  • Text and code. Drafting, summarising, extraction, chat and code, with the output streamed back as it is generated.
  • Reasoning. Works through multi-step problems before answering, for planning, analysis and agent workflows.
  • Vision. Send screenshots, photos, charts and documents alongside your prompt.

Edge gateways

Requests enter at the gateway nearest your app and go straight to the model, so routing adds very little to each call.

One key, every model

Switch models by changing a string. One prepaid balance covers all of them, billed per token.

Nothing stored

We keep token counts for billing, never your prompts or responses.

Call Grok 4.7 in a minute.

Point any OpenAI-compatible client at our base URL, keep your key in an environment variable, and use the model ID grok-4.7.

Copy
import os
from openai import OpenAI

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

response = client.chat.completions.create(
    model="grok-4.7",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

More from xAI.

Questions.

How much does Grok 4.7 cost?

$3.72 / 1M tokens output and $1.24 / 1M tokens input, 38% below xAI's list price. You pay per token from a prepaid balance, with no subscription or minimum. We match your first $5 top-up, so you start with $10 of credit.

Is it the real Grok 4.7?

Yes. Your requests run on xAI's Grok 4.7, not a distilled copy or a substitute. The discount comes from how we buy capacity, not from changing the model.

Which tools can use Grok 4.7?

Anything that speaks the OpenAI API: set the base URL to our endpoint and use the model ID grok-4.7. We have setup guides for Cursor, Codex, OpenCode, the OpenAI and Vercel AI SDKs, LangChain and more.

How fast is it?

Requests go through our edge gateways, so the network hop adds very little on top of Grok 4.7's own generation time. Responses stream back token by token.