glm-4-9b-chat-hf vs Llama-3.1-8B-Instruct
glm-4-9b-chat-hf is made by Zhipu AI (Z.ai) and Llama-3.1-8B-Instruct by Meta. See the full spec comparison below.
| Spec | glm-4-9b-chat-hf | Llama-3.1-8B-Instruct |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | Meta |
| Released | Oct 23, 2024 (better) | Jul 23, 2024 |
| Type | Chat LLM | Chat LLM |
| Parameters | 9.4B | 8B |
| Context window | — | 128K |
| Max output | — | 16K |
| Input price / 1M | — | $0.02 |
| Output price / 1M | — | $0.04 |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | other | llama3.1 |
| Reasoning mode | No | No |
| Tool calling | No | Yes |
| API providers | — | 19 (better) |
| Epoch Capabilities Index | — | 110.9 |
| GPQA Diamond | — | 27.0% |
| OTIS Mock AIME | — | 1.7% |
| MATH Level 5 | — | 22.9% |
| MMLU | — | 56.1% |
| GSM8K | — | 82.4% |
About glm-4-9b-chat-hf
glm-4-9b-chat-hf is an open-weight chat llm from Zhipu AI (Z.ai), released Oct 23, 2024. It has 9.4B parameters. Full glm-4-9b-chat-hf specs →
About Llama-3.1-8B-Instruct
Llama-3.1-8B-Instruct is an open-weight chat llm from Meta, released Jul 23, 2024. It has 8B parameters and a 128K-token context window. API pricing starts at $0.02 per million input tokens and $0.04 per million output tokens. It is available from 19 API providers. It scores 110.9 on the Epoch Capabilities Index. Full Llama-3.1-8B-Instruct specs →
Compare other models
FAQ
Which is better, glm-4-9b-chat-hf or Llama-3.1-8B-Instruct?
glm-4-9b-chat-hf is made by Zhipu AI (Z.ai) and Llama-3.1-8B-Instruct by Meta. See the full spec comparison below.
Are glm-4-9b-chat-hf and Llama-3.1-8B-Instruct open source?
glm-4-9b-chat-hf is open-weight; Llama-3.1-8B-Instruct is open-weight.