AI Embedding Models in 2026: A Practical Selection Guide
Compare embedding models currently offered by Crazyrouter by price and use case; test retrieval quality and add reranking when needed.

AI Embedding Models in 2026: Which One Should You Use?#
Choose an embedding model by testing whether it retrieves the right documents for your users, then compare cost and index size. A model can score well on a public benchmark yet miss product names, code symbols, or multilingual questions in your corpus. This guide separates models currently callable through Crazyrouter from external options and gives a repeatable selection process.
Models available through Crazyrouter#
The following models each returned a valid two-text embedding response through https://api.crazyrouter.com/v1/embeddings in a bounded check on November 3, 2026 (UTC). The prices are the site's public default-group rates at that time, per 1 million input tokens. Check live pricing and your account's group before making a purchasing decision.
| Model | Observed default vector length | Default input price / 1M tokens | Evaluate for |
|---|---|---|---|
text-embedding-3-small | 1,536 | USD 0.020 | Cost-sensitive new search and RAG indexes |
text-embedding-3-large | 3,072 | USD 0.130 | Retrieval-quality comparison on difficult queries |
text-embedding-ada-002 | 1,536 | USD 0.100 | Maintaining an existing ada-002 index |
text-embedding-v1 | 1,536 | USD 0.100 | Existing workloads that specifically use it |
For text-embedding-3-small, a separate request for 512 dimensions also returned valid vectors. A shorter vector reduces raw index size; it does not change input-token pricing. Do not mix models or dimensions in one index, even when two models happen to return 1,536 values. A five-request smoke test confirms only those requests at that time, not a service-level reliability claim.
There are other embedding vendors and open-source models, including Cohere, Voyage, Google, and BGE variants. Their quality, licensing, dimensions, and pricing need their own current documentation and a live integration test. This table does not claim those models are available on Crazyrouter. In particular, a listing or a locally configured price is insufficient evidence that a Gemini embedding route works end to end.
A decision sequence that produces evidence#
- Assemble 30 to 100 representative queries, including rare terms, long-tail questions, and every language you support. Mark which documents answer each query. Use production-like data with sensitive content removed.
- Chunk documents once, keeping text, source ID, and chunk ID fixed across experiments. Embed the same corpus with each candidate model. Create a separate vector collection for every
(model, dimensions, preprocessing version)combination. - Embed each query with the same configuration as its candidate collection. Retrieve the top 5 or 10 documents with the same similarity method and filters. Compare recall@k and inspect misses, especially queries that return the right document only at a lower rank.
- Measure input tokens from API
usage, the wall-clock time of your own requests, and actual vector-index storage. Calculate ingestion cost and steady-state query cost at the current rate. If the model changes, include the cost of re-embedding the corpus. - Keep a holdout query set. Choose the least expensive setup that meets your retrieval target, then monitor new failed searches after launch.
For example, if your corpus and queries total 20 million input tokens, the listed input-token rates imply USD 0.40 for small and USD 2.60 for large for one embedding pass. These are arithmetic estimates, not a quote for vector storage, generation, reranking, or future rates. The same query set may justify the larger spend if its measured retrieval results are materially better.
A small, reproducible retrieval check#
The example uses an OpenAI-compatible client, the Crazyrouter base URL, and one model for both documents and query. It prints ranked document IDs; replace the small fixture with your labeled test set before drawing quality conclusions.
import math
import os
from openai import OpenAI
client = OpenAI(api_key=os.environ["CRAZYROUTER_API_KEY"], base_url="https://api.crazyrouter.com/v1")
docs = {
"password": "Reset a forgotten password using the email reset link.",
"invoice": "Download an invoice from the billing page after payment.",
"key": "Replace a leaked API key and revoke the old one.",
}
query = "Where can I find my payment invoice?"
items = [query, *docs.values()]
model = "text-embedding-3-small"
response = client.embeddings.create(model=model, input=items, dimensions=512)
vectors = [row.embedding for row in sorted(response.data, key=lambda row: row.index)]
assert len(vectors) == len(items) and all(len(vector) == 512 for vector in vectors)
def cosine(a, b):
return sum(x * y for x, y in zip(a, b)) / (
math.sqrt(sum(x * x for x in a)) * math.sqrt(sum(y * y for y in b))
)
ranked = sorted(zip(docs, vectors[1:]), key=lambda pair: cosine(vectors[0], pair[1]), reverse=True)
print([document_id for document_id, _ in ranked])
For text-embedding-ada-002 or text-embedding-v1, remove dimensions=512 and use that model's observed native vector size. The small-model API guide adds response validation and index-consistency advice; the pricing and dimensions guide covers input costs and limits.
Retrieval, reranking, then generation#
A common multi-model workflow is embed documents → embed query → retrieve candidate chunks → rerank the shortlist → send relevant context to a text model. The embedding index narrows the search space. A reranker such as gte-rerank-v2 evaluates query-document pairs for a shorter candidate list; it is not an embedding model and should not be inserted into a vector collection. A text model then generates an answer from the selected source excerpts. Verify reranker endpoint behavior and its own billing before using it in production.
Reranking helps when the correct result is in the shortlist but appears too low. It cannot repair first-stage recall if the relevant document is absent. If citations or factual grounding matter, keep source IDs through all stages and evaluate answer quality separately from retrieval quality.
When to switch models#
Do not update the model name in an existing search service while leaving its old vectors untouched. Build a new index, re-embed documents, run both against the same holdout queries, and switch traffic only after validating relevance and cost. This applies even to two models with identical vector lengths. For incremental document updates within the same model configuration, keep a content hash and update only changed chunks.
Get a Crazyrouter API key to run the same fixture against available models. Existing users can open API Keys. Start with the working small-model example, then use your own labeled queries to decide whether another model or a reranking stage earns its cost.
Estimating API spend? See the current text-embedding-3-small price and token cost calculator.
Implementation Guides
Podcast
AI Dev Tools: The Crazyrouter Podcast
Short episodes for developers on AI APIs, gateways, cost control and coding tools.
Latest episodes
EP196 · Oct 29, 2026 · 6:53
AI API Security Posture — Turn Controls Into Continuous Evidence
A practical guide to AI API security posture: inventory exposure, verify controls continuously, protect keys and data, constrain tools, and turn security assumptions into evidence that operators can act on.
EP195 · Oct 28, 2026 · 7:21
AI API Policy Drift — Detect When Production Rules Stop Matching Intent
A practical guide to policy drift in AI APIs: version routing and safety rules, detect stale enforcement, compare intended and observed behavior, and restore control before small gaps become incidents.





