Grok Code Fast 1 is a speedy and economical reasoning model that excels at agentic coding. With reasoning traces visible in the response, developers can steer Grok Code for high-quality work flows.
Model details →xAI: Grok Code Fast 1 vs Z.ai: GLM 4.6 (exacto)
xAI: Grok Code Fast 1 wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks. Superior coding performa…
Model details →Side-by-side comparison
| Capability | xAI: Grok Code Fast 1 | Z.ai: GLM 4.6 (exacto) | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 256K | 205K | 🏆 xAI: Grok Code Fast 1 |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.20 | $0.44 | 🏆 xAI: Grok Code Fast 1 |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $1.50 | $1.76 | 🏆 xAI: Grok Code Fast 1 |
| Tool / function calling First-class support for emitting structured tool calls. | Yes | Yes | Tie |
| Vision input Accepts image inputs alongside text. | — | — | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | Yes | Yes | Tie |
Frequently asked questions
Is xAI: Grok Code Fast 1 better than Z.ai: GLM 4.6 (exacto)?
xAI: Grok Code Fast 1 wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between xAI: Grok Code Fast 1 and Z.ai: GLM 4.6 (exacto)?
Input: $0.20 vs $0.44 per 1M tokens. Output: $1.50 vs $1.76 per 1M tokens.
What context windows do xAI: Grok Code Fast 1 and Z.ai: GLM 4.6 (exacto) support?
xAI: Grok Code Fast 1 supports up to 256K tokens. Z.ai: GLM 4.6 (exacto) supports up to 205K tokens.
Do both xAI: Grok Code Fast 1 and Z.ai: GLM 4.6 (exacto) support tool calling?
xAI: Grok Code Fast 1: yes. Z.ai: GLM 4.6 (exacto): yes.