Embedding 3
Zhipu AI Embedding 3 β latest text embedding model. Default 2048-dim, supports custom dimensions (256, 512, 1024, 2048).
Zhipu AI Embedding-3 is the third-generation text embedding model from Beijing-based Zhipu AI (ζΊθ°± AI), the research lab behind the GLM series of language models. Released as part of the bigmodel.cn open platform, Embedding-3 is a significant step forward from the fixed-dimension Embedding-2, introducing adjustable output dimensions (256 / 512 / 1024 / 2048) and a 3,072-token per-input limit on TheRouter (Zhipu's overview also mentions 8K). The model is designed for Chinese-English bilingual semantic understanding, with particular strength in Chinese-dominant retrieval corpora.
For TheRouter operators, Embedding-3 is the recommended embedding model for Chinese-first RAG, search, and recommendation pipelines. TheRouter's listed input price is $0.081 per million tokens as of 2026-11-04; check the pricing table for the current rate. Zhipu's direct price is separate. Its matryoshka-style dimension selection allows operators to trade off storage cost and vector search latency β for example, using 256-dim vectors for large-scale approximate search and 2048-dim for high-fidelity retrieval. The model is accessible through the OpenAI-compatible /v1/embeddings endpoint at api.therouter.ai using the zhipu/embedding-3 model identifier.
- β’ Chinese-English bilingual RAG pipelines: semantic search over mixed-language knowledge bases where Chinese documents dominate
- β’ High-volume Chinese-language corpora: compare the current input-token rate and retrieval quality against other available embedding models
- β’ Dimension-flexible deployments: select dimensions (256β2048) to balance vector index size and retrieval quality; test changes on your corpus
- β’ Recommendation systems and content deduplication over large Chinese-language text corpora (news, e-commerce, user reviews)
- β’ English-language retrieval: evaluate candidate models on your own corpus; OpenAI text-embedding-3-large is not currently listed on TheRouter
- β’ Multimodal (image + text) embedding tasks: Cohere Embed V4 supports interleaved image/text inputs; Embedding-3 is text-only
- β’ Cross-lingual semantic tasks beyond Chinese and English: models with broader multilingual MTEB coverage (e.g., Cohere Embed V4, multilingual-e5-large) are more reliable
Modalities
Pricing Breakdown
| Type | Rate |
|---|---|
| Input | $0.081 / 1M tokens |
Supported Parameters
Specifications
| Context window | 3,072 tokens per input on TheRouter (Zhipu overview: 8K)docs.bigmodel.cn β | verified |
| Output dimensions | 256, 512, 1024, or 2048 (default: 2048)docs.bigmodel.cn β | verified |
| Batch size limit | Up to 64 strings per requestdocs.bigmodel.cn β | verified |
| List price (Zhipu direct) | Β₯0.5 per million tokensdocs.bigmodel.cn β | verified |
| Matryoshka dimension reduction | Supported β select 256/512/1024/2048 via the dimensions parameterdocs.bigmodel.cn β | verified |
| Modality | Text β embedding (text-only input; no image or audio support)docs.bigmodel.cn β | verified |
| Generation (predecessor) | Zhipu Embedding-2 (1024-dim fixed, 512-token context)docs.bigmodel.cn β | verified |
API Usage Examples
Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.
curl https://api.therouter.ai/v1/embeddings -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{"model":"zhipu/embedding-3","input":["A sample document"]}'API guide
Embeddings (OpenAI-compatible)
Access Embedding-3 through the standard OpenAI /v1/embeddings endpoint at api.therouter.ai. Pass the dimensions parameter (256, 512, 1024, or 2048) to select your output size. Batch up to 64 strings per request for maximum throughput.
curl https://api.therouter.ai/v1/embeddings \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "zhipu/embedding-3",
"input": ["ζΊθ°± AI ζ―δΈε½ι’ε
η AI η η©ΆζΊζ", "Zhipu AI is a leading Chinese AI research lab"],
"dimensions": 1024
}'More from zhipu
Not in the current catalog; the description below is historical.
Browse the current model catalogNot in the current catalog; the description below is historical.
Browse the current model catalogSimilar models
Cross-provider sibling modelsNot in the current catalog; the description below is historical.
OpenAI's fast embedding model β stronger English MTEB; 8K context; 1536-dim default
Browse the current model catalogNot in the current catalog; the description below is historical.
OpenAI's highest-quality embedding model β 3072-dim, best English MTEB
Browse the current model catalogFrequently asked
Which dimension should I use?
2048 (default) delivers the highest semantic fidelity and is recommended for precision-critical retrieval such as legal or medical knowledge bases. 1024 is a practical balance for most production RAG stacks. 512 suits large-scale approximate nearest-neighbor (ANN) search where index storage cost matters. 256 is suitable for real-time similarity scoring where latency is the primary constraint. All four dimensions share the same token cost per request.
Can I use Embedding-3 with LangChain, LlamaIndex, or Spring AI?
Yes. Because TheRouter exposes Embedding-3 through the standard OpenAI embeddings API at api.therouter.ai, any framework that supports the OpenAI embeddings client works out of the box. For LangChain and LlamaIndex, set the base URL to https://api.therouter.ai/v1 and the model to zhipu/embedding-3. For Spring AI, set spring.ai.openai.embedding.options.model=zhipu/embedding-3 and spring.ai.openai.embedding.options.dimensions=1024 (or your preferred size).
How does Embedding-3 compare to OpenAI text-embedding-3-small?
As of 2026-11-04, text-embedding-3-small is not in the current TheRouter catalog. Embedding-3 is listed at $0.081 per million input tokens and 3,072 tokens per input; consult the live catalog for current rates and available alternatives. Compare retrieval quality on your own dataset.
Fact ledger β every claim on this page traces here
| source | URL | retrieved | |
|---|---|---|---|
| Context window | docs.bigmodel.cn β | 2026-06-09 | verified |
| Output dimensions | docs.bigmodel.cn β | 2026-06-09 | verified |
| Batch size limit | docs.bigmodel.cn β | 2026-06-09 | verified |
| List price (Zhipu direct) | docs.bigmodel.cn β | 2026-06-09 | verified |
| Matryoshka dimension reduction | docs.bigmodel.cn β | 2026-06-09 | verified |
| Modality | docs.bigmodel.cn β | 2026-06-09 | verified |
| Generation (predecessor) | docs.bigmodel.cn β | 2026-06-09 | verified |