Price Per TokenPrice Per Token
Meta-llama
Meta-llama
vs
Z-ai

Llama 3.1 405B Instruct vs GLM 5

A detailed comparison of pricing, benchmarks, and capabilities

Get our weekly newsletter on pricing changes, new releases, and tools.

Join the Price Per Token Community

Key Takeaways

Llama 3.1 405B Instruct wins:

  • Cheaper output tokens
  • Better at math

GLM 5 wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Has reasoning mode
Price Advantage
Llama 3.1 405B Instruct
Benchmark Advantage
GLM 5
Context Window
GLM 5
Speed
GLM 5

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureLlama 3.1 405B InstructGLM 5
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyLlama 3.1 405B InstructGLM 5
LicenseOpen SourceOpen Source
AuthorMeta-llamaZ-ai
ReleasedJul 2024Feb 2026

Llama 3.1 405B Instruct Modalities

Input
text
Output
text

GLM 5 Modalities

Input
text
Output
text

Frequently Asked Questions

GLM 5 has cheaper input pricing at $0.72/M tokens. Llama 3.1 405B Instruct has cheaper output pricing at $0.90/M tokens.
GLM 5 scores higher on coding benchmarks with a score of 39.0, compared to Llama 3.1 405B Instruct's score of 14.5.
Llama 3.1 405B Instruct has a 131,000 token context window, while GLM 5 has a 202,752 token context window.
Llama 3.1 405B Instruct does not support vision. GLM 5 does not support vision.