codegeex2 6b int4
Runs as your own dedicated GPU deployment, ready to launch from the wizard. Data stays in Europe.
$ curl https://hostyourai.com/api/v1/embeddings \
-H "Authorization: Bearer hyai-..." \
-H "Content-Type: application/json" \
-d '{
"model": "zai-org/codegeex2-6b-int4",
"input": "The quick brown fox"
}'
Call it now
Drop-in replacement for OpenAI: change only the base URL and API key. The Anthropic format (/v1/messages) is supported too.
text->embedding · zai-org · sovereign EU
Runs on EU infrastructure operated by European companies, from your request to the GPU. See the full chain
codegeex2 6b int4 is an open-source language model from Z.AI with 6B parameters, hosted on EU GPUs via an OpenAI-compatible API.
- Router
- Router · on request
- Dedicated
- Dedicated · available
Specifications
| Parameters | 6B |
|---|---|
| Minimum VRAM | 14 GB |
| Architecture | ChatGLMForConditionalGeneration (vLLM) |
| Modality | text->embedding |
| Released | July 2023 |
| Publisher | zai-org ↗ |
Pricing
Shared router · per token
Dedicated GPU · per hour
Shared EU router, you pay only per token. Dedicated GPU deployments are billed per minute, see pricing.
Bench index
Bench is our quality index for every model, 0 to 100. It rests on public measurements (Epoch AI with about 40 benchmarks, LiveBench, LMArena and more) and is refreshed every morning. Where nobody measures, it shows an estimate with a range.
Estimated from its size, fitted on every model on MTEB (its own scale).
Range 59.7 to 71.3
Sources: Epoch AI ↗ · LiveBench ↗ · LMArena ↗ · Refreshed daily, last on 16-11-2026
Frequently asked questions
Can I run codegeex2 6b int4 in the EU?
Yes. HostYourAI runs codegeex2 6b int4 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 codegeex2 6b int4 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 codegeex2 6b int4 cost?
codegeex2 6b int4 needs several GPUs at once, so it runs as a dedicated deployment billed per GPU minute rather than per token. Tell us your volume and we will work it out with you.
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.
More models from Z.AI
One platform, four layers
Start with one layer and add the others when the work asks for it. They share one key, one balance and one Activity view.
Try codegeex2 6b int4 for free
Creating an account takes a minute. Your API key works with codegeex2 6b int4 right away.







