Z.ai (Zhipu) · API pricing
GLM API pricing
3 GLM models on one OpenAI-compatible API, billed per token from a prepaid balance — no subscription. From €0.0278 per 100k input tokens and €0.0924 per 100k output tokens, margin and VAT included. All run on EU-sovereign infrastructure.
- Models live
- 3
- Input from
- €0.0278
- per 100k tokens
- Output from
- €0.0924
- per 100k tokens
- Largest context
- 1M
- GLM-5.3 Flash
GLM API pricing per model
per 100k tokens · margin and VAT included · from our live catalog when this page is built
| Model | Input | Output | Cached in | Context | Max output | Jurisdiction |
|---|---|---|---|---|---|---|
GLM-5.3 Flashglm-5.3-flashtoolsvision | €0.0278 | €0.0924 | €0.0056 | 1M | — | EU sovereign |
GLM-5.4glm-5.4toolsvision | €0.2588 | €0.8132 | €0.0394 | 1M | — | EU sovereign |
GLM-5.3glm-5.3tools | €0.3024 | €0.9240 | €0.0420 | 512K | 80K | EU sovereign |
Input, output and cached input are the prices debited from your prepaid balance per 100,000 tokens, margin and VAT included. Context is the window as served on Frontière AI; max output is the provider's cap on max_tokens (— when it sets none we know of). Tool calling is measured with a real call per model.
Where each GLM model runs, and what GLM's own API does with your data →GLM API cost calculator
Pick a model and a workload, or type your own token counts: the estimate uses the prices in the table above, margin and VAT included.
Example workload
Roughly 1,000 tokens ≈ 750 English words.
Per request
€0.00074
Per day
€0.7392
Per month
€22.18
30 days
A €10 top-up covers about 13,528 requests · GLM-5.3 Flash
Where the money goes
- Input€12.47 · 56%
- Output€9.70 · 44%
Estimate, margin and VAT included, from the prices on this page. You are billed on the tokens the provider reports for each call, debited from a prepaid balance — no subscription.
Same workload on every model
| Model | Per request | Per month | |
|---|---|---|---|
| GLM-5.3 FlashEU sovereign | €0.00074 | €22.18 | Selected |
| GLM-5.4EU sovereign | €0.0067 | €201.80 | |
| GLM-5.3EU sovereign | €0.0078 | €233.10 |
Call GLM models
The API is OpenAI-compatible: keep your SDK, change base_url and the key, and pass the model id. One key covers the whole catalog.
curl https://getfrontiereai.eu/api/v1/chat/completions \
-H "Authorization: Bearer $FRONTIERE_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3-flash",
"messages": [{"role": "user", "content": "Bonjour"}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://getfrontiereai.eu/api/v1",
api_key=os.environ["FRONTIERE_KEY"],
)
reply = client.chat.completions.create(
model="glm-5.3-flash",
messages=[{"role": "user", "content": "Bonjour"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://getfrontiereai.eu/api/v1",
apiKey: process.env.FRONTIERE_KEY,
});
const reply = await client.chat.completions.create({
model: "glm-5.3-flash",
messages: [{ role: "user", content: "Bonjour" }],
});
console.log(reply.choices[0].message.content);Frequently asked
How much does the GLM API cost?
On Frontière AI, GLM models cost from €0.0278 to €0.3024 per 100,000 input tokens and from €0.0924 to €0.924 per 100,000 output tokens, depending on the model — margin and VAT included, that is the amount debited from your prepaid balance. The table lists each model's price; the calculator turns it into a monthly cost for your workload.
Which GLM model is the cheapest?
GLM-5.3 Flash, the cheapest on both input (€0.0278) and output (€0.0924) per 100k tokens.
Which GLM model has the largest context window?
GLM-5.3 Flash, with 1M tokens of context as served on Frontière AI.
Is the GLM API hosted in Europe on Frontière AI?
Yes: every live model is labeled EU sovereign — Mistral AI (France) for GLM-5.3 Flash and GLM-5.4 and AKI.IO (Germany) for GLM-5.3. Your prompts transit through our gateway, hosted by Vercel in Paris (a US company), without being stored.
Is there a subscription or a minimum spend?
No subscription. You top up a prepaid balance from €10 and each call is debited at the per-token price. Calls are refused once the balance reaches zero; a call already running can take it slightly below — deducted from your next top-up.
Do I need to change my code to call GLM models?
No, if your code already uses an OpenAI SDK: point base_url at https://getfrontiereai.eu/api/v1, use a Frontière AI key and pass the model id, for example “glm-5.3-flash”. Streaming and tool calling are relayed as-is.
How are cached input tokens billed?
GLM-5.3 Flash, GLM-5.4 and GLM-5.3 have a discounted rate for prompt tokens the provider serves from its cache (€0.0056 per 100k tokens on GLM-5.3 Flash). The provider reports these tokens on each call and we bill them at that rate; on a model without a cache rate, every input token is billed at the input rate.
Other providers
Per-token prices for every publisher in our catalog
All model prices on one page →Start calling GLM in minutes
Create an account, top up €10, change two lines of code.