Compare AI models
| Specifications | ||
ParametersThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality. | — | 9B/32B |
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider. | 256k | 128k |
| API pricingUSD per 1M tokens · lower wins · base tier | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | $1.00 | $0.1032B checkpoint |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | $2.00 | $0.10 |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | $0.20 | — |
| $300SpaceXSI list price | $25.00Z.ai list price | |
| Benchmarks | ||
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | 70.8% | 27.2% |
IFEvalAgentic tasks — following verifiable instructions in generated responses | — | 87.6% |
| Overview | ||
| Company | SpaceXSI | Z.ai |
| Release date | Aug 28 2025 | Apr 14 2025 |
| Access | Closed | Open Weight |
| Model details | View model | View model |
Other comparisons
Grok Code Fast 1vsClaude Fable 5.2GLM-4-0414vsClaude Fable 5.2Grok Code Fast 1vsGPT-6.2 AstraGLM-4-0414vsGPT-6.2 AstraGrok Code Fast 1vsGemini 4 HydrogenGLM-4-0414vsGemini 4 HydrogenGrok Code Fast 1vsMuse EmberGLM-4-0414vsMuse EmberGrok Code Fast 1vsDeepSeek-V4.1-Flash-1017GLM-4-0414vsDeepSeek-V4.1-Flash-1017Grok Code Fast 1vsMistral Large 4GLM-4-0414vsMistral Large 4Frequently asked questions
Grok Code Fast 1 leads GLM-4-0414 on 1 of the 1 benchmark they both report (SWE-Bench Verified). GLM-4-0414 is cheaper on both input and output: $0.10 vs $1.00 per million input tokens, and $0.10 vs $2.00 per million output tokens. Figures are base-tier rates. The listed GLM-4-0414 rates use the “32B checkpoint” pricing scope. GLM-4-0414 shipped 136 days before Grok Code Fast 1, so benchmark comparisons should account for the intervening progress.
Context windows are 256k (Grok Code Fast 1) vs 128k (GLM-4-0414). Grok Code Fast 1 is closed, while GLM-4-0414 is open weight.
On SWE-Bench Verified, Grok Code Fast 1 leads at 70.8% vs GLM-4-0414 at 27.2%.