Alibaba Cloud (Qwen): Text Embedding v4
Overview
Alibaba's text embedding model for search, RAG and clustering, with configurable dimensions from 64 to 2048.
- Provider
- Alibaba Cloud (Qwen)
- Modality
- Embeddings
- Input
- text
- Output
- embeddings
- Weights
- Closed
- Distillable
- NoLicence or terms, checked .
- Tags
- embeddings, retrieval
Data policy
- Prompts go to
- Alibaba Cloud Model Studio (prices shown are for the Singapore / International deployment)
- Retention
- Alibaba Cloud states it never uses your data for model training, Model Studio stores data generated from model calls as required by law (no period stated)
- Zero data retention
- Not stated by the provider
- Region
- Singapore (International) for these prices, other regions such as China (Beijing), Hong Kong, Frankfurt, Virginia and Tokyo have separate price lists
Summarised from the provider's published terms. The provider's own policy is what applies.
Where you can run it
How Text Embedding v4 can be deployed, bought and reached through Safeguard.
- Deployment
- Public cloudPrivate cloud
- Procurement
- Not published yet
- Inference regions
- 🇨🇳China🇭🇰Hong Kong SAR ChinaCloud provider's availability page, checked .
Closed weights stay with the provider, so this model runs in the provider's cloud, never on-prem or air-gapped.
Pricing
| Provider | Input / 1M tokens | Output / 1M tokens | Context |
|---|---|---|---|
| Alibaba Cloud (Qwen) | $0.07 | Price on request | 8K |
- Notes
- International (Singapore). Billed by input tokens, output free.
- Source
- Alibaba Cloud (Qwen) pricing , last verified October 8, 2026
No markup on model usage: you pay the provider's list price.
API
OpenAI-compatible. Your API key and access to this model are set up for your workspace when you choose Use with Safeguard.
from openai import OpenAI
client = OpenAI(
base_url="https://api.safeguard.sh/gpt/v1",
api_key="SAFEGUARD_API_KEY",
)
response = client.chat.completions.create(
model="qwen/text-embedding-v4",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Base URL https://api.safeguard.sh/gpt/v1, model qwen/text-embedding-v4.
Product names and logos are trademarks of their respective owners and identify each model's publisher. Their use does not imply endorsement, sponsorship or affiliation.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.