Google: Gemini 2.5 Flash vs Zhipu GLM-5v-Turbo — API Pricing, 150K Cache & Latency Benchmark
Side-by-side unit economics audit comparing Google: Gemini 2.5 Flash (google/gemini-2.5-flash: Input $0.3/1M, Output $2.5/1M, Warm Cache Read $0.03/1M) against Zhipu GLM-5v-Turbo (zhipu/glm-5v-turbo: Input $0.7/1M, Output $2.8/1M, Warm Cache Read $0.14/1M).
Compare the listed input rate of $0.3/1M with the warm cache read rate of $0.03/1M. Batch and cache eligibility depend on the specific channel.
Compare the listed input rate of $0.7/1M with the warm cache read rate of $0.14/1M. A cache hit and any credit award depend on the provider’s terms.
At the listed rates, the 10-turn scenario costs $0.1030 for Google: Gemini 2.5 Flash and $0.3500 for Zhipu GLM-5v-Turbo. It assumes one cache write, nine warm reads of a 150,000-token prefix and 2,000 output tokens per turn. The difference is $0.2470; actual cache hits and fees may differ.
| Specification / FinOps Dimension | Google: Gemini 2.5 Flash (google/gemini-2.5-flash) | Zhipu GLM-5v-Turbo (zhipu/glm-5v-turbo) | Verified Advantage |
|---|---|---|---|
| Official Vendor API ID | google/gemini-2.5-flash | zhipu/glm-5v-turbo | UMCE 563-Registry Locked |
| 563-Registry & Routing Eligibility | is_known: true | routable: false | is_known: false | routable: false | See registry status for each entry |
| Standard Uncached Input (/1M tokens) | $0.3 / 1M | $0.7 / 1M | Google: Gemini 2.5 Flash |
| Warm Prefix Cache Read (/1M tokens) | $0.03 / 1M | $0.14 / 1M | Google: Gemini 2.5 Flash |
| Standard Output (/1M tokens) | $2.5 / 1M | $2.8 / 1M | Google: Gemini 2.5 Flash |
| Context Window Capacity | 1049K Tokens | 200K Tokens | Google: Gemini 2.5 Flash |
| 150K Prompt × 10 Turns (Unpinned Cold + 2K Out) | $0.5000 | $1.1060 | Google: Gemini 2.5 Flash |
| 150K × 10 Turns Case A (100% Static Pinned) | $0.1030 (saves $0.3970) | $0.3500 (saves $0.7560) | Google: Gemini 2.5 Flash (-$0.2470) |
| 150K × 10 Turns Case B (90% Static + 10% Tail) | $0.1394 (saves $0.3606) | $0.4256 (saves $0.6804) | Google: Gemini 2.5 Flash |
| Illustrative P50 / P90 first-token latency | 160ms / 235ms (165 tok/s) | 231ms / 340ms (0 tok/s) | Google: Gemini 2.5 Flash (-105ms) |
1. Full-Turn Rate-Card Substitution for Google: Gemini 2.5 Flash: At an uncached input rate of $0.3/1M, output rate of $2.5/1M, and warm cache read rate of $0.03/1M, running 10 consecutive 150,000-token coding agent turns (with 2,000 output tokens/turn) without prefix pinning costs $0.5000. Locking 100% static prefixes (Case A: 1 cold turn + 9 warm cached turns + 20K total output) reduces 10-turn spend to $0.1030 (saving $0.3970); under a 90% static prefix + 10% dynamic tail workload (Case B), 10-turn spend is $0.1394.
2. Full-Turn Rate-Card Substitution for Zhipu GLM-5v-Turbo & Winner Verdict: On Zhipu GLM-5v-Turbo ($0.7/1M input, $2.8/1M output, $0.14/1M warm cache), 10 unpinned 150K turns cost $1.1060, dropping to $0.3500 in Case A and $0.4256 in Case B. Across every 10-turn 150K coding loop (including output tokens), Google: Gemini 2.5 Flash delivers an additional $0.2470 Case-A cost advantage.
50M tokens per month, plus $25 in assumed infrastructure costs
The estimated difference is $13.20/month ($158/year) at a 50% input cache hit rate. No taxes, account discounts or separate egress fees are included.