modelgrep

Best Google Models for Coding

Quick answer · Updated June 2026

Gemini 3.5 Flash is the best Google model for coding, with a 47.1 Artificial Analysis Coding Index across benchmarks like SWE-bench and SciCode. Gemini 3 Flash Preview (42.6) and Gemini 3.1 Pro Preview (39.4) round out the top three.

47.1Coding
43.3Intelligence
156 t/sSpeed
$1.50Input /M
1.0MContext

AI models ranked by the Artificial Analysis Coding Index, measuring real-world software engineering ability across benchmarks like SWE-bench, SciCode and terminal tasks. The best LLMs for code generation, debugging and agentic development.

  1. 1G
    gemini-3.5-flash
    ReasoningToolsJSON+243.3 intel · $1.50/M · 156 t/s
    47.1
    Coding
  2. 2G
    gemini-3-flash-preview
    ReasoningToolsJSON+246.4 intel · $0.500/M · 66 t/s
    42.6
    Coding
  3. 3G
    gemini-3.1-pro-preview
    ReasoningToolsJSON+241.3 intel · $2.00/M · 100 t/s
    39.4
    Coding
  4. 4G
    gemma-4-31b-it:free
    ReasoningToolsJSON+139.2 intel · Free/M · 55 t/s
    38.7
    Coding
  5. 5G
    gemma-4-31b-it
    ReasoningToolsJSON+139.2 intel · $0.120/M · 55 t/s
    38.7
    Coding
  6. 6G
    gemini-2.5-pro
    ReasoningToolsJSON+234.6 intel · $1.25/M · 100 t/s
    32.0
    Coding
  7. 7G
    gemini-3.1-flash-lite-preview
    ReasoningToolsJSON+233.5 intel · $0.250/M · 96 t/s
    30.1
    Coding
  8. 8G
    gemma-4-26b-a4b-it:free
    ReasoningToolsJSON+131.2 intel · Free/M · 68 t/s
    22.4
    Coding
  9. 9G
    gemma-4-26b-a4b-it
    ReasoningToolsJSON+131.2 intel · $0.060/M · 68 t/s
    22.4
    Coding
  10. 10G
    gemini-2.5-flash-lite-preview-09-2025
    ReasoningToolsJSON+219.4 intel · $0.100/M · 217 t/s
    14.5
    Coding
  11. 11G
    gemma-3-27b-it
    ToolsJSONVision10.3 intel · $0.080/M · 49 t/s
    9.6
    Coding
  12. 12G
    gemini-2.5-flash-lite
    ReasoningToolsJSON+217.6 intel · $0.100/M · 118 t/s
    9.5
    Coding
  13. 13G
    gemma-3-12b-it
    ToolsJSONVision8.8 intel · $0.050/M · 37 t/s
    6.3
    Coding
  14. 14G
    gemma-3-4b-it
    JSONVision6.3 intel · $0.050/M · 20 t/s
    2.9
    Coding

Frequently asked

What is the best Google model for coding?

Gemini 3.5 Flash is the best Google model for coding, with a 47.1 Artificial Analysis Coding Index across benchmarks like SWE-bench and SciCode. Gemini 3 Flash Preview (42.6) and Gemini 3.1 Pro Preview (39.4) round out the top three.

What's a good alternative to Gemini 3.5 Flash?

Gemini 3 Flash Preview (42.6) is the closest alternative on this metric, followed by Gemini 3.1 Pro Preview (39.4). See the full ranking above for the tradeoffs.

How many Google models are there?

modelgrep tracks 26 Google models with live benchmarks, speed, latency and per-provider pricing, led on intelligence by Gemini 3 Flash Preview. 14 of them qualify for this ranking.

More Google rankings

All rankings