GLM 5.3 Flash (DeepInfra) API
DeepInfra · serves glm-5.3-flash
Pricing
| Input / 1M | $0.07 |
|---|---|
| Output / 1M | $0.25 |
| Blended / 1M | $0.325 |
| Cached input / 1M | $0.01 |
| Context window | 1,310,720 tokens |
| Max output | 131,072 tokens |
| License | Open weights · MIT permissive |
| Knowledge cutoff | January 2026 · source |
| Intelligence index | 57.5 Artificial Analysis Intelligence Index · source |
textvisionfunction-calling
Price verified 2026-09-05 (0 days ago) · sourcetier mismatch?
Sources
The two sources differ by about 100% — close to an exact 2× ratio, which usually means one source lists a different pricing tier (e.g. batch vs standard) rather than a real disagreement. The figure above is the primary source.
| Source | Input / 1M | Output / 1M | Verified |
|---|---|---|---|
| OpenRouter | $0.07 | $0.25 | 2026-09-05 |
| LiteLLM | $0.15 | $0.50 | 2026-09-03 |
| models.dev | $0.15 | $0.50 | 2026-09-04 |
Cheaper providers for glm-5.3-flash
| Provider | Blended / 1M | Endpoint |
|---|---|---|
| Relace | $0.309 | view → |
Compare all 19 providers serving glm-5.3-flash →
Call it
Served via OpenRouter, pinned to DeepInfra — the provider these prices are resolved from. Set OPENROUTER_API_KEY. Provider page.
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.3-flash",
"messages": [{"role": "user", "content": "Hello"}],
"provider": {"only": ["DeepInfra"], "allow_fallbacks": false}
}'from openai import OpenAI # pip install openai
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="...", # OPENROUTER_API_KEY
)
resp = client.chat.completions.create(
model="z-ai/glm-5.3-flash",
messages=[{"role": "user", "content": "Hello"}],
extra_body={"provider": {"only": ["DeepInfra"], "allow_fallbacks": false}},
)
print(resp.choices[0].message.content)Price unchanged since 2026-09-03 — 1 point on record.
Use this data
Raw JSON for this page: glm-5.3-flash.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.