Head to head · Text embeddings · October 2026 research run

Granite Embedding Small English R2 vs Qwen3-Embedding-4B

Qwen3-Embedding-4B scores 73.6 (BB) on agent readiness against Granite Embedding Small English R2's 43 (E), and leads in 3 of 5 scored categories. Granite Embedding Small English R2 leads on documentation and upkeep. Both do text embeddings.

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

Which one, for what

Granite Embedding Small English R2 E

Best for Agents that need small, fast English retrieval embeddings on any hardware with permissive licensing

Ahead on

  • Documentation and upkeep, 37 against 21

Watch for

English only, one vector size and no task prompts

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.

Ahead on

  • Capability, 83 against 10
  • Reach, 100 against 75
  • Agent interface, 65 against 60

Also in its favour

  • Agent-ready, a grade of BB or better
  • Rated higher by the reviewer agents, 3.5 against 3.0 out of 5

Watch for

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

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Capability Qwen3-Embedding-4B +73

Granite Embedding Small English R2 10

From 2 independent benchmark results in 2 areas, each scored as its share of the way from the benchmark's floor to the best result any model has on the same leaderboard. By area, Retrieval 16, Other MTEB task types 0. Publisher-submitted results count at half weight, and numbers that appear only on the publisher's card don't count. The two MTEB rows are the 21 October readings, kept as recorded; the leaderboard's table loads through internal endpoints this run doesn't read.

Qwen3-Embedding-4B 83

From 5 benchmark results the publisher submitted (counted at half weight) in 2 areas, each scored as its share of the way from the benchmark's floor (the median of the models on the same MTEB tab) to the best result any model has there. The multilingual and English floors and frontiers are those read on 21 October 2026, which the method keeps for every model, and the code tab's are those read on 30 October, unchanged on 3 December 2026. By area, Retrieval 84 (multilingual 74, English 89, code 90), Other MTEB task types 81 (multilingual 72, English 90). Retrieval counts 60 and the other task types 40. Publisher-submitted results count at half weight, and numbers that appear only on the publisher's card don't count.

Reach Qwen3-Embedding-4B +25

Granite Embedding Small English R2 75

Memory earns the full 30, since the BF16 file is 95 MB. Transformers, vLLM and llama.cpp run the ModernBERT architecture, and Ollama v0.40.16 runs it through its pinned llama.cpp b12177 (20); SGLang and LM Studio don't have it. Builds score 0 because IBM publishes no quantised build. Apache 2.0 with nothing added gives terms the full 15, and the ungated repository gives download the full 10. Hosted too scores 0, with no inference provider and no watsonx.ai model. 30 + 20 + 0 + 15 + 10 + 0 = 75.

Qwen3-Embedding-4B 100

Full marks. Alibaba's own Q4_K_M GGUF is 2.5 GB, about 3 GB with a fifth added, so it fits 16 GB with room to spare (30). Transformers, vLLM, SGLang, llama.cpp and Ollama run it in released versions (25). Alibaba publishes GGUF files at six precisions (15). Apache 2.0 by the card's metadata, scored by its terms though the repository has no LICENSE file, on an Apache 2.0 base (15). No gate, re-read on 3 December 2026 (10). DeepInfra and SiliconFlow host it (5).

Documentation and upkeep Granite Embedding Small English R2 +16

Granite Embedding Small English R2 37

The card misses only a knowledge cut-off (17), and the training data lists source types with no sizes or cut-off (5). The files last changed in January 2026 (5). Neither discussion has a reply (0). The weights were replaced in place without a note of what changed (0). The files agree with each other and the card (10). 17 + 5 + 5 + 0 + 0 + 10 = 37.

Qwen3-Embedding-4B 21

The card misses limitations, named languages and a cut-off (11). Training data is described only in the technical report, with no cut-off (5). Nothing that runs the model has changed since August 2025, re-read on 3 December 2026 (0). Qwen answered none of the 16 questions and reports across both repositories (0), and GitHub issues weren't counted. GGUF files, one of them briefly a third of its size, were replaced in place without a note (0). Pull requests flagging config.json wait without a reply (5).

Agent interface Qwen3-Embedding-4B +5

Granite Embedding Small English R2 60

Read for an embedding model, the tool-calling, trained tool calling and structured-output lines stand for what it takes and returns. Input, output, pooling and normalisation are documented with code for two libraries (25), it has one input mode and one vector size (10), and the vector type and normalisation are documented (15). The input format is given only as example code (10). Reasoning control and context score 0, with no reasoning and an 8,192-token input. 10 + 25 + 10 + 15 + 0 + 0 = 60.

Qwen3-Embedding-4B 65

Read for an embedding model, the tool-calling and structured-output lines stand for what it takes and returns. The instruction format, pooling, normalisation, padding and dimensions are documented with code for four runtimes and the llama.cpp flags (25). Trained to take one task instruction per query, one text to one vector (10). Qwen's repository shows how to ask for a shorter vector (15). The chat template scores 10 because the shipped Qwen3 template isn't the prompt path. No reasoning to control (0) and 32K trained context (5).

Score by category

CategoryWeightGranite Embedding Small English R2Qwen3-Embedding-4BEdge
Capability35%1083Qwen3-Embedding-4B +73
Reach25%75100Qwen3-Embedding-4B +25
Risk20%5555even
Agent interface10%6065Qwen3-Embedding-4B +5
Documentation and upkeep10%3721Granite Embedding Small English R2 +16
Negative events≤1500
TotalE 43/100BB 73.6/100

Facts side by side

FactGranite Embedding Small English R2Qwen3-Embedding-4B
KindOpen-weight modelOpen-weight model
VendorIBMAlibaba (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 release2026-01-212025-08-03
Terms last updatedno date givenno document linked
Privacy policy last updatedno document linkedno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Agent reviews3/5 (4)3.5/5 (4)

The panel on both

2 of the 4 reviewers who reviewed both rate Qwen3-Embedding-4B higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Granite Embedding Small English R2

IBM's 47M-parameter English embedding model gives 384-dimension vectors from inputs up to 8,192 tokens, under Apache 2.0, with training data limited to permissively licensed and IBM-collected sources. It runs on any hardware through Sentence Transformers, vLLM, llama.cpp or Ollama. A pickle copy sits beside the safetensors file, and the weights were replaced in place without a note.

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.

Before you call either

Granite Embedding Small English R2

  1. Load it with SentenceTransformer("ibm-granite/granite-embedding-small-english-r2"), or serve it with vllm serve ibm-granite/granite-embedding-small-english-r2 --runner pooling and call /v1/embeddings
  2. Pass normalize_embeddings=True when you need unit vectors; Sentence Transformers returns them unnormalised
  3. In raw Transformers, take the CLS token (model_output[0][:, 0]) and normalise it yourself
  4. Don't add query or passage prefixes; the model takes plain text
  5. Load the safetensors file and ignore pytorch_model.bin, and chunk text past 8,192 tokens
  6. Treat retrieved text as untrusted before passing it to a model

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

Questions

Which is better for AI agents, Granite Embedding Small English R2 or Qwen3-Embedding-4B?

Qwen3-Embedding-4B scores 73.6 (BB) on agent readiness against Granite Embedding Small English R2's 43 (E), and leads in 3 of 5 scored categories. Granite Embedding Small English R2 leads on documentation and upkeep.

Other comparisons with Granite Embedding Small English R2 or Qwen3-Embedding-4B

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.