Grok 4.7 costs $2.00 per million input tokens, $0.50 cached and $6.00 output at xAI, and a request whose prompt reaches 200,000 tokens bills every token at double. Reasoning is always on and bills as output. xAI’s limits start at 150 requests per second. AIGROW credit bills $0.50, $0.125 and $1.50 at any length.
Building with AI models? AIGROW API credit runs Claude, GPT, Gemini, Grok, Qwen and Kimi models up to 75% below list price.
- At xAI, Grok 4.7 costs $2.00 per million input tokens, $0.50 cached and $6.00 per million output tokens. A request whose prompt reaches 200,000 tokens bills every token at $4.00, $1.00 and $12.00.
- Through AIGROW credit it costs $0.50 input, $0.125 cached and $1.50 output at any prompt length, in the OpenAI format.
- Reasoning is always on and bills as output. On five hard problems, low effort solved all five with 58% fewer output tokens than the default, high.
- xAI caches repeated prompts on its own. A 58,124-token prompt sent a third time was read whole from the cache and cost 26% of the first send.
- xAI’s limits for Grok 4.7 start at 150 requests per second and 50,000,000 tokens per minute and rise with cumulative spend. Past them the API returns 429.
What the Grok 4.7 API costs
xAI sells Grok 4.7 on its API at the rates on its models and pricing page. Prices are in US dollars per million tokens:
| Where | Input | Cached input | Output |
|---|---|---|---|
| xAI, prompt under 200,000 tokens | $2.00 | $0.50 | $6.00 |
| xAI, prompt of 200,000 tokens or more | $4.00 | $1.00 | $12.00 |
| xAI Batch API, prompt under 200,000 tokens | $1.60 | $0.40 | $4.80 |
| AIGROW credit, any prompt length | $0.50 | $0.125 | $1.50 |
xAI’s long-prompt rule covers the whole request. Once a prompt reaches 200,000 tokens, cached tokens included, every token of that request bills at the higher rate, its output too. The context window is 500,000 tokens, so the higher band covers more than half of it.
Reasoning tokens bill at the output rate, and the Batch API takes 20% off in exchange for asynchronous answers.
AIGROW credit bills Grok 4.7 at xAI’s standard rates, and credit costs 25% of its face value: $10 buys $40 of credit. In dollars paid, that is the last row. The catalogue the endpoint bills from has no long-prompt band for Grok 4.7, so a prompt over 200,000 tokens bills at the same rate as a short one, though we did not send one that long.
Credit is prepaid, by card or in crypto among other methods, with no subscription. The Grok price list has xAI’s other models beside it, and the Grok 4.7 model page its specifications.
What one request costs, measured
On 21 November 2026 we sent Grok 4.7 a set of small requests through our endpoint and read the tokens from the usage of each response. The last two columns price each request’s token counts at xAI’s standard rates and through AIGROW credit, for 1,000 requests like it:
| Request | Prompt tokens | Read from cache | Output tokens | Of them reasoning | 1,000 at xAI’s rates | 1,000 through credit |
|---|---|---|---|---|---|---|
| One-line question, no effort set | 57 | 57 | 86 | 85 | $0.54 | $0.14 |
| One-line question, low effort | 57 | 57 | 25 | 24 | $0.18 | $0.04 |
| 58,124-token prompt, first send | 58,124 | 1,280 | 74 | 73 | $114.77 | $28.69 |
| The same prompt, third send | 58,122 | 58,122 | 83 | 81 | $29.56 | $7.39 |
The prompt counts are what our endpoint reported and billed. Grok 4.7 reached through OpenRouter, the reference our model check uses for xAI’s model, reported 1,247 prompt tokens for the four-word prompt “Reply with exactly: OK” on 11 November 2026, so a short request there carries about 1,200 tokens its sender did not write. Through our endpoint on 21 November 2026 the same prompt counted 47, and the check’s other two prompts 91 and 155, 1,200 fewer each time: the endpoint takes that context off the count it shows and bills.
At xAI’s rates those tokens cost between $0.60 and $2.40 per 1,000 requests, depending on whether they are read from the cache.
All 24 Grok 4.7 requests behind this article used $0.33 of credit, $0.08 in dollars paid.
What reasoning adds to the bill
Grok 4.7 always reasons before it answers. xAI’s reasoning page says reasoning cannot be disabled, gives reasoning_effort four levels, low, medium, high, xhigh, and makes high the default. Reasoning tokens bill at the output rate, and the usage of each response counts them in completion_tokens_details.reasoning_tokens.
On hard work the effort setting decides most of the bill. We sent the five hard problems of our model check through our endpoint twice on 21 November 2026:
| Reasoning effort | Solved | Output tokens | Seconds | Output at xAI’s rates | Output through credit |
|---|---|---|---|---|---|
| None set, so high | 5 of 5 | 13,403 | 171 | $0.0804 | $0.0201 |
| low | 5 of 5 | 5,637 | 61 | $0.0338 | $0.0085 |
Low solved all five with 58% fewer output tokens, in about a third of the time. On a one-line question the setting made no saving: asked how many integers from 1 to 1000 are divisible by 3 or 5, Grok 4.7 answered 467, which is right, with 192 reasoning tokens at the default and 204 at low.
The reasoning text itself does not come back in the Chat Completions format. In our streamed runs the model sent at most a one-line summary in reasoning_content, while the same responses billed up to 381 reasoning tokens.
max_tokens limits the answer text, not the reasoning. Asked for a 600-word essay with max_tokens at 300, the answer stopped with finish_reason length, and the response billed 379 output tokens, 79 of them reasoning.
What keeps the cost down:
- Set
reasoning_efforton every request. xAI suggests low for latency-sensitive agent steps and simple tool calls and medium for data analysis and long-context work. Raise it where a lower level falls short. - Put what repeats, such as the system prompt, tool definitions and documents, at the start of the prompt and keep it identical, so later requests read it from the cache.
- At xAI, keep prompts under 200,000 tokens, or the whole request bills at double.
- Read
usage:prompt_tokens_details.cached_tokensfor cache reads andcompletion_tokens_details.reasoning_tokensfor reasoning.
Cache reads and speed on a long prompt
xAI caches prompts on its own: when a request starts with the same messages as a recent one, that part bills at the cached rate, a quarter of the input rate. There is nothing to switch on, and xAI’s prompt caching page says a hit is not guaranteed, since entries can be evicted and requests can reach another server.
On 21 November 2026 we sent a 58,124-token access log through our endpoint three times in a row, each time with a different question after it, at low effort. The first token is the first thing the stream sent, a reasoning summary or the answer:
| Send | Prompt tokens | Read from cache | First token | Whole answer |
|---|---|---|---|---|
| First | 58,124 | 1,280 | 5.9 s | 5.9 s |
| Second | 58,123 | 49,408 | 3.3 s | 7 s |
| Third | 58,122 | 58,122 | 3 s | 3 s |
The cache read 85% of the prompt on the second send and all of it on the third, which cost 26% of the first and answered in about half the time. All three answers were right. The second reasoned for 381 tokens before it answered, so its whole answer took longer than its first token.
Short prompts answered faster. A one-line question sent its first token after 2.2 seconds with no effort set and finished at 2.7, and at low effort finished at 2.4. Each of these times is one request, not an average.
xAI recommends an x-grok-conv-id header to keep a conversation’s requests on one server. We did not test that header through our endpoint.
Grok 4.7 rate limits and the 429 error
xAI limits each team per model on requests per second and tokens per minute, and returns 429 Too Many Requests past either. The limits rise with the team’s tier, which follows its cumulative spend on the API since 1 January 2026 and never goes down. For Grok 4.7, from xAI’s rate limits page:
| Tier | Spend to reach it | Requests per second | Tokens per minute |
|---|---|---|---|
| Tier 0 | $0 | 150 | 50,000,000 |
| Tier 1 | $50 | 172 | 53,000,000 |
| Tier 2 | $250 | 208 | 60,000,000 |
| Tier 3 | $1,000 | 312 | 74,000,000 |
| Tier 4 | $5,000 | 500 | 100,000,000 |
Every token counts toward tokens per minute: prompt, output, reasoning and cached prompt tokens, though cached ones bill at the lower rate. xAI derives the per-second limit from a per-minute budget, so a burst cannot spend a minute’s requests in one second, and its own code example retries a 429 with exponential backoff. Past Tier 4, xAI raises limits on request through its console or its sales team.
Through AIGROW there are no spend tiers to climb. Each account has a limit on the requests it can have in flight at once, far below xAI’s per-second limits, so the endpoint suits agents and apps that send a few requests at a time rather than bulk jobs. A request over the limit gets 429 with a retry-after header, which the OpenAI SDK waits out and retries on its own, and a refused request is not billed.
Call Grok 4.7 in the OpenAI format
Through AIGROW, Grok 4.7 takes the OpenAI Chat Completions format at https://aigrow.gg/v1 with the model id grok-4.7, and x-ai/grok-4.7, the spelling some tools use, works too. In the Anthropic format the endpoint answers that the model is not available. GET /v1/models with your key lists it with its context window of 500,000 tokens and its price per token.
With your AIGROW key in the AIGROW_API_KEY environment variable, this request asks one short question at low effort:
curl https://aigrow.gg/v1/chat/completions \
-H "Authorization: Bearer $AIGROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.7",
"reasoning_effort": "low",
"messages": [{"role": "user", "content": "Which HTTP status code means too many requests? Reply with the number only."}]
}'On 21 November 2026 the answer text was 429, which is right, in 2.5 seconds, with 57 prompt tokens and 31 output tokens, 30 of them reasoning.
Tool calls come back in the OpenAI format: finish_reason is tool_calls, and message.tool_calls holds an id, the function’s name and its arguments as a JSON string. This Python script with the OpenAI SDK declares a tool, takes the call the model asks for and sends a result back:
import json
import os
from openai import OpenAI
client = OpenAI(base_url="https://aigrow.gg/v1", api_key=os.environ["AIGROW_API_KEY"])
tools = [{
"type": "function",
"function": {
"name": "get_order_status",
"description": "Look up the status of an order by its id.",
"parameters": {
"type": "object",
"properties": {"order_id": {"type": "string"}},
"required": ["order_id"],
},
},
}]
messages = [{"role": "user", "content": "Where is my order A-1042? Use the tool."}]
first = client.chat.completions.create(
model="grok-4.7", reasoning_effort="low", tools=tools, messages=messages
)
call = first.choices[0].message.tool_calls[0]
print(first.choices[0].finish_reason, call.function.name, call.function.arguments)
# Your code runs the function; this result stands in for it.
result = {"order_id": "A-1042", "status": "shipped", "eta": "2026-11-24"}
messages += [
first.choices[0].message,
{"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)},
]
final = client.chat.completions.create(
model="grok-4.7", reasoning_effort="low", tools=tools, messages=messages
)
print(final.choices[0].message.content)
usage = final.usage
print(usage.completion_tokens, "output tokens,", usage.completion_tokens_details.reasoning_tokens, "of them reasoning")It printed tool_calls get_order_status {"order_id":"A-1042"}, then an answer saying that order A-1042 has shipped and should arrive on 24 November, then 52 output tokens with 29 of them reasoning. Both requests together took 4.3 seconds.
GET /v1/usage with the same key lists each request with its tokens and its cost in credit, and GET /v1/balance what the key can still spend. The setup guide has the same for other SDKs and for coding tools.
How we check that it is xAI’s model
A reseller’s answer does not prove which model wrote it, so we run the same public check on every model we sell: the same prompts sent to the same model at its maker. For Grok 4.7 on 11 November 2026, it solved 5 of 5 hard problems through our endpoint and 5 of 5 at xAI’s model reached through OpenRouter, and the tool call matched. The prompt tokens matched on the prompt that declares a tool.
On the two without one, our endpoint reported 2,094 more than xAI’s model, context the line that serves it added of its own; on 21 November 2026 those prompts counted 1,200 fewer than xAI’s model had, as the section on cost per request shows.
The genuine models page has the whole run and what the endpoint takes off the bill, and the guide to checking a reseller explains each check so you can repeat it with your own key.
AIGROW is independent of xAI. xAI has not reviewed or endorsed AIGROW, and the Grok name identifies xAI’s models only.
What we did not measure
- We did not send these requests to xAI’s own API on 21 November 2026. The xAI figures here come from xAI’s pages, read that day, and from our model check of 11 November 2026.
- No prompt reached 200,000 tokens, so neither xAI’s long-prompt band nor a prompt near the 500,000-token window was tried through our endpoint.
- Each time above is one request, not an average or a load test.
- We did not try image input, structured outputs, xAI’s server-side tools such as web search, its Batch API, the Responses format (which our endpoint serves for GPT models only) or the
x-grok-conv-idheader. - xAI’s pages give no output limit for one answer, and we did not look for one.
Sources
- Grok 4.7 and Models and pricing, xAI documentation, read on 21 November 2026
- Rate limits, xAI documentation, read on 21 November 2026
- Reasoning, xAI documentation, read on 21 November 2026
- Prompt caching, xAI documentation, read on 21 November 2026
- Genuine models, verified and the AIGROW price list
AIGROW sells the API credit described above.
Current Claude, GPT, Gemini, Grok, Qwen and Kimi models, up to 75% below list price
One API key for Claude, GPT, Gemini, Grok, Qwen and Kimi models on the OpenAI SDK. Claude models also work with the Anthropic SDK and Claude Code.
Each model’s rate through AIGROW credit sits beside its maker’s list price, never above it.

