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. GPT-6 Luna ProOpenAIRemove
glm-5 vs gpt-6-luna-pro
AttributeGLM 5glm-5GPT-6 Luna Progpt-6-luna-pro
Pricing
Input$0.60 / 1M$0.10 / 1M
Output$2.20 / 1M$0.50 / 1M
Cache Write (5m)$0.60 / 1M$0.10 / 1M
Cache Write (1h)$0.60 / 1M$0.10 / 1M
Cache Read$0.60 / 1M$0.10 / 1M
Web Search$0 / 1M$0 / 1M
Context
Max context202.8K1.1M
Max outputN/AN/A
Capabilities
VisionYesYes
Function CallingYesYes
JSON ModeYesYes
StreamingYesYes
Catalogue
ProviderZ.AIOpenAI
Categorychatchat
Charge typePay 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.GPT-6 Luna Pro uses the same underlying model as GPT-6 Luna, but runs with reasoning.mode set to pro for higher-quality responses on complex tasks. It combines Luna's speed and cost efficiency with deeper reasoning and more reliable multi-step execution, making it well suited for advanced coding, computer use, and agentic workflows where higher solution quality is needed without moving to a larger GPT-6 tier.