Price Per TokenPrice Per Token
Microsoft
Microsoft
vs
Z-ai

Phi-3 Medium 128K 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

Phi-3 Medium 128K Instruct wins:

  • Cheaper output tokens

GLM 5 wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Has reasoning mode
Price Advantage
Phi-3 Medium 128K Instruct
Benchmark Advantage
GLM 5
Context Window
GLM 5
Speed
GLM 5

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeaturePhi-3 Medium 128K InstructGLM 5
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyPhi-3 Medium 128K InstructGLM 5
LicenseOpen SourceOpen Source
AuthorMicrosoftZ-ai
ReleasedUnknownFeb 2026

Phi-3 Medium 128K Instruct Modalities

Input
Output

GLM 5 Modalities

Input
text
Output
text

Frequently Asked Questions

GLM 5 has cheaper input pricing at $0.72/M tokens. Phi-3 Medium 128K Instruct has cheaper output pricing at $1.00/M tokens.
Phi-3 Medium 128K Instruct has a 128,000 token context window, while GLM 5 has a 202,752 token context window.
Phi-3 Medium 128K Instruct does not support vision. GLM 5 does not support vision.