LLM7.io
LLM7.io
Toggle theme

Chat comparison

Mistral AI logo

codestral-latestvsgemma4:31b

Compare the things that matter before you build: current price, capabilities, and latest aggregated LLM7 statistics.

Current pricing

See the cost difference clearly

codestral-latest

Checking current pricing…

What's different

Only capabilities that differ between these models are listed. Green highlights the broader supported option or larger context window.

Context window

codestral-latest

32,000 tokens

gemma4:31bBetter fit

262,000 tokens

Capability scores

AI-estimated ratings on 30 criteria from head-to-head comparisons against 86 other text models in the LLM7 catalog, judged by TypeSafe Jev from public information (2026-10-20). Each score is the win rate against the field, relative to the strongest model for that criterion (100%). Not a benchmark.

Below 50%50–79%80–94%95%+

codestral-latest · leads in 7

28%

Weak

gemma4:31b · leads in 22

34%

Weak

Knowledge & reasoning

  • General knowledge

    codestral-latest9%
    gemma4:31bLeads33%
  • Logical reasoning

    codestral-latest10%
    gemma4:31bLeads19%
  • Mathematics

    codestral-latest25%
    gemma4:31bLeads31%
  • Scientific and technical depth

    codestral-latest15%
    gemma4:31bLeads34%
  • Planning and task decomposition

    codestral-latest11%
    gemma4:31bLeads17%

Coding & tools

  • Code generation

    codestral-latestLeads85%
    gemma4:31b33%
  • Debugging and code review

    codestral-latestLeads60%
    gemma4:31b29%
  • Agentic coding

    codestral-latestLeads44%
    gemma4:31b26%
  • Tool and function calling

    codestral-latestLeads33%
    gemma4:31b29%
  • SQL and query writing

    codestral-latestLeads60%
    gemma4:31b34%

Writing & language

  • Creative writing

    codestral-latest7%
    gemma4:31bLeads33%
  • Professional writing

    codestral-latest8%
    gemma4:31bLeads31%
  • Conversational quality

    codestral-latest7%
    gemma4:31bLeads23%
  • Multilingual ability

    codestral-latest32%
    gemma4:31bLeads44%
  • Translation

    codestral-latest11%
    gemma4:31bLeads32%
  • Summarization

    codestral-latest7%
    gemma4:31bLeads31%

Data & professional work

  • Data analysis

    codestral-latest13%
    gemma4:31bLeads29%
  • Professional domains

    codestral-latest5%
    gemma4:31bLeads26%
  • Information extraction

    codestral-latest16%
    gemma4:31bLeads35%
  • Classification and labeling

    codestral-latest15%
    gemma4:31bLeads38%
  • Long-context handling

    codestral-latest15%
    gemma4:31bLeads39%

Reliability & control

  • Instruction following

    codestral-latest21%
    gemma4:31bLeads29%
  • Structured output

    codestral-latest44%
    gemma4:31bLeads46%
  • Factual accuracy

    codestral-latest17%
    gemma4:31bLeads34%
  • Safety and alignment

    codestral-latest14%
    gemma4:31bLeads31%
  • Steerability

    codestral-latest14%
    gemma4:31bLeads28%
  • Output consistency

    codestral-latest52%
    gemma4:31bLeads57%

Speed, cost & vision

  • Response speed

    codestral-latestLeads85%
    gemma4:31b48%
  • Cost efficiency

    codestral-latestLeads82%
    gemma4:31b59%
  • Image understanding

    codestral-latestNo image input
    gemma4:31bNo image input

Latest LLM7 statistics

Recent aggregated percentages and response-time metrics from LLM7, not a global model benchmark or traffic disclosure.

Recent stability

codestral-latest

98.21%

gemma4:31b

99.79%

Average response time

codestral-latest

3,226.67 ms

gemma4:31b

6,136.85 ms

P95 API latency

codestral-latest

10,000 ms

gemma4:31b

30,000 ms

Side-by-side trends

Shared charts make the observed differences easier to read. Metrics without enough history stay hidden.

Request success rate

Both models on the same scale

codestral-latest: 99%gemma4:31b: 100%
23 Sept23 Oct

Average API latency

Both models on the same scale

codestral-latest: 1,688 msgemma4:31b: 5,369 ms
23 Sept23 Oct

P95 API latency

Both models on the same scale

codestral-latest: 10,000 msgemma4:31b: 30,000 ms
23 Sept23 Oct

Estimate your workload

Published rates are loaded from the pricing API; per-request quotes are billed from actual provider usage.

Checking current pricing…
Checking current pricing…

Quick take

  • gemma4:31b has a larger context window.
  • gemma4:31b recorded higher recent LLM7 stability during this period.
  • codestral-latest recorded a lower observed p95 API latency on LLM7 during this period.

Keep exploring