NEWVectors or files. Pick a path.Start →
    Models/Embeddings/Qwen/Qwen3-Embedding-4B
    HFText Embeddingsapache-2.0

    Qwen3-Embedding-4B

    by Qwen

    Top-ranked multilingual text embedding with 100+ languages and 32K context

    3.4Mdl/month
    313likes
    4.0Bparams
    Identifiers
    Model ID
    Qwen/Qwen3-Embedding-4B
    Feature URI
    mixpeek://text_extractor@v1/qwen3_embedding_4b_v1

    Overview

    Qwen3-Embedding-4B is the mid-size model in the Qwen3 Embedding family that achieves top performance on the MTEB multilingual leaderboard with a score of 69.45, excelling across text retrieval, code retrieval, classification, clustering, and bitext mining. It balances strong embedding quality with reasonable compute requirements.

    On Mixpeek, Qwen3-Embedding-4B is the recommended text embedding model for production pipelines that need best-in-class multilingual retrieval quality. It powers semantic search over transcripts, documents, and extracted text across 100+ languages.

    Architecture

    Dense transformer built on the Qwen3 4B foundation model with the same three-stage training pipeline as the 0.6B variant: unsupervised pre-training, supervised fine-tuning, and model merging. Supports flexible embedding dimensions from 32 to 2048 via Matryoshka training and instruction-aware embedding.

    Mixpeek SDK Integration

    // No extractor parameter takes a Hugging Face model id (checked against
    // GET /v1/discovery/extractors, which returns 13), so Qwen3-Embedding-4B runs
    // on your side and the output is upserted through POST
    // /v1/namespaces/{namespace_id}/documents/upsert. On Enterprise the other
    // path is to upload the weights instead: POST /v1/namespaces/{id}/models
    // accepts the huggingface format and a custom plugin loads them.
    const res = await fetch(
      "https://api.mixpeek.com/v1/namespaces/ns_your_namespace/documents/upsert",
      {
        method: "POST",
        headers: {
          Authorization: "Bearer API_KEY",
          "Content-Type": "application/json",
        },
        body: JSON.stringify({
          collection_id: "col_your_collection",
          documents: [
            {
              document_id: "asset-00412",
              // The vector name has to match a vector index on the collection.
              vectors: { "text-embedding": yourVector },
              payload: { source_key: "archive/2026/asset-00412" },
            },
          ],
        }),
      },
    );
    
    // Managed alternative, if this exact model is not the requirement:
    // text_extractor@v1 runs intfloat/multilingual-e5-large-instruct
    // (1024-d) over a bucket, with no inference of your own.

    Capabilities

    • Top-ranked on MTEB multilingual leaderboard (69.45)
    • 100+ language support with state-of-the-art multilingual transfer
    • Flexible embedding dimensions from 32 to 2048
    • 32K token context window for long documents
    • Strong performance on code retrieval and classification tasks

    Use Cases on Mixpeek

    Production-grade multilingual semantic search across document collections
    RAG pipeline embedding backend for enterprise knowledge bases
    Cross-lingual document matching and deduplication at scale

    Benchmarks

    DatasetMetricScoreSource
    MTEB MultilingualAvg Score69.45Qwen3-Embedding paper, June 2025
    MTEB Retrieval (en)nDCG@10Top-tier among open modelsQwen3-Embedding paper, June 2025
    Code RetrievalMRRBest among 4B-class modelsQwen3-Embedding paper, June 2025

    Performance

    Input Size32K tokens max
    Embedding Dim2048 (Matryoshka: 32-2048)
    GPU Latency~4ms / passage (A100)
    CPU Latency~35ms / passage
    GPU Throughput~250 passages/sec (A100)
    GPU Memory~8.2 GB

    Specification

    FrameworkHF
    OrganizationQwen
    FeatureText Embeddings
    Output1024-dim vector
    Modalitiesdocument, audio
    RetrieverText Similarity
    Parameters4.0B
    Licenseapache-2.0
    Downloads/mo3.4M
    Likes313

    Research Paper

    Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models

    arxiv.org

    Build a pipeline with Qwen3-Embedding-4B

    Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

    Run it on your own data, free