Skip to content

Compare models

Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.

  1. GLM 5Z.AIRemove
  2. GLM 5.3Z.AIRemove
  3. Gemini 3.7 FlashGoogleRemove
  4. Gemini 3.8 FlashGoogleRemove

4 is the maximum. Remove one to add another.

glm-5 vs glm-5.3 vs gemini-3.7-flash vs gemini-3.8-flash
AttributeGLM 5glm-5GLM 5.3glm-5.3Gemini 3.7 Flashgemini-3.7-flashGemini 3.8 Flashgemini-3.8-flash
Pricing
Input$0.60 / 1M$1.40 / 1M$0.375 / 1M$0.75 / 1M
Output$2.20 / 1M$4.40 / 1M$1.88 / 1M$3.75 / 1M
Cache Write (5m)$0.60 / 1M$1.40 / 1M$0.375 / 1M$0.75 / 1M
Cache Write (1h)$0.60 / 1M$1.40 / 1M$0.375 / 1M$0.75 / 1M
Cache Read$0.60 / 1M$1.40 / 1M$0.375 / 1M$0.75 / 1M
Web Search$0 / 1M$0 / 1M$0 / 1M$0 / 1M
Context
Max context202.8K1M1M1M
Max outputN/AN/AN/AN/A
Capabilities
VisionYesNoYesYes
Function CallingYesYesYesYes
JSON ModeYesYesYesYes
StreamingYesYesYesYes
Catalogue
ProviderZ.AIZ.AIGoogleGoogle
Categorychatchatchatchat
Charge typePay As You GoPay As You GoPay As You GoPay As You Go
Released
Description
SummaryGLM-5 is Z.AI's flagship open-source foundation model, engineered for complex systems design and long-horizon agent workflows. Built with expert developers in mind, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With strong agentic planning, deep backend reasoning, and iterative self-correction capabilities, GLM-5 extends beyond traditional code generation to support full-system construction and autonomous execution, making it well suited for advanced engineering and agent-driven development environments.GLM-5.3 is Z.ai's large-scale reasoning model designed for complex software engineering and long-horizon agentic workflows. It supports text input and output with a 1M-token context window, enabling sustained reasoning across large codebases and extended multi-step tasks. Building on GLM-5.2, it delivers stronger coding performance while improving the balance between capability and token efficiency, making it well suited for autonomous coding agents, large-scale engineering workflows, and complex task execution.Gemini 3.7 Flash is Google's fast multimodal model designed for agentic workflows, coding, and complex multi-step reasoning. It combines responsive inference with reliable problem-solving capabilities, making it well suited for interactive and production-scale applications. Optimized for speed and dependable multi-step execution, Gemini 3.7 Flash is a strong choice for coding assistants, autonomous agents, and high-throughput workflows that require both low latency and capable reasoning.Gemini 3.8 Flash is Google's most intelligent Flash-class model, delivering significant improvements over Gemini 3.7 Flash across software engineering, agentic workflows, and complex multi-step reasoning. Designed to combine strong capability with Flash-tier efficiency, it is well suited for coding assistants, autonomous agents, and high-throughput production workflows that require responsive performance without sacrificing reasoning quality.