Qwen3 Embedding 4B

alibaba/qwen3-embedding-4b

An embedding model with a 33K-token context window, at $0.021 per million tokens.

Details

Maker
alibaba
Kind
Embeddings
Context window
32,768 tokens
Input
$0.021 per million tokens
Capabilities
None listed
Takes
Text
Returns
Text
Zero data retention
Yes, on every provider
No training on requests
Yes, on every provider
Released
2025-06-05
Newer model
alibaba/qwen3-embedding-0.6bReleased later by the same maker, costs no more, and lists the same capabilities. Compare the two

Description

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).

Call it

curl
curl https://phantom.codes/v1/embeddings \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "alibaba/qwen3-embedding-4b",
    "input": "The quick brown fox"
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.