GLM 4.7 Flash

zai/glm-4.7-flash

text in · text out · 131,072 context · 117,964 max output

toolsschemareasoningno-train
Effective cost per 1k requests

cost = p_in·(input − cached) + p_cache_read·cached + p_out·output + p_req; cached tokens are the prefix a sticky endpoint already holds (part2b §9.3), which is why the cheapest list price is not always the cheapest request.

ProviderRegion · quantContext / max outInput / MOutput / MCache read / writeMarkupPer 1k reqUptime 30 dTTFT p50 / p95ThroughputLast 24 hFidelityDataCapabilitiesStatus
OpenRouterglobal · unknown131,072 / 117,964$0.064$0.420— / —+5.0%$0.338———no traffic— no-train 30 dmodel defaultactive

Quick start

curl https://api.ai.ml/v1/chat/completions \
  -H "Authorization: Bearer $AIML_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"zai/glm-4.7-flash","messages":[{"role":"user","content":"Say hello"}]}'
Get a key in the console

Changelog

  • new_model model zai/glm-4.7-flash added (active); endpoint ep_openrouter_glm-4.7-flash_global (z-ai/glm-4.7-flash) added as active; price input 0.064 output 0.420 USD/M 10/5/2026