Models / Grok pricing

Grok API pricing

5 Grok models from xAI on one key, per million tokens. Input 50% to 70% under xAI's list price, output 50% to 70%. Lowest price: Grok 4.6, $0.60 in and $1.80 out.

Prices · per million tokens, USD, next to xAI's list price

ModelInputCached inputOutputUnder list
Grok 4.6 APIgrok-4.6$0.60list $2.00$0.15list $0.50$1.80list $6.0070% in · 70% out
Grok 4.7 APIgrok-4.7$0.60list $2.00$0.15list $0.50$1.80list $6.0070% in · 70% out
Grok 4.7 Build Fast APIgrok-4.7-build-fast$2.00list $4.00$0.20list $0.40$6.00list $12.0050% in · 50% out
Grok 4.5 APIgrok-4.5$0.60list $2.00$0.09list $0.30$1.80list $6.0070% in · 70% out
Grok 4.3 APIgrok-4.3$1.875list $1.25$0.30list $0.20$3.75list $2.50none
List price: xAI's published rate, read October 2026. Live from GET https://api.uplinkswitch.com/v1/catalog.

What each model accepts

Grok models: input types, API formats and cached input pricing
InputAPIPricing
TextImageAudioVideoOpenAI formatAnthropic formatCached input
Grok 4.6SupportedSupportedNot supportedNot supportedSupportedNot supportedSupported
Grok 4.7SupportedSupportedNot supportedNot supportedSupportedNot supportedSupported
Grok 4.7 Build FastSupportedNot supportedNot supportedNot supportedSupportedNot supportedSupported
Grok 4.5SupportedSupportedNot supportedNot supportedSupportedNot supportedSupported
Grok 4.3SupportedSupportedNot supportedNot supportedSupportedNot supportedSupported

How Grok API pricing works · per million tokens, billed per request

Grok API pricing is per million tokens, with input and output billed separately. On Grok 4.6 input is $0.60 and output $1.80 per million here, so one output token costs 3 times one input token. xAI's list price for the same model is $2.00 and $6.00.

All 5 Grok models have a cached input rate. A cache read on Grok 4.6 costs $0.15 per million, 25% of its input rate, so a system prompt or document that repeats across requests bills at the cached rate after the first one. A model with no cached rate bills cached tokens at its input rate.

Every request bills from prepaid credit, from $10, with no subscription. Each paid top-up locks your rates for 30 days, and inside that window a price can only go down. A non-streamed response carries the request's cost and its saving against list in its headers, x-uplink-charge and x-uplink-saved.

Price your own token counts on every Grok model with the LLM cost calculator.

Grok API cost per request · three request shapes at live prices

A request costs its tokens times the rate. The table prices three shapes on every Grok model at today's rates, with xAI's list price under each figure where one is published.

ModelChat turn2,000 in, 500 outLong document30,000 in, 1,000 outAgent turn40,000 in, 30,000 of them cached, 1,500 out
Grok 4.6$0.0021list $0.007$0.0198list $0.066$0.0132list $0.044
Grok 4.7$0.0021list $0.007$0.0198list $0.066$0.0132list $0.044
Grok 4.7 Build Fast$0.007list $0.014$0.066list $0.132$0.035list $0.07
Grok 4.5$0.0021list $0.007$0.0198list $0.066$0.0114list $0.038
Grok 4.3$0.0056list $0.0038$0.06list $0.04$0.0334list $0.0223

Worked through on Grok 4.6: a chat turn is 2,000 × $0.60 / 1,000,000 + 500 × $1.80 / 1,000,000 = $0.0021. A thousand such turns come to $2.10.

Long prompts · xAI doubles the rate at 200K prompt tokens

xAI bills every token of a request at its higher rate once the prompt reaches 200,000 tokens: double the input, cached and output rates on Grok 4.7, 4.6, 4.5 and 4.3 (xAI pricing, read 2026-10-19). A price here is the same at any prompt length.

ModelxAI under 200KxAI at 200K and upHere300,000-token prompt, xAISame prompt, here
Grok 4.7grok-4.7$2.00 / $6.00$4.00 / $12.00$0.60 / $1.80$1.25$0.1872
Grok 4.6grok-4.6$2.00 / $6.00$4.00 / $12.00$0.60 / $1.80$1.25$0.1872
Grok 4.5grok-4.5$2.00 / $6.00$4.00 / $12.00$0.60 / $1.80$1.25$0.1872
Grok 4.3grok-4.3$1.25 / $2.50$2.50 / $5.00$1.875 / $3.75$0.77$0.5775

The last two columns are one request: 300,000 input tokens and 4,000 output tokens, uncached.

Grok API key and rate limits · at xAI and here

At xAI, sign up at console.x.ai, load prepaid credits, then open API Keys in the sidebar and click Create API Key. Requests are rejected once the credits run out. Rate limits are set in requests per second and tokens per minute, by tier of cumulative spend ($0, $50, $250, $1,000 and $5,000); Grok 4.7 starts at 150 requests a second and 50 million tokens a minute (xAI rate limits, read 2026-10-19).

Here one key calls every Grok model above and every other model on the list, from prepaid credit from $10, in the OpenAI format at our base URL. Request limits come from the account's tier, which a larger balance or auto top-up raises; a key can be held lower still.

Which Grok model to choose on price · lowest to highest, per 1,000 chat turns

By the chat turn above, Grok 4.6 costs the least at $2.10 per 1,000 turns and Grok 4.7 Build Fast the most at $7.00, 3 times as much. The context window and output limit are xAI's published figures for each model.

Model1,000 chat turnsContext windowMax output
Grok 4.6grok-4.6$2.10500Knot published
Grok 4.7grok-4.7$2.10500Knot published
Grok 4.5grok-4.5$2.10500Knot published
Grok 4.3grok-4.3$5.6251Mnot published
Grok 4.7 Build Fastgrok-4.7-build-fast$7.00500Knot published

Grok vs other model families · the lead model of each, per 1,000 chat turns

The lead model of each family on the same key, priced on the same chat turn. Grok 4.6 comes to $2.10 per 1,000 turns; GPT-6.1 Sol, the lead GPT model, to $2.70.

FamilyLead modelInputOutput1,000 chat turns
Claude API pricingClaude Fable 5.2$4.00$20.00$18.00
GPT API pricingGPT-6.1 Sol$0.60$3.00$2.70
Gemini API pricingGemini 4 Argon$1.20$3.00$3.90
GrokGrok 4.6$0.60$1.80$2.10
DeepSeek API pricingDeepSeek V4 Pro 0813$0.792$1.188$2.178
Kimi API pricingKimi K3$0.90$4.50$4.05
GLM API pricingGLM 5.3$0.3276$1.0296$1.17
Qwen API pricingQwen3.7 Max$0.6471$1.9412$2.2647
MiniMax API pricingMiniMax M3$0.09$0.36$0.36
MiMo API pricingMiMo V2.6 Flash$0.084$0.12$0.228

Call them · same base URL and key for every model

Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="grok-4.6",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
TypeScript · OpenAI SDK
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'grok-4.6',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
Guides: Cursor, SDKs.

Questions

Grok 4.6 (grok-4.6): $0.60 per million input tokens and $1.80 per million output tokens.

Input runs 50% to 70% under xAI's list price, output 50% to 70%, depending on the model. Each row above shows both prices.

Not on this key. Every request bills from prepaid credit, from $10, with no subscription; a thousand chat turns on Grok 4.6 cost $2.10. xAI publishes its own terms on its pricing page.

On Grok 4.6, 1 million input tokens cost $0.60 and 1 million output tokens $1.80. Across the 5 Grok models, input runs from $0.60 to $2.00 and output from $1.80 to $6.00 per million.

It depends on the model. On the lead models and a chat turn of 2,000 tokens in and 500 out, Grok 4.6 costs $2.10 per 1,000 turns and GPT-6.1 Sol $2.70. Both families are on the same key; the table above has every family's lead model.

No contract. Prepaid credit from $10, or an optional monthly usage plan (the plans are on the pricing index). Paying by card switches on auto top-up, and a plan renews by card; both switch off in Billing, and crypto never recharges. Each top-up locks your prices for 30 days.

At the cached rate in the table. A model with no cached rate bills cached tokens at its input rate.

Yes, per account and per key. The account's tier sets how many requests it may send a minute and run at once, and it rises with the balance or auto top-up; a key can be held lower than its account. Every tier is in the acceptable use policy.

No. xAI bills from prepaid credits and rejects requests once they run out; its docs list no free credits (read 2026-10-19). Here Grok bills from prepaid credit from $10.

Grok 4.7 is $2.00 input and $6.00 output per million tokens at xAI under 200K prompt tokens, double at 200K and up. Here it is $0.60 and $1.80 at any length.

An OpenAI-compatible one: the OpenAI SDKs work with a new base URL and key. Every Grok model here answers the OpenAI chat completions format.

Grok 4.6, Grok 4.7, Grok 4.7 Build Fast, Grok 4.5, Grok 4.3: each is in the table above with its model id and price, and one key calls all of them.

Grok 4.6 is $0.60 per million input tokens and $1.80 per million output tokens here, with cached input at $0.15, against $2.00 and $6.00 at xAI's list price: 70% under on both. Grok 4.7 and Grok 4.5 cost the same. Grok 4.3 is $1.875 and $3.75 against $1.25 and $2.50.
Join on Telegram
Help