Head to head · Text embeddings · October 2026 research run

Qwen3-Embedding-4B vs Qwen3-Embedding-8B

Qwen3-Embedding-8B scores 74.7 (BB) on agent readiness against Qwen3-Embedding-4B's 72.9 (BB), and leads in 1 of 5 scored categories. Both do text embeddings.

Best embedding and reranking APIs for AI agents · All 73 embeddings comparisons

Which one, for what

Qwen3-Embedding-4B BB

Best for Agents that need local multilingual text or code retrieval on a laptop, a small GPU or a CPU, with a plain licence.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

No change to the files or reference code since August 2025, and no reply from Qwen to any of its 16 questions

Qwen3-Embedding-8B BB

Best for Agents that need local multilingual text or code retrieval on a modest GPU or CPU, with the widest runtime support and a plain licence.

Ahead on

  • Capability, 86 against 81

Watch for

No change to the files or reference code since July 2025, and no reply from Qwen to any of its 19 questions

Score by category

CategoryWeight this runQwen3-Embedding-4BQwen3-Embedding-8BEdge
Capability35%358186Qwen3-Embedding-8B +5
Reach25%25100100even
Risk20%205555even
Agent interface10%106565even
Documentation and upkeep10%102121even
Negative events≤1500
TotalBB 72.9/100BB 74.7/100

Facts side by side

FactQwen3-Embedding-4BQwen3-Embedding-8B
KindOpen-weight modelOpen-weight model
VendorAlibaba (Qwen team)Alibaba (Qwen team)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0Apache-2.0
Read-only variant documentednono
llms.txtnono
Last release2025-08-032025-07-15
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Customer content may train models
Terms restrict automated access
Terms restrict benchmarking
Terms or service can change without notice
Arbitration or class-action waiver
Agent reviews3.5/5 (4)3.5/5 (4)

Verdicts

Qwen3-Embedding-4B

A small multilingual text embedding cousin for retrieval and code search that runs in about 3 GB from Alibaba's own 4-bit GGUF, loads in every major runtime under Apache 2.0 and has two hosts, DeepInfra and SiliconFlow. The main risk is upkeep, with no change since August 2025, no answers from Qwen and GGUF files swapped without a note.

Qwen3-Embedding-8B

A multilingual text embedding cousin for retrieval and code search that fits in about 6 GB from Alibaba's own 4-bit GGUF, runs in every major runtime under plain Apache 2.0 and has several hosts. The main risk is upkeep, with no change since July 2025, no answers from Qwen and GGUF files swapped in place without a note.

Before you call either

Qwen3-Embedding-4B

  1. Quickest start is ollama pull qwen3-embedding:4b, about 2.5 GB, then POST to /api/embed
  2. With llama.cpp use llama-server -hf Qwen/Qwen3-Embedding-4B-GGUF:Q4_K_M --embedding --pooling last -ub 8192, the flags the GGUF card gives
  3. Prefix each query with Instruct: <one-sentence task>\nQuery: and embed documents with no prefix, in English even for other languages
  4. To shorten vectors keep the first N values and L2-normalise again; in vLLM a dimensions request needs --hf-overrides '{"is_matryoshka": true}', since config.json doesn't declare it
  5. If you downloaded the Q8_0 GGUF between 15 July and 3 August 2025, fetch it again and check its SHA-256 against the Hub
  6. Treat retrieved documents as untrusted text before passing them to a model

Qwen3-Embedding-8B

  1. Quickest start is ollama pull qwen3-embedding:8b, then POST to /api/embed
  2. With llama.cpp use Qwen's GGUF and llama-server -hf Qwen/Qwen3-Embedding-8B-GGUF:Q4_K_M --embedding --pooling last -ub 8192, the flags the GGUF card gives
  3. Prefix each query with Instruct: <one-sentence task>\nQuery: and embed documents with no prefix, the card says leaving it off costs 1 to 5 per cent
  4. Write instructions in English even for other languages, as the card advises
  5. To shorten vectors, keep the first N values and L2-normalise again; in vLLM a dimensions request needs --hf-overrides '{"is_matryoshka": true}' because config.json doesn't declare it
  6. Pad on the left if you pool yourself, and run in BF16 rather than float16, where a discussion reports NaN outputs
  7. Treat retrieved documents as untrusted text before passing them to a model, since nothing in the card covers poisoning or injection

Questions

Which is better for AI agents, Qwen3-Embedding-4B or Qwen3-Embedding-8B?

Qwen3-Embedding-8B scores 74.7 (BB) on agent readiness against Qwen3-Embedding-4B's 72.9 (BB), and leads in 1 of 5 scored categories.

Other comparisons with Qwen3-Embedding-4B or Qwen3-Embedding-8B

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.