Alibaba Cloud - API - verified
Text Embedding V4 embeddings
Text Embedding V4 is a current embedding model from Alibaba Cloud, called by API as text-embedding-v4. It returns 1,024-dimension vectors by default and accepts up to 8,192 input tokens, for text and code input. The first-party list price is $0.07 per 1M input tokens.
CurrentModel id: text-embedding-v4
- Default dims
- 1,024
- Max input
- 8,192 tok
- Price / 1M
- $0.07
- Inputs
- Text, Code
Dimensions
Flexible output size- 2,048
- 1,536
- 1,024default
- 768
- 512
- 256
- 128
- 64
Default output: 1,024 dimensions.
Listed sizes: 2,048, 1,536, 1,024, 768, 512, 256, 128 and 64.
Alibaba Cloud documents shorter output vectors for this model (Matryoshka-style), so you can store smaller embeddings by asking for fewer dimensions instead of re-embedding with another model.
Pricing
- Per 1M input tokens
- $0.07
- Batch, per 1M
- Not stated
Singapore (International) price; China (Beijing) is $0.072 and Hong Kong (China) is $0.07; 1 million free tokens for 90 days.
Usage
The sources read for this directory publish no copyable snippet for Text Embedding V4. Call it with the model id text-embedding-v4 as shown in the provider docs linked under Sources.
Worth knowing
Part of the Qwen3-Embedding series, covering 100+ languages and multiple programming languages, with up to 10 texts of 8,192 tokens each per request and task instruction support.
Release date not stated in the sources. Multilingual: yes.
FAQ
How many dimensions does Text Embedding V4 output?
Default output: 1,024 dimensions. Listed sizes: 2,048, 1,536, 1,024, 768, 512, 256, 128 and 64. Alibaba Cloud documents shorter output vectors for this model (Matryoshka-style), so you can store smaller embeddings by asking for fewer dimensions instead of re-embedding with another model.
What is the max input length of Text Embedding V4?
8,192 tokens per input, per Alibaba Cloud's documentation. Longer text has to be chunked before you embed it.
How much does Text Embedding V4 cost?
The first-party list price is $0.07 per 1M input tokens. Singapore (International) price; China (Beijing) is $0.072 and Hong Kong (China) is $0.07; 1 million free tokens for 90 days. Source: https://www.alibabacloud.com/help/en/model-studio/model-pricing.
What can Text Embedding V4 embed?
Text and code input, per the provider. It is documented as multilingual.
Sources
Last verified from the pages below.
- Model Studio embedding docs - alibabacloud.com
- Text embedding synchronous API - alibabacloud.com
- Model Studio pricing - alibabacloud.com
More Alibaba Cloud embedding models
Default dimensions, max input tokens and list price per 1M tokens.
- Qwen3.7 Text Embedding1,024 dims - 128,000 tokens - $0.07
- Qwen3.7 Text Embedding Flashdims not stated - 128,000 tokens - Not stated
- Text Embedding V31,024 dims - 8,192 tokens - $0.07
- Tongyi Embedding Vision Plus1,152 dims - 1,024 tokens - $0.09
- Tongyi Embedding Vision Flash768 dims - 1,024 tokens - $0.09
- Qwen3-VL Embedding2,560 dims - 32,000 tokens - $0.10
- Multimodal Embedding V11,024 dims - 512 tokens - Not stated
Newsletter
New models, every week
One email per week. New model releases, embedding and retrieval updates and what they mean for what you build.
Keep exploring
Model API pricing and specs
First-party prices per 1M tokens for chat and reasoning models.
Local models
Open-weight LLMs you can download and run, with sizes and licenses.
What is RAG?
Where embeddings fit in a retrieval pipeline, end to end.
Vector databases compared
Where the vectors go once you have picked a model.