Text-Embedding-v4
Text-Embedding-v4

Alibaba Cloud · Embedding
POST /v1/chat/completionsAlibaba’s flagship text embedding model. Part of the Qwen3-Embedding series. Supports 100+ major languages with custom output dimensions (64 to 2048). Up to 8,192 tokens per input, batch size of 10. Ideal for semantic search, recommendations, clustering, classification, and anomaly detection.
At a glance
Pricing
Example request
Parameters
Notes
Embedding dimensions (selectable per request)
- 64, 128, 256, 512, 768, 1024 (default), 1536, 2048
- Higher = more semantic info, more storage cost
Batch limits
- Up to 10 inputs per request
- Each input up to 8,192 tokens
Languages
- 100+ major languages including Chinese, English, Spanish, French, Japanese, Korean, German, Russian
- Multiple programming languages also supported
Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/text-embedding-v4.
