Your embedding provider ships a large and a small model that share one embedding space, so you can index with the large one and query with the small one. When is that worth doing, how do you verify the compatibility claim on your own corpus, and what does it change about the reindex-or-nothing rule for model migrations?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
The default rule still stands: two independently trained embedding models have no shared coordinate system, so a model swap means a full reindex. A family trained into one space on purpose is the deliberate exception. Cohere's Embed 5 (September 2026) is the current example: its Pro and Fast tiers share a space, either can query an index built by the other, and Cohere reports average cross-model losses of 1.6% when Fast queries a Pro-built index and 2.7% the other way round. Its own recommendation is to index with Pro and query with Fast.
Full worked answer with diagram
The default rule still stands: two independently trained embedding models have no shared coordinate system, so a model swap means a full reindex. A family trained into one space on purpose is the deliberate exception. Cohere's Embed 5 (September 2026) is the current example: its Pro and Fast tiers share a space, either can query an index built by the other, and Cohere reports average cross-model losses of 1.6% when Fast queries a Pro-built index and 2.7% the other way round. Its own recommendation is to index with Pro and query with Fast.
Why the asymmetry pays. Indexing happens once per chunk, offline and batched, so latency does not matter and the big model's quality is cheap to buy. Query embedding sits on the hot path of every request. Paying for quality where it is amortised and for speed where it is not is the whole trade. Secondary wins: a cheaper query tier for free users, a fallback encoder if the large endpoint degrades, and query encoding close to the user.
When it is not worth it. If query embedding is 15 ms of a 2-second request dominated by reranking and generation, the saving is noise and you have added a configuration to test. And vendor averages are averages: on code, legal text or a low-resource language the cross-model loss can be much larger than 1.6%.
Verifying it on your corpus. Build both indexes over a realistic sample (the candidate pool behind your golden set, plus distractors at production density) and run four configurations: large/large, small/small, large index with small queries, small index with large queries. Then check:
- Recall@k and nDCG at the first stage, and after the reranker. A first-stage loss the reranker recovers may not matter.
- Per-slice results: short keyword queries, long natural-language queries, each language, image or mixed inputs if you use them. A small average loss can hide a large loss on one slice.
- Score distributions. Similarity thresholds for abstention or dedup were calibrated on one configuration and will shift on another, so refit them.
- Matching settings. Both sides must use the same output dimension and precision. Embed 5 offers 2048 down to 256 dimensions in float, int8 or binary, and a mismatch there is a bug, not a compatibility result.
What changes about migrations. Within a shared-space family, the query encoder becomes independently deployable: you can move queries between tiers, or roll back the query side, without touching 400M stored vectors. Across generations nothing changes. A new generation is a new space until the vendor says otherwise and your eval agrees. Make this explicit in the system: every index records model id, dimension and precision, and the query service refuses any encoder-index pair that is not on an allowlist backed by an eval run. Also be clear about lock-in: the shared space is vendor-specific, so leaving the vendor is still a full reindex.
Worth sketching. Drawing it is optional, but it makes the offline and hot-path split obvious.
flowchart LR
A["Documents"] --> B["Large encoder<br/>(offline, batched)"]
B --> C["Vector index<br/>model id, dim, precision"]
D["User query"] --> E["Small encoder<br/>(hot path)"]
E --> F{"Pair on the<br/>eval allowlist?"}
F -->|"yes"| G["ANN search and rerank"]
C --> G
F -->|"no"| H["Refuse and alert"]
What a good answer covers
- The default rule still stands
- A family trained into one space on purpose is the deliberate exception
- Cohere's Embed 5 (September 2026) is the current example
- Its own recommendation is to index with Pro and query with Fast
- Indexing happens once per chunk, offline and batched, so latency does not matter and the big model's…
Key terms: Why the asymmetry pays · Verifying it on your corpus · What changes about migrations
In the glossary: Reranking · Golden set · Recall@k · nDCG · ANN
Interviewer follow-ups to expect
How would you detect a silent cross-tier regression after the vendor updates only the small model?
Would you ever index with the small model and query with the large one?
How does this interact with binary quantisation of the stored vectors?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep