← All models
Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. 500,000 token context window. Includes independent benchmarks from Artificial Analysis.
chatstreamingvisionpdftoolsjson mode
Details
- Accepts
- text
- Context window
- 500K tokens
Pricing
- Input
- 200 cr / 1M tokens
- Output
- 600 cr / 1M tokens
- Cached input
- 50 cr / 1M tokens
Prices in credits (1 credit = $0.01).
Data schema
approximateInput
| Field | Type | Description |
|---|---|---|
| promptrequired | string | The text prompt. |
Output
| Field | Type | Description |
|---|---|---|
| text | string | Generated text (choices[0].message.content). |