Text Embedding v4

alibaba/text-embedding-v4

Sign up to try it

Overview

Embedding

Alibaba's general text embedding model for semantic search, clustering and retrieval, with configurable vector dimensions.

Made by Alibaba Cloud

Input

Text

Output

Embeddings
Context
1.000.000
Input, maximum
1.000.000
Embedding input, maximum
8.192
  • Automatic fallback routes Not supported

Routes and pricing

Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.

Alibaba Cloud

primary
Input
Rp1.300per million tokens$0.07

Today's reference rate: Rp18.500/USD

Prices exclude the 5,5% service fee

Data and privacy

Alibaba Cloud Alibaba Cloud Model Studio privacy notice

Used to train models
No
Retention
Not stated in the policy.
Processing location
Singapore, the Model Studio region indoRouter uses.
At indoRouter
We don't store your prompts or responses. Files you upload, batches, and responses you send with store: true are kept encrypted for up to 30 days.

Code samples

Use this model ID with any OpenAI SDK. The base URL is the same for every model.

curl https://api.indorouter.ai/v1/embeddings \
  -H "authorization: Bearer $INDOROUTER_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "alibaba/text-embedding-v4", "input": "halo"}'