glm-5-2 vs llama-3.1-70b-instruct
llama-3.1-70b-instruct is 1.4× cheaper on input than glm-5-2.
| glm-5-2 | llama-3.1-70b-instruct | |
|---|---|---|
| Input / 1M | $1.40 | $1.00 |
| Cached input / 1M | $0.14 | — |
| Output / 1M | $4.40 | $1.00 |
| Context window | 1M | 131K |
| Max output | 131K | 131K |
| Provider | Mistral | Perplexity |
| Vision | No | No |
| Tool calling | Yes | No |
| Token count | estimated | estimated |
Which to pick
- Cheaper input: llama-3.1-70b-instruct
- Cheaper output: llama-3.1-70b-instruct
- Larger context: glm-5-2
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
glm-5-2 detail · llama-3.1-70b-instruct detail · All Mistral pricing · All comparisons