All models

x-ai/grok-code-fast-1

Cheap, fast coding model for agentic loops.

TextProgrammingcheaptools

Specifications

Context window
256K
Max output tokens
32,768
Released
2025-08
Infra providers
3
Throughput
190 tok/s
Latency (TTFB, sample)
280 ms
Capabilities
Supports tools

Pricing

per million tokens

Input
$0.15
Output
$0.60
Blended (3:1)
$0.26

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-code-fast-1",    "messages": [{ "role": "user", "content": "Hello" }]  }'

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