GLM API through one OpenAI-compatible endpoint
Use 6 GLM models with the same key and base URL you use for every other model on Mimxo AI.
Get an API keyGLM models and prices
| Model | Provider | Input / 1M | Output / 1M | Cache read / 1M | List input / output |
|---|---|---|---|---|---|
glm-5 | Zhipu GLM | $0.18 | $0.576 | $0.036 | $0.6 / $1.92 |
glm-5.1 | Zhipu GLM | $0.2894 | $0.9095 | $0.0537 | $0.9646 / $3.032 |
glm-5.2 | Zhipu GLM | $0.123 | $1.197 | $0.078 | $0.41 / $3.99 |
glm-5.3 | Zhipu GLM | $0.42 | $1.32 | $0.042 | $1.4 / $4.4 |
glm-5.3-flash | Zhipu GLM | $0.045 | $0.15 | $0.009 | $0.15 / $0.5 |
glm-5.3-prime | Zhipu GLM | $0.84 | $2.64 | $0.168 | $2.8 / $8.8 |
Prices in USD per 1M tokens, read live from /api/pricing. "List" is the reference list price; Mimxo AI bills the first columns.
Example
curl https://mimxo.com/v1/chat/completions \
-H "Authorization: Bearer $MIMXO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "glm-5", "messages": [{"role": "user", "content": "Hello"}]}'from openai import OpenAI
client = OpenAI(base_url="https://mimxo.com/v1", api_key="YOUR_MIMXO_API_KEY")
resp = client.chat.completions.create(
model="glm-5",
messages=[{"role": "user", "content": "Write a haiku about APIs"}],
)
print(resp.choices[0].message.content)FAQ
How do I call GLM models through Mimxo AI?
Use any OpenAI SDK with base URL https://mimxo.com/v1 and your Mimxo AI key, then set model to one of the IDs below, e.g. glm-5.
How much does the GLM API cost on Mimxo AI?
0.3× the reference list price per 1M tokens. Current prices are in the table above.
Is this the official API?
No. Mimxo AI is an independent gateway that relays requests to the official Zhipu GLM API through OpenRouter.
Other providers: OpenAI API · Claude API · Gemini API · Grok API · DeepSeek API · Qwen API · Kimi API · MiniMax API