Codestral Embed
What ChatGPT, Claude, Gemini & Grok actually say · August 2026
The verdict
Codestral Embed appears in 1 AI-ranked category — best position #2 for code embedding apis for repository search.
Best overall for chunked repository search: excellent real-world issue-to-file retrieval, flexible dimensions and int8 output, and strong value at $0.15/M tokens; narrowly beats Voyage assuming normal code-aware chunking.
Claude Code-specialized embedding from a strong code-model lineage, competitive with or ahead of voyage-code-3 on several code-retrieval evals, with configurable output dimension and precision for cost/quality tuning; benefits from Mistral's broader code tooling ecosystem. Near-tie with #1.
Grok Purpose-built code embedder that beats prior SOTA (including voyage-code-3 and OpenAI large) on SWE-Bench-style real GitHub issue/fix retrieval and Text2Code tasks; flexible output dims/precision down to 256/int8 while retaining lead; strong for agentic repo search.
Where Codestral Embed falls short, per the models
- GPT Its 8K context and closed weights make it a poor fit for whole-file embedding or self-hosting without an enterprise arrangement.
- Claude Newer with a shorter production track record and API-only access; less third-party tooling/integration battle-testing than the incumbents.
- Grok Newer specialist with thinner independent long-term production track record outside Mistral ecosystem.
Poll history — #2 in all 2 polls since Aug 3
#2 → #2
Top alternatives per the models: Voyage Code 3 · Jina Code Embeddings 1.5B · OpenAI text-embedding-3-large · BGE-M3
Head-to-head — how the models call it
Watch Codestral Embed
Boards re-poll weekly and the models change their minds. One short email only when Codestral Embed's standing moves — a rank change, a rival overtaking, or new reasoning from the models. Nothing otherwise.
Embed your ranking badge
Codestral Embed ranks #2 for best code embedding apis for repository search by AI-model consensus. Put the badge in your README, docs or site — it updates automatically as the models re-rank.
[](https://modelsagree.com/best/best-code-embedding-apis-for-repository-search?utm_source=badge&utm_medium=embed&utm_campaign=badge-codestral-embed)<a href="https://modelsagree.com/best/best-code-embedding-apis-for-repository-search?utm_source=badge&utm_medium=embed&utm_campaign=badge-codestral-embed"><img src="https://modelsagree.com/badge/codestral-embed.svg" alt="Codestral Embed — ranked #2 for Best code embedding APIs for repository search by AI models on ModelsAgree" height="28"></a>Rankings are computed from what the models answer, re-polled on demand · raw reasoning shown verbatim · methodology