Hoveydai

x-ai-grok-4.7

SpaceXAI: Grok 4.7xAI

Vision
Context window500Ktokens
Input price2USD per 1 million tokens
Output price6USD per 1 million tokens

Abilities

Model abilities
AbilityWhat it means
Image inputYou send an image in the message and ask about it.

Limits

Model limits
ItemValueNotes
Context window500,000 tokensHow much text the model can take into account at once: your messages and its replies together.
Maximum reply lengthSee dashboard and docsThe most tokens the model can write in a single reply.
Requests per minuteSee dashboard and docsDepends on your plan.
Tokens per minuteSee dashboard and docsDepends on your plan.

Sample request

In your code, use the model name shown at the top of this page as the model id. Get your key from the dashboard.

import requests BASE = "https://hoveydai.ir/v1"changedAPI_KEY = "hvd_..." reply = requests.post(    f"{BASE}/chat/completions",    headers={"Authorization": f"Bearer {API_KEY}"},    json={"model": "x-ai-grok-4.7", "messages": [{"role": "user", "content": "hello"}]},)print(reply.json()["choices"][0]["message"]["content"])
Related models

Not the right fit? Try these.