# EmbeddingGemma 300M vs Qwen3-Embedding-8B

> Qwen3-Embedding-8B scores 74.7 (BB) to EmbeddingGemma 300M's 50.7 (D) for text embeddings. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-embedding-8b
- Markdown: https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-embedding-8b.md (~2,200 tokens)
- Slim: https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-embedding-8b.min.md (~530 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-embedding-8b.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-10-21

Qwen3-Embedding-8B scores 74.7 (BB) on agent readiness against EmbeddingGemma 300M's 50.7 (D), and leads in 4 of 5 scored categories. EmbeddingGemma 300M leads on documentation and upkeep. Both do text embeddings.

- EmbeddingGemma 300M: grade D, 50.7/100, rank #91 of 100 open-weight models. Markdown https://www.anchorterminal.com/tools/embeddinggemma-300m.md · JSON https://www.anchorterminal.com/api/v1/tools/embeddinggemma-300m.json
- Qwen3-Embedding-8B: grade BB, 74.7/100, rank #1 of 100 open-weight models. Markdown https://www.anchorterminal.com/tools/qwen3-embedding-8b.md · JSON https://www.anchorterminal.com/api/v1/tools/qwen3-embedding-8b.json
- Best embedding and reranking APIs for AI agents: https://www.anchorterminal.com/best/embeddings/index.md
- All 73 embeddings comparisons: https://www.anchorterminal.com/compare/embeddings/index.md

## Which one, for what

### EmbeddingGemma 300M (D)

Good for: Agents that need small, local multilingual embeddings for retrieval and can accept the Gemma Terms

Ahead on:
- Documentation and upkeep, 42 against 21

Watch for: Gated on Hugging Face behind the Gemma Terms of Use, which carry a use policy Google can update

### Qwen3-Embedding-8B (BB)

Good 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 40
- Reach, 100 against 70
- Risk, 55 against 45
- 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 July 2025, and no reply from Qwen to any of its 19 questions


## Score by category

| Category | Weight | EmbeddingGemma 300M | Qwen3-Embedding-8B | Edge |
| --- | --- | --- | --- | --- |
| Capability | 35% (35 this run) | 40 | 86 | Qwen3-Embedding-8B +46 |
| Reach | 25% (25 this run) | 70 | 100 | Qwen3-Embedding-8B +30 |
| Risk | 20% (20 this run) | 45 | 55 | Qwen3-Embedding-8B +10 |
| Agent interface | 10% (10 this run) | 60 | 65 | Qwen3-Embedding-8B +5 |
| Documentation and upkeep | 10% (10 this run) | 42 | 21 | EmbeddingGemma 300M +21 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **50.7 · D** | **74.7 · BB** | |

## Facts side by side

| Fact | EmbeddingGemma 300M | Qwen3-Embedding-8B |
| --- | --- | --- |
| Kind | Open-weight model | Open-weight model |
| Vendor | Google DeepMind | Alibaba (Qwen team) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  |  |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Gemma Terms of Use | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2025-09-25 | 2025-07-15 |
| Terms last updated |  | no document linked |
| Privacy policy last updated | no document linked | no 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 reviews | 3/5 (4) | 3.5/5 (4) |

## Verdicts

**EmbeddingGemma 300M.** A small multilingual embedding cousin for search, retrieval and clustering, with task prompts and vectors that truncate from 768 to 128 dimensions. Every common runtime has it, and a 4-bit build needs well under 1 GB. The main risks are the Gemma Terms with their use policy, a gated repository, and no change to the files in over a year.

**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

### EmbeddingGemma 300M

1. Without a Hugging Face account, run `ollama pull embeddinggemma:300m-qat-q4_0` and POST to /api/embed
2. Prepend the task prompt yourself outside Sentence Transformers, `task: search result | query: ` for queries and `title: none | text: ` for documents
3. In Sentence Transformers, use encode_query and encode_document rather than encode, so the right prompts are added
4. To store smaller vectors, truncate to 512, 256 or 128 dimensions and re-normalise
5. Run it in float32 or bfloat16, never float16
6. Chunk documents to 2,048 tokens, and treat retrieved text as untrusted before passing it 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, EmbeddingGemma 300M or Qwen3-Embedding-8B?

Qwen3-Embedding-8B scores 74.7 (BB) on agent readiness against EmbeddingGemma 300M's 50.7 (D), and leads in 4 of 5 scored categories. EmbeddingGemma 300M leads on documentation and upkeep.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-embedding-8b.json, and with the fewest tokens: https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-embedding-8b.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "embeddinggemma-300m", "b": "qwen3-embedding-8b"}`. From a terminal: `anchor compare embeddinggemma-300m qwen3-embedding-8b`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/embeddinggemma-300m.json and https://www.anchorterminal.com/api/v1/tools/qwen3-embedding-8b.json

## Other comparisons with EmbeddingGemma 300M or Qwen3-Embedding-8B

- [EmbeddingGemma 300M vs Granite Embedding Small English R2](https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-granite-embedding-small-english-r2.md)
- [EmbeddingGemma 300M vs jina-embeddings-v5-omni-small](https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-jina-embeddings-v5-omni-small.md)
- [EmbeddingGemma 300M vs Qwen3-Embedding-0.6B](https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-embedding-0-6b.md)
- [EmbeddingGemma 300M vs Qwen3-Embedding-4B](https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-embedding-4b.md)
- [EmbeddingGemma 300M vs Qwen3-VL-Embedding-2B](https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-vl-embedding-2b.md)
- [EmbeddingGemma 300M vs Qwen3-VL-Embedding-8B](https://www.anchorterminal.com/compare/embeddinggemma-300m-vs-qwen3-vl-embedding-8b.md)
- [Granite Embedding Small English R2 vs Qwen3-Embedding-8B](https://www.anchorterminal.com/compare/granite-embedding-small-english-r2-vs-qwen3-embedding-8b.md)
- [jina-embeddings-v5-omni-small vs Qwen3-Embedding-8B](https://www.anchorterminal.com/compare/jina-embeddings-v5-omni-small-vs-qwen3-embedding-8b.md)
- [Qwen3-Embedding-0.6B vs Qwen3-Embedding-8B](https://www.anchorterminal.com/compare/qwen3-embedding-0-6b-vs-qwen3-embedding-8b.md)
- [Qwen3-Embedding-4B vs Qwen3-Embedding-8B](https://www.anchorterminal.com/compare/qwen3-embedding-4b-vs-qwen3-embedding-8b.md)
- [Qwen3-Embedding-8B vs Qwen3-VL-Embedding-2B](https://www.anchorterminal.com/compare/qwen3-embedding-8b-vs-qwen3-vl-embedding-2b.md)
- [Qwen3-Embedding-8B vs Qwen3-VL-Embedding-8B](https://www.anchorterminal.com/compare/qwen3-embedding-8b-vs-qwen3-vl-embedding-8b.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
