Z.ai: GLM 5 - API in Egypt, billed in EGP

Live
z-aiglm-5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading

Modality

Chat

Context window

198K tokens

Max output

128K tokens

Region

US

Published

29 Sept 2026

Pricing

Input

34.38

EGP per 1M tokens

Output

110.02

EGP per 1M tokens

Monthly cost example

3,369.33 EGP

Illustrative estimate: 50M input + 15M output tokens per month at this model's catalog rates.

Use it via the API

Z.ai: GLM 5 works with any OpenAI-compatible SDK — point the base URL at https://dev-backend.sovereigneg.com/v1 and use your SovereignEG API key.

Run inference

OpenAI-compatible — POST /v1/chat/completions — drop-in for any OpenAI SDK.

from openai import OpenAI

client = OpenAI(
    base_url="https://dev-backend.sovereigneg.com/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="glm-5",
    messages=[
        {"role": "user", "content": "What are some fun things to do in Cairo?"}
    ],
)

print(response.choices[0].message.content)

Frequently asked questions

How much does Z.ai: GLM 5 cost?

34.38 EGP per 1M input tokens; 110.02 EGP per 1M output tokens. Billing is metered per token in Egyptian pounds (EGP), with no minimum commitment.

What is the context window of Z.ai: GLM 5?

Z.ai: GLM 5 supports a context window of 198,000 tokens (198K), with up to 128,000 output tokens per response.

Where is Z.ai: GLM 5 hosted?

Z.ai: GLM 5 is served from US (US-hosted inference).

How do I use Z.ai: GLM 5 via the API?

Z.ai: GLM 5 is available through the OpenAI-compatible SovereignEG API: point your SDK's base URL at https://dev-backend.sovereigneg.com/v1 and call /v1/chat/completions with model "glm-5" and your API key.