Qwen3 Embedding 8B · vercel
The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks. Building upon the dense foundational models of the Qwen3 series, it provides a comprehensive range of text embeddings and reranking models in various sizes (0.6B, 4B, and 8B).
Input, $/1M $0.01
Output, $/1M —
Context 32 768
Max output 32 768
Accepts text
Last checked 04.11.2026 12:00:14 UTC
Source provider's page
Price alerts
API
OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.
| API base URL | |
|---|---|
| Endpoint | |
| Model id | |
curl
curl https://ai-gateway.vercel.sh/v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "alibaba/qwen3-embedding-8b", "input": ["first text", "second text"]}'Python
import requests
r = requests.post(
"https://ai-gateway.vercel.sh/v1/embeddings",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "alibaba/qwen3-embedding-8b",
"input": [
"first text",
"second text"
]
},
)
print(r.json())JavaScript
const r = await fetch("https://ai-gateway.vercel.sh/v1/embeddings", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "alibaba/qwen3-embedding-8b",
"input": [
"first text",
"second text"
]
}),
});
console.log(await r.json());Request (JSON)
{
"model": "alibaba/qwen3-embedding-8b",
"input": [
"first text",
"second text"
]
}Response (JSON)
{
"object": "list",
"model": "alibaba/qwen3-embedding-8b",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
0.0123,
-0.0456,
"..."
]
}
],
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}The address is taken from the provider's model list; check it against the provider's documentation.
Source: AI Rate Card, https://airatecard.com/en/c/offer%3Avercel%7Calibaba/qwen3-embedding-8b, prices checked 2026-11-04; seller's page: https://vercel.com/ai-gateway/models/qwen3-embedding-8b
Technical details
ID: offer:vercel|alibaba/qwen3-embedding-8b