whichLlmmodel
Back to Dashboard

AnthropicClaude Haiku 4.5VSGoogleGemini 3.1 Flash-Lite

Analysis by:the whichllmmodel Editorial Team|Updated: June 2026

Our Take

We recommend Gemini 3.1 Flash-Lite for superior overall value and reasoning capabilities, as it is cheaper or equal in cost while delivering peak intelligence. While Gemini 3.1 Flash-Lite excels at complex scripting single-file apps or clearly defined functions, Claude Haiku 4.5 is suited for scripting multi-file code and clearly defined tasks. Choose Gemini 3.1 Flash-Lite for scripting single-file apps or clearly defined functions, or Claude Haiku 4.5 if you specifically require its simpler functions profile.
WHY?
Benchmark Calculations & Evidence:
  • Coding Evaluation: Claude Haiku 4.5 was evaluated on SWE-bench Verified (scoring 73.3%), while Gemini 3.1 Flash-Lite was evaluated on LiveCodeBench (scoring 72%).
  • Reasoning Accuracy: Both models were evaluated on the GPQA Diamond benchmark. Gemini 3.1 Flash-Lite scored 82.2%, while Claude Haiku 4.5 scored 73%.
  • Cost Efficiency: Claude Haiku 4.5 pricing ($1/M input, $5/M output) is 0.3x cheaper than Gemini 3.1 Flash-Lite ($0.25/M input, $1.5/M output).
  • Was this recommendation helpful?
    Model Specs

    Claude Haiku 4.5

    Benchmarks & Scores

    Coding (swe-bench-verified)
    73.3%

    multi-file code and clearly defined tasks

    Reasoning (gpqa-diamond)
    73%

    graduate-level science QA

    Cost & Context

    Cost (per 1M tokens)
    $2.00Input: $1.00 | Output: $5.00
    Context Window
    200k tokens
    Model Specs

    Gemini 3.1 Flash-Lite

    Benchmarks & Scores

    Coding (live-code-bench)
    72%

    scripting single-file apps or clearly defined functions

    Reasoning (gpqa-diamond)Winner (+9.2%)
    82.2%

    graduate-level science QA

    Cost & Context

    Cost (per 1M tokens)3.6x cheaper
    $0.56Input: $0.25 | Output: $1.50
    Context WindowLarger
    1.05M tokens

    Frequently Asked Questions about Claude Haiku 4.5 vs Gemini 3.1 Flash-Lite

    Gemini 3.1 Flash-Lite is cheaper than Claude Haiku 4.5. Gemini 3.1 Flash-Lite has a blended cost of $0.56/1M tokens, which is about 3.6x cheaper than Claude Haiku 4.5 at $2.00/1M tokens.

    For coding tasks, Claude Haiku 4.5 scores 73.3% on swe-bench-verified (multi-file code and clearly defined tasks), while Gemini 3.1 Flash-Lite scores 72% on live-code-bench (scripting single-file apps or clearly defined functions).

    Do you want to find a model for your constraints?

    Use our interactive model finder to filter LLMs by reasoning capability, coding performance, cost, and context length.

    Open Model Finder