{"slug":"google-gemini-embedding-2","name":"Google Gemini Embedding 2","domain":"ai.google.dev","verdict":"As of 2026-08-10, ChatGPT, Claude, Gemini, Grok collectively rank Google Gemini Embedding 2 #11 of 11 for code embedding apis for repository search. Source: https://modelsagree.com/product/google-gemini-embedding-2 (modelsagree.com, CC BY 4.0).","best_rank":11,"categories":1,"entries":[{"slug":"best-code-embedding-apis-for-repository-search","title":"Best code embedding APIs for repository search","rank":11,"of":11,"score":1,"appearances":1,"modelRanks":{"ChatGPT":5},"reason":"A practical managed fallback with an 8K context, flexible 128–3072 dimensions, batch pricing, broad language coverage, and straightforward Gemini or Vertex AI integration.","reasons":[{"model":"ChatGPT","reason":"A practical managed fallback with an 8K context, flexible 128–3072 dimensions, batch pricing, broad language coverage, and straightforward Gemini or Vertex AI integration."}],"fixes":[{"model":"ChatGPT","fix":"It is general-purpose rather than code-specialized, with weaker public evidence on repository-level retrieval than the four leaders."}],"updated":"2026-08-10","api":"https://modelsagree.com/api/v1/best/best-code-embedding-apis-for-repository-search.json"}],"page":"https://modelsagree.com/product/google-gemini-embedding-2","check":"https://modelsagree.com/check?q=Google%20Gemini%20Embedding%202","updated":"2026-08-10T18:18:45.051Z","attribution":"modelsagree.com, CC BY 4.0"}