New
Grok-Code-Fast · 1M tokens
Coding proficiency aligned with frontier models, and able to work independently and consistently for up to eight hours on one task without losing the thread.
What you get
- 1M tokens for every unit you buy. Order several units to stack quota.
- A personal access key for
grok-code-fast, issued automatically once your order is completed. - No shipping: delivery is digital, under My Account > Order History and by email.
Capabilities
- Agentic coding
- 8-hour runs
- Tool calls
- Reasoning
Best for
Long autonomous coding sessions on a single task.
Quick start
from xai_sdk import Client
from xai_sdk.chat import user
client = Client(api_key="YOUR_ACCESS_KEY")
chat = client.chat.create(model="grok-code-fast")
chat.append(user("Hello"))
print(chat.sample().content)
| Model Specs | |
| Model ID | grok-code-fast |
| Context Window | 200K tokens |
| Max Output | 128K tokens |
| Modalities | Text in / text out |
| Capabilities | Agentic coding, 8-hour runs, Tool calls, Reasoning |
| Best For | Long autonomous coding sessions on a single task |
| Unit Size | 1M tokens |
- Stock: In Stock
- Model: grok-code-fast-1m
- SKU: GROK-CODE-FAST-1M
Products Sold: 0
Product Views: 414
$4.40
10 or more $4.18
50 or more $3.96