glm-4-5-flash
Text chat, coding, structured extraction, and tool calling.
Pricing: Input 0 credits / 1M tokens (≈ $0.00), Output 0 credits / 1M tokens (≈ $0.00).
Prices updated
How can I help you today?
This demo page does not include the full memory features of the client. For the complete experience, please use the client or the CLI.
More AI models from Z.ai
GLM-4.5-Flash API
Call GLM-4.5-Flash on ModelFold with model id glm-4-5-flash.
What this model is for
Context window
131,072 tokens of context for longer conversations, document analysis, and code.
Text and coding
Text input and output for conversation, coding, summaries, and information extraction. This model does not accept images.
Reasoning and tools
Supports reasoning and function calling. Pass tools and tool_choice; your application executes the requested tools.
Pricing
Billing follows token usage. At current prices, input is 0 credits per 1M tokens (about $0) and output is 0 credits per 1M tokens (about $0). Final charges follow actual token usage. Failed calls are not charged.
FAQ
What model id do I send?⌄
Send model glm-4-5-flash to POST https://modelfold.ai/v1/chat/completions with Authorization: Bearer YOUR_API_KEY and an OpenAI-style messages array. stream: true returns server-sent events.
Does it support tools?⌄
Yes. Pass tools and tool_choice as in OpenAI Chat Completions. The model returns tool arguments; your application runs the tool and sends back its result.
| Input | 0 credits 1M tokens≈ $0.00 |
| Cached input | 0 credits 1M tokens≈ $0.00 |
| Output | 0 credits 1M tokens≈ $0.00 |
Billed per token: input and output are priced separately, and thinking tokens count as output. The Playground charges exactly the same way.
Read API docs →AI Agents · Claude Code / Cursor / Trae →curl https://modelfold.ai/v1/chat/completions \
-H "Authorization: Bearer $MODELFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"glm-4-5-flash","messages":[{"role":"user","content":"Hello"}]}'



