← All models

Qwen: Qwen3 Embedding 4B

qwen/qwen3-embedding-4b
embeddings

The compact Qwen3 embedding model: same contract as the 8B, lighter and slightly pricier per token ($0.02/1M) — a sensible balance for bulk indexing where cost matters more than the last percent of quality. Text-only, multilingual.

Price
Released
Oct 28, 2025

Parameters

inputa string or array of strings

How to use via API

from openai import OpenAI

client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
r = client.embeddings.create(
    model="qwen/qwen3-embedding-4b",
    input="Привет! Это Mixen AI.",  # строка или список строк
)
vec = r.data[0].embedding
print(len(vec), vec[:3])
API docsTry in the bot