A generated hero card titled 'OmniEVIE-4B vs Gemma 4 12B' with the subtitle 'Index a million pages or read one'. Two model cards flank an illustration of a stack of pages narrowing to one highlighted page: the left headed 'OmniEVIE-4B' with rows '54.2 ms per 1M records', 'Returns a page box', 'No generation window'; the right headed 'Gemma 4 12B' with rows '256K token context', 'Returns text', 'About 265 dense pages'. A footer line reads 'Reader and index, not rivals'. The OrcaRouter logo sits in the bottom-right corner.
Guides & Insights

OmniEVIE-4B vs Gemma 4 12B: Index a Million Pages or Read One

Author

Gideon Frost

Date Published

Latest models · 20View all models →
Back to all posts

Two hundred and fifty-six thousand tokens sounds like a way to avoid building a search index, right up until you divide. G​emma 4 12B carries a 256K context window and reads a document well enough to answer questions about it; OmniEVIE-4B carries no conversation ability at all and will tell you which page in a million holds the answer, in 54.2 ms, on one CPU thread. The first is a reader and the second is an index, and the reason this pairing keeps coming up is that a large context window makes "just put the documents in the prompt" feel viable — so the useful comparison is arithmetic, not benchmarks. What does it actually cost to skip retrieval with G​emma 4 12B, and at what corpus size does OmniEVIE-4B stop being optional?

The arithmetic of skipping retrieval

T​encent's own model card gives a convenient unit: a dense page of 966 visual patches. At roughly that cost per page, a 262,144-token window holds about 265 pages. That is a book, or a folder, or a reasonable contract with all its annexes — genuinely useful, and a real alternative to retrieval for a 200-document corpus. It is not an alternative for a million.

A million pages at the same 966-patch rate is roughly 966 million visual tokens. Divided by the context window that is about 3,700 separate passes. There is no clever prompting that turns that into one pass; you would need either an index or 3,700 calls per question. And the per-call cost is not the whole story, because a reader that has to hold 265 pages to answer about one of them is spending its attention on 264 pages of irrelevant material — which is exactly the accuracy decay that retrieval exists to avoid.

What 256K context buys you

G​emma 4 12B is G​oogle's 11.95B-parameter dense model in the G​emma 4 family, and it is architecturally unusual in a way that matters here: it is encoder-free. There is no separate vision tower. Raw image patches and audio waveforms are projected straight into the decoder's embedding space through lightweight linear layers, so every modality goes through one transformer rather than through a multimodal adapter. The spec sheet puts it at 48 layers with 262K vocabulary, a hybrid attention scheme that interleaves 1,024-token sliding windows with global layers using proportional RoPE, and support for text, image, audio and video input with text output. It is Apache 2.0.

The vendor-reported document numbers are strong: DocVQA 94.9 and InfoVQA 88.4, against MMLU-Pro 77.2 for general reasoning. Those are single-document visual question answering scores — show it the right page and it will read the table correctly. They say nothing about finding that page among a million, because that is a different operation and the benchmark does not test it.

A screenshot of the Hugging Face model card for google/gemma-4-12B-it, captured 24 November 2026, showing 1.76k likes, 1,510,292 downloads last month, a 12B-parameter BF16 badge, tags Any-to-Any, gemma4_unified and arXiv 2607.02770, the note that this is the Gemma 4 12B Unified model with text, audio, image and video inputs and no separate encoders, and the line 'Gemma 4 features a context window of up to 256K tokens'.

What the index buys instead

A generated scoreboard titled 'OmniEVIE-4B vs Gemma 4 12B — the scoreboard' with six shared rows. Left column OmniEVIE-4B: 'Parameters: 4.54B', 'Output: vectors and boxes', 'Context: no generation window', 'Corpus scale: millions of records', 'Localization: page box and timestamp', 'Independent tests: none yet'. Right column Gemma 4 12B: 'Parameters: 11.95B', 'Output: text', 'Context: 256K tokens', 'Corpus scale: about 265 dense pages', 'Localization: described in prose', 'Independent tests: none for retrieval'. Footer: 'OmniEVIE figures Tencent-reported; Gemma DocVQA vendor-reported; no head-to-head run exists.' The OrcaRouter logo sits in the bottom-right corner.

OmniEVIE-4B is a 4.54B retrieval model on a Q​wen3.5-4B base, and its output is not text. It produces multi-vector embeddings scored by late interaction, compressed through spatio-temporal Ward clustering into at most 128 clusters of 64 int8 dimensions — a hard ceiling of 9,472 bytes per record. A million of those fit in 8.82 GiB, or 2.15 GiB at the 32-cluster setting, and a top-k search across the million takes 54.2 ms on a single CPU thread: 14.6 ms coarse, 19.7 ms Hamming, 19.9 ms int8 refinement. Against full int8 MaxSim over uncompressed vectors, which the card times at 12,781 ms for the same corpus, that is a 236× difference.

Two properties follow from that design and neither is available from a generator. The first is that the answer is a location: an OmniEVIE-4B hit carries a page bounding box or a video timestamp interval, so the reader that follows does not have to be given the whole page — it can be given the region. The second is that the index is cheap enough to keep current. Rebuilding a nightly index over a growing corpus is a job you can schedule on one machine; re-embedding a million pages through a 12B generator every night is a different budget category.

Two different jobs, one pipeline

• Parameters — OmniEVIE-4B at 4.54B vs G​emma 4 12B at 11.95B.

• Output — OmniEVIE-4B returns vectors, boxes and timestamps vs G​emma 4 12B returns text.

• Context — OmniEVIE-4B is a retrieval model with no generation window vs G​emma 4 12B at 256K tokens.

• Corpus scale — OmniEVIE-4B indexes millions of records vs G​emma 4 12B holds roughly 265 dense pages comfortably.

• Latency — OmniEVIE-4B searches a million records in 54.2 ms on one CPU thread vs G​emma 4 12B, where latency scales with how much context you give it.

• Localization — OmniEVIE-4B returns a page region or a clip interval vs G​emma 4 12B describes where it thinks the answer is, in prose.

• Independent evaluation — neither has any for this purpose; DocVQA and ViDoRe are vendor-reported and test different things.

Put together, the shape is obvious and it is not a rivalry. OmniEVIE-4B finds and crops; G​emma 4 12B reads what was found. A pipeline that uses both spends its expensive tokens on one page region instead of 265 pages, and gets a bounding box it can show a user as evidence rather than a paragraph the user has to trust.

Where the handoff actually goes

The interesting engineering question is what happens at the seam. OmniEVIE-4B returns a normalized box, so the reader can be handed a crop plus the query plus instructions to answer only from the crop — which is both cheaper and more auditable than handing over the page. For a video hit the timestamp interval becomes the input to a frame sampler, and the reader sees a handful of frames rather than a two-minute clip. Neither step needs the retriever and the reader to share a vendor, a license or a serving stack.

A screenshot of the Hugging Face model card for tencent/OmniEVIE-4B, captured 24 November 2026, showing the model name, one like and 13.9k Tencent followers, tags including Feature Extraction, qwen3_5, omnievie, video-retrieval and token-compression, an empty 'Downloads last month' figure, a 5B-parameter BF16 badge, the note 'This model isn't deployed by any Inference Provider', the base model Qwen3.5-4B, and the card text describing a 4.5B-parameter model with 128 x 64D int8 vectors, 8.82 GiB per 1M records and 54.2 ms search on one CPU thread.

OrcaRouter sits on the reader side of that seam, and precisely: the G​emma 4 12B Unified checkpoint is not in our catalogue, so if you want that exact model you run it yourself. The two G​emma 4 sizes our catalogue does route are google/gemma-4-26b-a4b-it and google/gemma-4-31b-it, alongside more than 200 other models through one API at provider list prices with 0% markup on top. For a retrieval pipeline the routing DSL is the practical part — the cheap extraction passes can go to a small model while the hard pages escalate to a larger one, expressed as a rule rather than a code branch, and automatic failover keeps the reader step alive when a single provider has a bad afternoon.

And if the embedding half is the part you would rather not operate, that is also a routed call: google/gemini-embedding-001 and google/gemini-embedding-2-preview are both in the catalogue as hosted endpoints. You would be trading OmniEVIE-4B's int8 compression and localization for a hosted single-vector embedder, which is a real trade and not an upgrade — but it removes an index you have to run.

When you can skip retrieval entirely

There is a genuine case for the 256K shortcut and it is worth naming, because most teams over-build. If your corpus is a few hundred documents that fit in context, change slowly, and are read by humans who want synthesis rather than citation, G​emma 4 12B is simpler than any index and its reading quality is the point. No embedding service, no vector store, no staleness problem.

The shortcut stops working at three places. When the corpus no longer fits in one window, the arithmetic above takes over. When the answer has to be cited to a page region — audit, compliance, medical, legal — a generator's prose about where it found something is not evidence, and a bounding box is. And when the same corpus is queried thousands of times a day, paying to re-read it on every query is a cost that an index amortizes away.

OmniEVIE-4B is hours old, unreproduced, and shipped without an announcement. It should not be adopted on faith. But the decision it forces is older than the model: at what corpus size does reading everything stop being cheaper than finding the right page, and does your product need to show the page it used?