Zhipu AI (Z.ai)

GLM-5-Code Pricing & Cost Breakdown

Specialized coding variant of the GLM-5 flagship model, optimized for advanced programming, complex code generation, agentic development workflows, and superior performance in software engineering tasks

Pricing

Input Price
$1.20
per 1M tokens
Output Price
$5.00
per 1M tokens

Specifications

Context Length
200K tokens
Status
active
Supported Modalities
Text
Features
StreamingFunction CallingThinking ModesContext CachingStructured Output

Source & Verification

Last Verified
February 13, 2026
Pricing Methodology

Prices are listed in USD, pre-tax. Text model prices are per 1 million tokens (input and output). Image model prices are per generated image. Video model prices are per second of generated video. Prices are sourced from official provider documentation and verified by our team. Special pricing (batch, cached, fine-tuned) may not be reflected.

Found an Error?

If you notice incorrect or outdated pricing, please let us know. We typically verify and update within 24 hours.

Cost Calculator

750,000 words
375,000 words
Input Cost$1.2000
Output Cost$2.5000
Total Cost$3.7000