Grok 4.7
SpaceXAI's frontier model for coding, agentic tasks, and knowledge work.
Specs
- Context
- 500K
- Max output
- —
- Input price
- $2/ 1M tokens
- Output price
- $6/ 1M tokens
- Released
- 2026-09-21
Context
- Context window
- 500K
- Max input
- —
- Max output
- —
Pricing · USD / 1M tokens
- Input
- $2
- Output
- $6
- Cache read
- $0.5
- Cache write
- —
Modalities
- Input
- TextImage
- Output
- Text
API
- API types
Reasoning
- Reasoning
- Yes
- Levels
Info
- Status
- Active
- Released
- 2026-09-21
- Knowledge cutoff
- 2026-05
Features
- Confirmed
How to call
1 provider
xaimodel = grok-4.7reasoning = reasoning_effort
chat
POSThttps://api.x.ai/v1/chat/completions
responses
POSThttps://api.x.ai/v1/responses
JSON
Standard format
{
"id": "grok-4.7",
"object": "model",
"created": 1789948800,
"owned_by": "xai",
"name": "Grok 4.7",
"api": {
"types": [
"chat",
"responses"
]
},
"limits": {
"context": 500000,
"input": null,
"output": null
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"reasoning": {
"supported": true,
"efforts": [
"low",
"medium",
"high",
"xhigh"
]
},
"pricing": {
"currency": "USD",
"unit": "1M_tokens",
"input": 2,
"output": 6,
"cache_read": 0.5,
"cache_write": null
},
"features": [
"tools",
"structured_output",
"caching"
],
"info": {
"status": "active",
"release_date": "2026-09-21",
"knowledge_cutoff": "2026-05",
"description": "SpaceXAI's frontier model for coding, agentic tasks, and knowledge work.",
"docs": "https://docs.x.ai/developers/models/grok-4.7",
"verified_at": "2026-10-11"
}
}Official sources
5