Skip to content
llmmodels

Llama-3.1-8B-Instruct vs LongWriter-glm4-9b

Llama-3.1-8B-Instruct is made by Meta and LongWriter-glm4-9b by Zhipu AI (Z.ai). See the full spec comparison below.

SpecLlama-3.1-8B-InstructLongWriter-glm4-9b
ProviderMetaZhipu AI (Z.ai)
ReleasedJul 23, 2024Aug 12, 2024 (better)
TypeChat LLMChat LLM
Parameters8B9.4B
Context window128K—
Max output16K—
Input price / 1M$0.02—
Output price / 1M$0.04—
Input modalitiestexttext
Open weightsYesYes
Licensellama3.1—
Reasoning modeNoNo
Tool callingYesNo
API providers19 (better)—
Epoch Capabilities Index110.9—
GPQA Diamond27.0%—
OTIS Mock AIME1.7%—
MATH Level 522.9%—
MMLU56.1%—
GSM8K82.4%—

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 →

About LongWriter-glm4-9b

LongWriter-glm4-9b is an open-weight chat llm from Zhipu AI (Z.ai), released Aug 12, 2024. It has 9.4B parameters. Full LongWriter-glm4-9b specs →

Compare other models

FAQ

Which is better, Llama-3.1-8B-Instruct or LongWriter-glm4-9b?

Llama-3.1-8B-Instruct is made by Meta and LongWriter-glm4-9b by Zhipu AI (Z.ai). See the full spec comparison below.

Are Llama-3.1-8B-Instruct and LongWriter-glm4-9b open source?

Llama-3.1-8B-Instruct is open-weight; LongWriter-glm4-9b is open-weight.