Grok 4.7 Heavy API pricing
$0.72 in, $2.16 out per million tokens.
Not answering right now. Status
grok-4.7-heavymanaged routeOpenAI SDK
Price · per million tokens, USD
Get a key| Tokens | xAI list price | UplinkSwitch | Saving |
|---|---|---|---|
| Input | — | $0.72 | — |
| Cached input | — | $0.18 | — |
| Output | — | $2.16 | — |
No list price on record. Prices read from the live catalog on 2026-11-16; the page follows the catalog.
Real-model check: Steady since Nov 12
Grok 4.7 Heavy specs
- Context window
- 500,000 tokens
Grok 4.7 Heavy API key · base URL and setup
- Create a key in the console at uplinkswitch.ai/console. Credit is prepaid from $10 with no subscription, and the key works at once.
- Point your SDK or tool at https://api.uplinkswitch.com/v1, for example with OPENAI_BASE_URL, and send the key as the bearer token.
- Send grok-4.7-heavy as the model. The same key calls every other model in the catalog.
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.7-heavy",
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.7-heavy',
messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);curl
curl https://api.uplinkswitch.com/v1/chat/completions \
-H "authorization: Bearer sk-uplink-live-..." \
-H "content-type: application/json" \
-d '{"model":"grok-4.7-heavy","messages":[{"role":"user","content":"Hello"}]}'What would it cost? · paste a prompt, priced before you send it
Input is counted at about 4 characters per token.
Cheapest first. A real request is billed on the provider's own token count. Same estimate as JSON: POST https://api.uplinkswitch.com/v1/estimate, no key needed.
More from xAI
Grok 4.7 Heavy questions
Grok 4.7 Heavy is a model from xAI, with a 500,000-token context window. Through UplinkSwitch it answers the OpenAI SDK on one key as grok-4.7-heavy.
$0.72 per million input tokens and $2.16 per million output tokens, with cached input at $0.18.
It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0018.
Grok 4.7 Heavy has a 500,000-token context window.
grok-4.7-heavy. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.
Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls Grok 4.7 Heavy and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.
Every day each model gets the same test prompt, and the results are public on /proof. Grok 4.7 Heavy's latest result: Steady since Nov 12.