Z.ai: GLM 4.5
z-ai/glm-4.5About this model
GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly...
Make a request
OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.
curl https://promptix.tn/api/v1/chat/completions \ -H "Authorization: Bearer $PROMPTIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "z-ai/glm-4.5", "messages": [ {"role": "user", "content": "Hello! What can you do?"} ] }'Use Z.ai: GLM 4.5 from Tunisia
Z.ai: GLM 4.5 by Z.ai is available through the Promptix API with the id z-ai/glm-4.5. You pay in Tunisian dinars: top up with Flouci using a Tunisian bank card or the Flouci wallet. No international card and no dollar account are needed.
It costs 2.323 TND per 1M input tokens and 8.516 TND per 1M output tokens, before VAT and the platform fee added at top-up. There is no subscription and credits do not expire.
The endpoint is OpenAI-compatible: the OpenAI SDK, LangChain and the Vercel AI SDK work by changing the base URL. An Anthropic-compatible endpoint also lets you use it in Claude Code, and it works in opencode.
Pricing
In TND per 1M tokens. VAT and the platform fee are added at top-up.
Input tokens
2.323 TNDper 1M tokens
Output tokens
8.516 TNDper 1M tokens
1,000 requests with 1K input and 500 output tokens cost about 6.581 TND.
Specifications
- Provider
- Z.ai
- Context window
- 131,072 tokens
- Input modality
- Text
- Added
- Jul 25, 2025
- Supported parameters
include_reasoningmax_tokensreasoningresponse_formattemperaturetool_choicetoolstop_k