HostYourAI

glm edge 4b chat hosting in the EU — OpenAI-compatible API

Instantly via the EU router or as a dedicated GPU deployment. Data stays in Europe.

✓ Verified working on 10-06-2026 — responded in 893 ms on our EU infrastructure.

Install the transformers library from the source code:

Specifications

Parameters4.3B
Context window8,192 tokens
Minimum VRAM10 GB
ArchitectureGlmForCausalLM (vLLM)
Licenseother
Modalitytext->text
ReleasedNovember 2024
Publisherzai-org (Hugging Face)

Pricing

Input (per 1M tokens)€ 0.05
Output (per 1M tokens)€ 0.10

Shared EU router, pay-per-token, scale-to-zero. Dedicated GPU deployments are billed hourly — see pricing.

Call it now

Drop-in replacement for OpenAI: change only the base URL and API key. The Anthropic format (/v1/messages) is supported too.

curl https://hostyourai.com/api/v1/chat/completions \
  -H "Authorization: Bearer hyai-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai-org/glm-edge-4b-chat",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Frequently asked questions

Can I run glm edge 4b chat in the EU?

Yes. HostYourAI runs glm edge 4b chat on GPUs in European datacenters via vLLM. Prompts and outputs never leave the EU and there is no US cloud provider in the chain.

Is hosting glm edge 4b chat GDPR-compliant?

Yes. All processing happens inside the EU, a Data Processing Agreement (DPA) is available and the subprocessor list is public. Open-source weights also mean: no training on your data.

How much does glm edge 4b chat cost?

Via the shared EU router you pay €0.05 per million input tokens and €0.10 per million output tokens, with no fixed costs. For high volume or isolation you can also run glm edge 4b chat as a dedicated hourly GPU instance.

Is the API OpenAI-compatible?

Yes. You use the standard OpenAI SDKs with a custom base URL (https://hostyourai.com/api/v1). The Anthropic Messages API is supported as a drop-in as well.

Try glm edge 4b chat for free

Creating an account takes a minute. Test glm edge 4b chat straight away in the playground.

Start for free

← All models