Verified 2026-11-18 · rates follow the live catalog
GLM-4.7-Flash is available through the Openference catalog on the same endpoint as every other model.
| Provider | Z.ai |
|---|---|
| Context window | 128K |
| Input / 1M tokens | $0.06 |
| Output / 1M tokens | $0.40 |
| Cached input / 1M tokens | — |
| Serving precision | FP8 |
A call with 50,000 input tokens and 10,000 output tokens bills at $0.0070: 50,000 ÷ 1,000,000 × $0.06 for input, plus 10,000 ÷ 1,000,000 × $0.40 for output.
Both API formats are served from one host and one key, so a tool that speaks either works without a translation layer:
https://api.openference.com/v1/chat/completionshttps://api.openference.com/v1/messagesSet OPENAI_BASE_URL or ANTHROPIC_BASE_URL to that host and keep the client library you already use.
Send GLM-4.7-Flash in the model field.
Capabilities: tool and function calling.
Every GLM model is compared on the GLM API pricing page.
The rest of the catalog, with rates side by side, is on all models.
Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API