# GLM vs Llama: API prices compared, dated and sourced

Canonical page: https://bertrande.com/en/vs/glm-vs-llama/
License: CC-BY-4.0, reuse with attribution and a link.

No value below was produced, estimated or completed by a language model. Every figure was read from a source we name, on the date we give.

The cheapest GLM model we track, GLM-OCR, costs $0.030 per million output tokens and $0.030 per million input tokens. The cheapest Llama model, Llama 3.1 8B Instruct, costs $0.080 per million output tokens and $0.050 per million input tokens, as sold by OpenRouter. At the entry level, GLM is 2.7 times cheaper than Llama on output tokens. Prices read on 11 September 2026 and 18 September 2026.

## GLM models

| Model | Input $/1M | Output $/1M | Read on |
|---|---|---|---|
| GLM-OCR | $0.030 | $0.030 | 2026-09-11 |
| GLM-4-32B-0414-128K | $0.100 | $0.100 | 2026-09-11 |
| GLM-4.6V-FlashX | $0.040 | $0.400 | 2026-09-11 |
| GLM-4.7-FlashX | $0.070 | $0.400 | 2026-09-11 |
| GLM-5.3-Flash | $0.150 | $0.500 | 2026-09-18 |
| GLM-4.6V | $0.300 | $0.900 | 2026-09-18 |
| GLM-4.5-Air | $0.200 | $1.10 | 2026-09-18 |
| GLM-4.5V | $0.600 | $1.80 | 2026-09-18 |
| GLM-4.5 | $0.600 | $2.20 | 2026-09-16 |
| GLM-4.6 | $0.600 | $2.20 | 2026-09-18 |
| GLM-4.7 | $0.600 | $2.20 | 2026-09-11 |
| GLM-5 | $1.00 | $3.20 | 2026-09-18 |
| GLM-5.1 | $1.40 | $4.40 | 2026-09-15 |
| GLM-5.2 | $1.40 | $4.40 | 2026-09-18 |
| GLM-5.3 | $1.40 | $4.40 | 2026-09-18 |
| GLM-4.5-AirX | $1.10 | $4.50 | 2026-09-11 |
| GLM-4.5-X | $2.20 | $8.90 | 2026-09-11 |

## Llama models

| Model | Input $/1M | Output $/1M | Read on |
|---|---|---|---|
| Llama 3.1 8B Instruct | $0.050 | $0.080 | 2026-09-18 |
| Llama Guard 4 12B | $0.180 | $0.180 | 2026-09-18 |
| Llama 3.2 1B Instruct | $0.027 | $0.201 | 2026-09-18 |
| Llama 4 Scout | $0.100 | $0.300 | 2026-09-18 |
| Llama 3.3 70B Instruct | $0.100 | $0.320 | 2026-09-18 |
| Llama 3.2 3B Instruct | $0.050 | $0.330 | 2026-09-18 |
| Llama 3.1 70B Instruct | $0.400 | $0.400 | 2026-09-18 |
| Llama 4 Maverick | $0.1875 | $0.6525 | 2026-09-18 |


Method: https://bertrande.com/en/methodology/
Report an error: https://bertrande.com/en/corrections/
