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. Gemini 3.7 FlashGoogleRemove
  3. GPT-6 AstraOpenAIRemove
  4. Gemini 3.8 FlashGoogleRemove

4 is the maximum. Remove one to add another.

glm-5 vs gemini-3.7-flash vs gpt-6-astra vs gemini-3.8-flash
AttributeGLM 5glm-5Gemini 3.7 Flashgemini-3.7-flashGPT-6 Astragpt-6-astraGemini 3.8 Flashgemini-3.8-flash
Pricing
Input$0.60 / 1M$0.375 / 1M$10.00 / 1M$0.75 / 1M
Output$2.20 / 1M$1.88 / 1M$50.00 / 1M$3.75 / 1M
Cache Write (5m)$0.60 / 1M$0.375 / 1M$10.00 / 1M$0.75 / 1M
Cache Write (1h)$0.60 / 1M$0.375 / 1M$10.00 / 1M$0.75 / 1M
Cache Read$0.60 / 1M$0.375 / 1M$10.00 / 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
VisionYesYesYesYes
Function CallingYesYesYesYes
JSON ModeYesYesYesYes
StreamingYesYesYesYes
Catalogue
ProviderZ.AIGoogleOpenAIGoogle
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.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.GPT-6 Astra is OpenAI's flagship model for demanding end-to-end professional work, designed for advanced analysis, software engineering, deep research, scientific tasks, and document creation. It is particularly strong in long-horizon agentic workflows, including tasks that require sustained reasoning, tool orchestration, and computer and browser use, making it well suited for complex autonomous workflows and production-grade knowledge work.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.