Auto-generated comparison

OpenAI: GPT-5 Codex vs Z.ai: GLM 5

OpenAI: GPT-5 Codex and Z.ai: GLM 5 are evenly matched on 6 axes — pick the one whose provider, latency, or licensing fits your stack.

Side-by-side comparison

CapabilityOpenAI: GPT-5 CodexZ.ai: GLM 5Winner
Context window
Maximum number of input tokens the model can attend to in a single request.
400K80K🏆 OpenAI: GPT-5 Codex
Input price (per 1M)
Cost per million input tokens billed by the provider.
$1.25$0.72🏆 Z.ai: GLM 5
Output price (per 1M)
Cost per million output tokens billed by the provider.
$10.00$2.30🏆 Z.ai: GLM 5
Tool / function calling
First-class support for emitting structured tool calls.
YesYesTie
Vision input
Accepts image inputs alongside text.
Yes🏆 OpenAI: GPT-5 Codex
Reasoning mode
Internal chain-of-thought / extended-thinking support.
YesYesTie

Frequently asked questions

Is OpenAI: GPT-5 Codex better than Z.ai: GLM 5?

OpenAI: GPT-5 Codex and Z.ai: GLM 5 are evenly matched on 6 axes — pick the one whose provider, latency, or licensing fits your stack.

What's the price difference between OpenAI: GPT-5 Codex and Z.ai: GLM 5?

Input: $1.25 vs $0.72 per 1M tokens. Output: $10.00 vs $2.30 per 1M tokens.

What context windows do OpenAI: GPT-5 Codex and Z.ai: GLM 5 support?

OpenAI: GPT-5 Codex supports up to 400K tokens. Z.ai: GLM 5 supports up to 80K tokens.

Do both OpenAI: GPT-5 Codex and Z.ai: GLM 5 support tool calling?

OpenAI: GPT-5 Codex: yes. Z.ai: GLM 5: yes.

Compare OpenAI: GPT-5 Codex with other models

Compare Z.ai: GLM 5 with other models