GLM 4.6 vs Grok 4.6
GLM 4.6 (Zhipu AI, September 2025) and Grok 4.6 (xAI, August 2026), compared on price, context window, access and specs. GLM 4.6 is the cheaper API at $0.43 in and $1.75 out per million tokens, about 3.9× less than Grok 4.6 on a typical 3:1 input-to-output mix. Grok 4.6 reads more at once: a 500K-token context window against 203K. GLM 4.6 has open weights, so you can also run it on your own hardware.
Updated 5 December 2026 · read each row across; the best value in a row is marked
At a glance
- Tasks
Language modeling
Language generation
Question answering
Code generation
Quantitative reasoning
System control
Language modeling
Language generation
Question answering
- Released
- 30 September 2025
- 12 August 2026
- Access
- Open weights (unrestricted)
- API access
- Country
- China
- United States of America
Price and API
- Input, per 1M tokens
- $0.43on Hugging FaceLowest
- $2.00on xAI
- Output, per 1M tokens
- $1.75on Hugging FaceLowest
- $6.00on xAI
- Where to run it
- Hugging FaceDeepInfraOpenRouterNovita AIAll 5 providers
- xAIGoogle Vertex AIAmazon BedrockAzure AI FoundryAll 5 providers
- Official API id
zai/glm-4.6xai/grok-4.6- Context window
- 203K tokens
- 500K tokensLargest
- Max output
- 131K tokens
- 500K tokensLargest
- Takes
- Text
- Text, Image, PDF
- Returns
- Text
- Text
- Knowledge cutoff
- April 2025
- February 2026
- Supports
- ReasoningTool callingOpen weights
- ReasoningTool callingStructured outputFile input
Scale and training
- Parameters
- 357B357,000,000,000
- 1.5T1,500,000,000,000Largest
- Training compute
- 4.4 × 10²⁴ FLOP
- Not listed
- Training time
- 2,880 hours
- Not listed
- Training code
- Unreleased
- Not listed
- Confidence
- Likely
- Confident
Notes
- Parameters
- Similarly to GLM 4.5: 355 billion total parameters (reported) with 32 billion active parameters (assumed)
- Per Elon Musk, this is a 1.5T parameter model, presumably meaning total parameters. Grok 4.6 is almost certainly a sparse mixture of experts model with much fewer active parameters than total. https://x.com/elonmusk/status/2082123925283041545?s=20
- Training compute
- 6 FLOP/parameter/token * 32000000000 active parameters [very likely assumption - everything else is reported to be same as at GLM 4.5] * 23000000000000 tokens = 4.42e24 FLOP
- Not listed
- Dataset size
- 23T tokens (from Jaime's correspondence with the GLM team)
- Not listed
- Access
- MIT license https://huggingface.co/zai-org/GLM-4.6
- Not listed
In their own words
- Abstract
Today, we are releasing the latest version of our flagship model: GLM-4.6. 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 performance: The model achieves higher scores on code benchmarks and demonstrates better real-world performance in applications such as Claude Code、Cline、Roo Code and Kilo Code, including improvements in generating visually polished front-end pages. Advanced reasoning: GLM-4.6 shows a clear improvement in reasoning performance and supports tool use during inference, leading to stronger overall capability. More capable agents: GLM-4.6 exhibits stronger performance in tool using and search-based agents, and integrates more effectively within agent frameworks. Refined writing: Better aligns with human preferences in style and readability, and performs more naturally in role-playing scenarios. We evaluated GLM-4.6 across eight public benchmarks covering agents, reasoning, and coding. Results show clear gains over GLM-4.5, with GLM-4.6 also holding competitive advantages over leading domestic and international models such as DeepSeek-V3.2-Exp and Claude Sonnet 4, but still lags behind Claude Sonnet 4.5 in coding ability.Read all
Today we are releasing Grok 4.6. Grok 4.6 builds on Grok 4.5 with a particular focus on long-running agents and more ambitious interactive and visual work. It stays with complex tasks across many steps, whether researching a topic, analyzing information, working across a codebase, or turning an idea into a polished application or work artifact. Grok 4.6 achieves frontier intelligence across several agentic coding and knowledge work benchmarks. It matches GPT-5.6 Sol on the Artificial Analysis Intelligence Index, which is a composite score of nine benchmarks.Read all
Which should you pick?
- High-volume or budget workloads
- GLM 4.6 · Lowest list price: $0.43 in and $1.75 out per million tokens via Hugging Face.
- Long documents, codebases or transcripts
- Grok 4.6 · 500K tokens of context, 2.5× more than GLM 4.6.
- Long answers in one response
- Grok 4.6 · Up to 500K output tokens per response.
- Self-hosting or fine-tuning
- GLM 4.6 · Open weights: you can download them and run them on your own GPUs.
- Reading images and screenshots
- Grok 4.6 · Accepts image input through the API.
Questions people ask
Is GLM 4.6 better than Grok 4.6?
It depends on the job. For high-volume or budget workloads, GLM 4.6 has the edge: lowest list price: $0.43 in and $1.75 out per million tokens via Hugging Face. For long documents, codebases or transcripts, Grok 4.6 has the edge: 500K tokens of context, 2.5× more than GLM 4.6. For long answers in one response, Grok 4.6 has the edge: up to 500K output tokens per response. Try them on your own prompts in the AIPortalX playground before you commit.
Which is cheaper: GLM 4.6 or Grok 4.6?
GLM 4.6: $0.43 in and $1.75 out per million tokens at Hugging Face. Grok 4.6 starts at $2.00 in and $6.00 out per million tokens. These are list prices from the cheapest provider we track, and they change often.
Which has the bigger context window?
Grok 4.6, with 500K tokens; GLM 4.6 takes 203K. A larger window lets one request hold longer documents or conversations.
Where can I use GLM 4.6 and Grok 4.6 through one API?
OpenRouter serves all of them, so you can switch models without opening another account.
When were they released?
GLM 4.6 in September 2025 and Grok 4.6 in August 2026.