models / api model
grok-4.7
grok-4.7 on the Grokified API, with a 500K token context window. Needs a Basic plan or above. Billed at 50% off the list price on every request, for the life of the account.
specs
Specs.
| Model id | grok-4.7 |
|---|---|
| Context window | 500K tokens |
| On the API since | 21 September 2026 |
| Endpoints | Chat Completions and the Responses API. |
| Label | FLAGSHIP |
price
Price per 1M tokens.
Prompts under 200K tokens
| Per 1M tokens | List price | Grokified |
|---|---|---|
| Input | $2.00 | $1.00 |
| Cached input | $0.50 | $0.25 |
| Output | $6.00 | $3.00 |
Prompts of 200K tokens and above
| Per 1M tokens | List price | Grokified |
|---|---|---|
| Input | $4.00 | $2.00 |
| Cached input | $1.00 | $0.50 |
| Output | $12.00 | $6.00 |
Needs a Basic plan or above on Grokified. Free and prepaid keys get a 403 on this model; every other text model works on any account. See plans.
List prices are the ones xAI publishes. The Grokified price is 50% off, on every request, for the life of the account. Once a prompt reaches 200K tokens, every token in that request bills at the higher rate. Prices last checked 2 October 2026.
call it
Call it with the OpenAI SDK.
Grokified is OpenAI-compatible: point the SDK at https://api.grokified.cyou/v1 and send grok-4.7 as the model. $5 in free credits on signup, unlocked by your first payment, at the same 50% rate.
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["GROKIFIED_API_KEY"],
base_url="https://api.grokified.cyou/v1",
)
response = client.chat.completions.create(
model="grok-4.7",
messages=[{"role": "user", "content": "Say hello in five words."}],
)
print(response.choices[0].message.content)read next
Keep going.
- Grok 4.7 API Pricing: Same Rates, Bigger Bill
The pricing post: rate card, caching and what a bill looks like.
- Grok API cost calculator
Estimate a monthly bill from your own token counts.
- API model reference
Every model id, the older names that still resolve, and the catalog endpoints.
- Rate limits
What a 429 means and how to back off.
- All models
The full catalog and the plan-by-plan capability matrix.



