llama-3.1-70b-instruct vs zai-glm-4.7
llama-3.1-70b-instruct is 2.3× cheaper on input than zai-glm-4.7.
| llama-3.1-70b-instruct | zai-glm-4.7 | |
|---|---|---|
| Input / 1M | $1.00 | $2.25 |
| Cached input / 1M | — | — |
| Output / 1M | $1.00 | $2.75 |
| Context window | 131K | 128K |
| Max output | 131K | 128K |
| Provider | Perplexity | Cerebras |
| Vision | No | No |
| Tool calling | No | Yes |
| Token count | estimated | estimated |
Capability for the money
Independent measurement · Artificial Analysis · read 2026-08-11Not the same tier: zai-glm-4.7 leads llama-3.1-70b-instruct by 66.2 points on coding (LiveCodeBench), for 2.4× the price.
Following instructions
extraction, classification, sticking to a format
IFBenchzai-glm-4.7 +33.5
Coding
writing and fixing code
LiveCodeBenchzai-glm-4.7 +66.2
Tool use
multi-step agent work against real tools
τ²-benchzai-glm-4.7 +80.7
Hard reasoning
graduate-level science and multi-step analysis
GPQA Diamondzai-glm-4.7 +45.0
Averaged over the benchmarks both models sat, zai-glm-4.7 returns 35.7 points of pass rate per dollar of blended price against 28.4 — the ratio that decides whether the dearer model earns its rate.
Each figure is a pass rate: the share of that test set the model answered correctly, measured by a third party rather than self-reported by the lab. Rows are different tests of different difficulty, so compare a model against the other model, not one row against the next. And a benchmark is not your workload — it narrows the shortlist, it does not pick for you.
Which to pick
- Cheaper input: llama-3.1-70b-instruct
- Cheaper output: llama-3.1-70b-instruct
- Larger context: llama-3.1-70b-instruct
- Better at following instructions: zai-glm-4.7 (34.4% vs 67.9% on IFBench)
- Better at coding: zai-glm-4.7 (23.2% vs 89.4% on LiveCodeBench)
- Better at tool use: zai-glm-4.7 (15.2% vs 95.9% on τ²-bench)
- Better at hard reasoning: zai-glm-4.7 (40.9% vs 85.9% on GPQA Diamond)
List price is not production cost. Output length, cache hit rate, retries and task quality move the real number more than the headline rate does — price your own prompt on the token ledger before deciding.
Related comparisons
llama-3.1-70b-instruct detail · zai-glm-4.7 detail · All Perplexity pricing · All comparisons