{"slug":"codestral-embed","name":"Codestral Embed","domain":null,"verdict":"As of 2026-08-10, ChatGPT, Claude, Gemini, Grok collectively rank Codestral Embed #2 of 11 for code embedding apis for repository search. Source: https://modelsagree.com/product/codestral-embed (modelsagree.com, CC BY 4.0).","best_rank":2,"categories":1,"entries":[{"slug":"best-code-embedding-apis-for-repository-search","title":"Best code embedding APIs for repository search","rank":2,"of":11,"score":13,"appearances":3,"modelRanks":{"ChatGPT":1,"Claude":2,"Grok":2},"reason":"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.","reasons":[{"model":"ChatGPT","reason":"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."},{"model":"Claude","reason":"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."},{"model":"Grok","reason":"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."}],"fixes":[{"model":"ChatGPT","fix":"Its 8K context and closed weights make it a poor fit for whole-file embedding or self-hosting without an enterprise arrangement."},{"model":"Claude","fix":"Newer with a shorter production track record and API-only access; less third-party tooling/integration battle-testing than the incumbents."},{"model":"Grok","fix":"Newer specialist with thinner independent long-term production track record outside Mistral ecosystem."}],"updated":"2026-08-10","rank_history":{"days":["2026-08-03","2026-08-10"],"ranks":[2,2]},"api":"https://modelsagree.com/api/v1/best/best-code-embedding-apis-for-repository-search.json"}],"page":"https://modelsagree.com/product/codestral-embed","check":"https://modelsagree.com/check?q=Codestral%20Embed","updated":"2026-08-10T18:18:45.051Z","attribution":"modelsagree.com, CC BY 4.0"}