Comparison · Google and Z.ai

Gemini 3.8 Flash vs GLM 5.3

Listed API prices of Gemini 3.8 Flash and GLM 5.3 turned into the cost of the same three standard tasks, with speed from our own test requests in the United States and what each provider’s API documentation says about features that break on a switch. Output quality and answer length are not compared.

Calculated impact cost per task and per month

For an L2 task (deep analysis over a 50,000-token document, 3 steps), Gemini 3.8 Flash costs $0.131 and GLM 5.3 $0.236 at the prices listed in the United States on , so Gemini 3.8 Flash is 44.7 % less than GLM 5.3, counting visible output only, without cache discounts or hidden reasoning.

TaskGemini 3.8 Flash, per taskGLM 5.3, per taskGemini 3.8 Flash, per monthGLM 5.3, per monthGemini 3.8 Flash vs GLM 5.3, per task
L1Micro-task (classification or strict JSON extraction)$0.0019per L1 task$0.0030per L1 task$27.38per month$43.51per month−37.1 %
L2Deep analysis over a 50,000-token document$0.131per L2 task$0.236per L2 task$1,905.30per month$3,442.68per month−44.7 %
L3Agentic coding loop, 15 steps$1.02per L3 task$1.88per L3 task$14,897.47per month$27,466.98per month−45.8 %

Calculated Per month: 20 tasks an hour around the clock, 730 hours.

Prices USD per 1M tokens

PriceGemini 3.8 FlashGLM 5.3
Input, per 1M tokens$0.750$1.40
Output, per 1M tokens$3.75$4.40
Price fromProvider's price list · source page PublishedProvider's price list · source page Published
Read · the United States · the United States
Context window1,048,576 tokens1,048,576 tokens

What can I use it for? six common tasks, our data checks

Quality on your task: not measured by Measured Lab yet.

TaskGemini 3.8 FlashGLM 5.3
Answer customer messagesFits on price and contextFits on price and context
Pull data from invoices and documents with strict JSON and page imagesFits on price and contextNot confirmed: reads text only, per the OpenRouter listing
Summarize documents and meetingsFits on price and contextFits on price and context
Translate contentFits on price and contextFits on price and context
Chat assistant on your websiteFits on price and contextFits on price and context
Write and review code with tool callsFits on price and contextFits on price and context
Tasks it fits6 of 65 of 6

Checks of our data for six common tasks: a published price, a context window and answer length for the task and, where the task needs them, strict JSON output, page images and tool calls; prices, cost a month and terms for each model on its model card. Compare models for your own task in the model picker.

Speed in the US Observed our test requests

In our test requests from the United States, the median time to the first answer token was 6,955 ms for Gemini 3.8 Flash (Direct API · Google) and 1,934 ms for GLM 5.3 (Direct API · Z.ai).

Model and routeTime to first answer token, medianOutput speed, medianAnswers
Gemini 3.8 FlashDirect API · Google6,955 ms range 1,021 ms–10,510 ms200 tokens/s range 103 tokens/s–365 tokens/s95 answers on 19 dates
GLM 5.3Direct API · Z.ai1,934 ms range 849 ms–7,367 ms70.7 tokens/s range 26.8 tokens/s–471 tokens/s114 answers on 23 dates
GLM 5.3OpenRouter → Z.AI2,191 ms range 1,092 ms–32,480 ms69.7 tokens/s range 22.8 tokens/s–610 tokens/s115 answers on 23 dates

The same short request to every model, sent from a measurement point in the United States; medians of successful answers on at least 2 different dates, latest on . How we measure

What breaks when you switch Published provider documentation

Moving from Google to Z.ai, 3 of the 5 features may not carry over, by each provider’s documentation:

  • Strict JSON schemas — Google: yes; Z.ai: partly. Code that parses answers without checks starts failing where a provider promises only valid JSON, not your schema.
  • Parallel tool calls — Google: yes; Z.ai: not stated. An agent built around several calls per turn gets one call per turn: more round trips, more input tokens, slower runs.
  • Streamed tool arguments — Google: yes; Z.ai: partly. An interface that shows arguments as they are written sees nothing until the whole call is ready.

Moving from Z.ai to Google: every feature that Z.ai’s documentation lists as supported is also listed as supported by Google.

Feature of the APIGoogleZ.ai
Strict JSON schemasYesPartly
Parallel tool callsYesNot stated
Streamed tool argumentsYesPartly
Reasoning with toolsYesYes
Cache covers tool definitionsNot statedNot stated

What each provider’s own API documentation says, read ; “not stated” is not the same as “no”. Quotes and sources: what breaks when you switch AI APIs.

Price changes in the last 30 days

  • The listed price of GLM 5.3 changed on on OpenRouter: output $4.80 → $1.40 per 1M tokens. Briefing
  • The listed price of GLM 5.3 changed on on OpenRouter: input $0.08 → $0.07 per 1M tokens. Briefing

All model comparisons · How we check prices