Alibaba Qwen: Qwen3 Embedding 4B

Not supportedQuick start

Qwen3 Embedding 4B is Alibaba Qwen's compact text embedding model, released 2025-10, built on the Qwen3 foundation for retrieval and ranking tasks. It targets text and code retrieval, classification, clustering, and bitext mining with multilingual and long-text support.

MirAPI doesn’t offer this model. The prices shown are the official list prices.

Modalities
inTextoutVector
Price
$0.02/ 1M in
Context
33K
Released
Oct 28, 2025

Quick start

POST /v1/embeddings
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.embeddings.create(
    model="",
    input="The quick brown fox",
)
vector = resp.data[0].embedding
# len(vector) — pass dimensions= to shorten it
Wire Qwen3 Embedding 4B into your product

1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.

Start free