models/Alibaba/Qwen Text Embedding v3
Alibaba

Qwen Text Embedding v3

embedding
Compare
MODALITIES
embedding
INPUT
$0.070 /1M
OUTPUT
$0 /1M
RELEASED
2025-10-27

Qwen Text Embedding v3 (alibaba/text-embedding-v3) is a embedding model from Alibaba, released 2025-10-27. Context window: tokens; max output . Pricing via AIgateway: input $0.070/M tokens, output $0/M tokens. Call it via https://api.aigateway.sh/v1/embeddings — set model="alibaba/text-embedding-v3".

model · alibaba/text-embedding-v3

Use this model

model: alibaba/text-embedding-v3
curl https://api.aigateway.sh/v1/embeddings \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"alibaba/text-embedding-v3","input":"the quick brown fox"}'

Capabilities

Pricing

Input$0.070 / 1M tokens
Output$0 / 1M tokens
You pay pass-through pricing.
See API example →CompareAPI referenceSee usage ranking →

Collections

More embedding models →More from AlibabaFrontier models →Free-tier models →
API schema

Call Qwen Text Embedding v3 from any OpenAI SDK

POST https://api.aigateway.sh/v1/embeddings·Content-Type: application/json·Auth: Bearer sk-aig-...

Request body

json
{
  "model": "alibaba/text-embedding-v3",
  "input": "Text to embed, or an array of strings for batch."
}

Response

json
{
  "object": "list",
  "data": [
    {
      "object": "embedding",
      "index": 0,
      "embedding": [0.0123, -0.0456, 0.0789, /* ... */]
    }
  ],
  "model": "alibaba/text-embedding-v3",
  "usage": { "prompt_tokens": 5, "total_tokens": 5 }
}

Quickstart

from openai import OpenAI
client = OpenAI(base_url="https://api.aigateway.sh/v1", api_key="sk-aig-...")

r = client.embeddings.create(model="alibaba/text-embedding-v3", input="hello world")
print(r.data[0].embedding[:5])

Errors

401authentication_errorInvalid or missing API key
402insufficient_creditsWallet empty (PAYG only)
404not_foundUnknown model or endpoint
429rate_limit_errorOver per-minute limit — see Retry-After header
500server_errorUpstream provider failed (retryable)
503service_unavailableUpstream saturated (retryable)
Full docs →API reference →OpenAPI spec →llms.txt →

Frequently asked questions

What is Qwen Text Embedding v3?
undefined It is a embedding model from Alibaba, accessible via AIgateway's OpenAI-compatible API at slug alibaba/text-embedding-v3.
How much does Qwen Text Embedding v3 cost via AIgateway?
Input costs $0.070 per 1M tokens; output costs $0.000 per 1M tokens, billed pass-through.
How do I call Qwen Text Embedding v3 from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to "alibaba/text-embedding-v3". The request and response shapes match OpenAI exactly.
Does Qwen Text Embedding v3 support streaming, tool calling, vision, and JSON mode?
Streaming — no. Tool calling — no. Vision — no. JSON mode — no. Prompt caching — no.
Can I bring my own Alibaba API key (BYOK)?
Yes. Attach a Alibaba key in your AIgateway dashboard and this model flips to pass-through — you pay Alibaba directly and AIgateway adds no platform fee on those calls.