Skip to content

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 idgrok-4.7
Context window500K tokens
On the API since21 September 2026
EndpointsChat Completions and the Responses API.
LabelFLAGSHIP

price

Price per 1M tokens.

Prompts under 200K tokens

Per 1M tokensList priceGrokified
Input$2.00$1.00
Cached input$0.50$0.25
Output$6.00$3.00

Prompts of 200K tokens and above

Per 1M tokensList priceGrokified
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)
Get an API key

read next

Keep going.