All models

x-ai/grok-4.1-fast

Speed tier with 2M context for agents.

TextImageLong contextAgents & toolscheaplong-contexttools

Specifications

Context window
2M
Max output tokens
32,768
Released
2025-11
Infra providers
3
Throughput
172 tok/s
Latency (TTFB, sample)
290 ms
Capabilities
Supports tools

Pricing

per million tokens

Input
$0.20
Output
$0.50
Blended (3:1)
$0.28

Use this model

Works with any OpenAI SDK — same request shape, different model id.

curl https://api.lokarouter.id/v1/chat/completions \  -H "Authorization: Bearer sk-lkr-your-key" \  -H "Content-Type: application/json" \  -d '{    "model": "x-ai/grok-4.1-fast",    "messages": [{ "role": "user", "content": "Hello" }]  }'

Sample data for demonstration — connect your workspace for live stats.