Qwen Text Embedding v3 API

alibaba/qwen-text-embedding-v3
Alibaba's multilingual embedding model — configurable dimensions (512–1024) across 50+ languages for semantic search and retrieval.
Context
8K tokens
Input
$0.091 / 1M tokens
Output
Released
Dec 13, 2025

How to use Qwen Text Embedding v3 API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to alibaba/qwen-text-embedding-v3.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/embeddings",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "alibaba/qwen-text-embedding-v3",
      "input": "The quick brown fox"
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/embeddings", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "alibaba/qwen-text-embedding-v3",
    "input": "The quick brown fox"
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/embeddings \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"alibaba/qwen-text-embedding-v3","input":"The quick brown fox"}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Qwen Text Embedding v3 API Pricing

TypePrice
Input
$0.091 / 1M tokens
Output

The documented pricing caveat is that Qwen Text Embedding v3 includes a free quota of 500,000 tokens, valid for 90 days after Model Studio activation, model release, or application approval, whichever is later.

Qwen Text Embedding v3 vs other models

ModelInputOutputContextBest for
$0.091 / 1M tokens
8K tokens
Semantic search and RAG
$0.091 / 1M tokens
$0.074 / 1M tokens
Semantic search + RAG
$0.091 / 1M tokens
$0.091 / 1M tokens
Semantic search + RAG

Frequently asked questions

Qwen Text Embedding v3 has a 8,192 tokens context window.

Qwen Text Embedding v3 takes text as input and returns embedding.

Qwen Text Embedding v3 became available on December 13, 2025.

Qwen Text Embedding v3 is priced at input $0.091 / 1M tokens.

Qwen Text Embedding v3 was built by Alibaba Cloud.

Send a request to https://api.aimlapi.com/v1/embeddings with alibaba/qwen-text-embedding-v3 as the model id.

Yes. Qwen Text Embedding v3 is served through AI/ML API, so the same key and endpoint format used for other models applies.

It supports over 50 languages.

It supports custom output dimensions ranging from 512 to 1024.

Its model ID is alibaba/qwen-text-embedding-v3.

It is suited for semantic search, recommendation systems, and text analysis.

Start building with Qwen Text Embedding v3

Get API Key
1000+ models, one API.