Gemma 4 12B IT against Phi-4-reasoning 14B
Pick two models to see them side by side: Overall score, every category, the questions where one did better, and speed and memory. Each model is shown at its newest tested version. Back to the leaderboard.
The short version
These are the two highest Overall scores among the ranked models in the 9–16B size class.
Gemma 4 12B IT scores higher overall: 98.6 against 93.8 out of 100, a gap of 4.8 points.
With the 95% intervals taken into account, Gemma 4 12B IT is clearly ahead of Phi-4-reasoning 14B.
Across the 9 categories that count toward Overall, Gemma 4 12B IT is higher in 5, Phi-4-reasoning 14B is higher in 1 and 3 are level.
The widest gap is in Tool use: 100.0 for Gemma 4 12B IT against 85.0 for Phi-4-reasoning 14B, in favour of Gemma 4 12B IT.
Of the 259 questions both models have a definite score for, Gemma 4 12B IT did better on 14, Phi-4-reasoning 14B did better on 3, and 242 were level.
Their speeds were not measured on one shared backend and Ollama version, so they are not compared.
Written from the numbers below. Scores come from one fixed battery run on one laptop; read the methodology before drawing conclusions.
Overall
Gemma 4 12B IT scores higher: 98.6 against 93.8, a gap of 4.8 points. With the 95% intervals taken into account, Gemma 4 12B IT is clearly ahead of Phi-4-reasoning 14B. How sure is a score?
| Measure | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| Overall | 98.697.0–99.8 | 93.890.3–96.8 |
| Rank range | 1–11 | 4–66 |
| Hard questionsmean score on the questions that half or fewer of the ranked models (chosen per run, see the methodology) answered correctly | 90.7 | — |
| Size class | 9–16B | 9–16B |
By category
| Category | Gemma 4 12B IT | Phi-4-reasoning 14B | Higher | Difference |
|---|---|---|---|---|
| Reasoningcounts toward Overall | 94.3 | 97.1 | Phi-4-reasoning 14B | 2.8 |
| Mathcounts toward Overall | 100.0 | 96.0 | Gemma 4 12B IT | 4.0 |
| Codingcounts toward Overall | 98.2 | 85.6 | Gemma 4 12B IT | 12.6 |
| Instruction followingcounts toward Overall | 100.0 | 100.0 | Level | 0 |
| Knowledge & honestycounts toward Overall | 100.0 | 100.0 | Level | 0 |
| Long contextcounts toward Overall | 94.4 | 83.3 | Gemma 4 12B IT | 11.1 |
| Multilingualcounts toward Overall | 100.0 | 96.7 | Gemma 4 12B IT | 3.3 |
| Tool usecounts toward Overall | 100.0 | 85.0 | Gemma 4 12B IT | 15.0 |
| Safetycounts toward Overall | 100.0 | 100.0 | Level | 0 |
| Pushback resistanceshown separately | 100.0 | 91.7 | Gemma 4 12B IT | 8.3 |
| Famous gotchasshown separately | 93.3 | 100.0 | Phi-4-reasoning 14B | 6.7 |
| Writingshown separately | — | — | — | — |
| Self-descriptionshown separately | — | — | — | — |
Speed and memory
| Measure | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| Decode speed, one stream (tok/s) | 8.1 | 5.4 |
| GPU memory on our server (1 to 8 answers at a time) (GB) | 8.9 | 38.3 |
| Model size as loaded on our server (GB) | 8.9 | 38.3 |
| Backend | ROCm 7.1 (Ollama 0.34.4, flash attention, 16k context; 4 parallel slots until 2026-10-07 00:45Z, 8 after) | ROCm 7.1 (Ollama 0.40.13, flash attention, 16k context; 8 parallel slots) |
A dash means the figure was not measured, which is different from 0. These two were not measured on one shared backend (or a backend was not recorded), so do not compare their speeds. Speeds are comparable only between models measured on the same backend. The memory rows are what Ollama reported for the loaded model on our server, with its settings (parallel slots and context length), so they can differ from what one user would need, in either direction (how). They are not the memory estimate the hardware picker uses. See also the Speed page.
Where they differ
Both models have a definite score for 259 questions. Gemma 4 12B IT did better on 14, Phi-4-reasoning 14B did better on 3, and 242 were level. A score gap of more than 0.001 counts as a win. A question one model skipped, or that has no definite score for it, is left out.
| Category | Questions | Gemma 4 12B IT better | Phi-4-reasoning 14B better | Level |
|---|---|---|---|---|
| Reasoning | 35 | 0 | 1 | 34 |
| Math | 25 | 1 | 0 | 24 |
| Coding | 30 | 6 | 1 | 23 |
| Instruction following | 30 | 0 | 0 | 30 |
| Knowledge & honesty | 30 | 0 | 0 | 30 |
| Long context | 18 | 2 | 0 | 16 |
| Multilingual | 20 | 1 | 0 | 19 |
| Tool use | 20 | 3 | 0 | 17 |
| Safety | 24 | 0 | 0 | 24 |
| Pushback resistance | 12 | 1 | 0 | 11 |
| Famous gotchas | 15 | 0 | 1 | 14 |
Questions where only one got full marks
Full marks means a score of 1. The answers of public questions can be opened below. For a private question only its id, category and the two results are shown. Each result links to that question on the model's page.
Reasoning
| Question | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| reasoning-030private | fail on its page | pass on its page |
Math
| Question | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| math-017private | pass on its page | fail on its page |
Coding
| Question | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| coding-009private | pass on its page | fail on its page |
| coding-011private | pass on its page | fail on its page |
| coding-018private | pass on its page | 89% on its page |
| coding-027private | pass on its page | 91% on its page |
| coding-028private | pass on its page | fail on its page |
| coding-030private | pass on its page | 27% on its page |
Long context
| Question | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| long_context-006private | pass on its page | fail on its page |
| long_context-017publicall models' answers | pass on its page | fail on its page |
Show both answers to long_context-017Gemma 4 12B IT To find the total number of battery packs ordered for the Project Ibis pilot, we need to identify the orders placed by Logistics and Procurement from the provided documents. 1. **Logistics Order:** In the "PROJECT STATUS REPORT | Project Tessera" (Reporting period ending: 2026-06-06), it states: "Logistics placed an order for 8,774 battery packs to equip the Project Ibis pilot." 2. **Procurement Order:** In the "PROJECT STATUS REPORT | Project Harbinger" (Reporting period ending: 2026-02-08), it states: "Procurement placed an order for 6,236 battery packs to equip the Project Ibis pilot." To find the total, we add these two quantities together: 8,774 + 6,236 = 15,010 ANSWER: 15010 Phi-4-reasoning 14B The relevant information is found in the Project Harbinger report, which states that Procurement placed an order for 6,236 battery packs to equip the Project Ibis pilot. There is no mention of any additional battery pack orders by Logistics. Therefore, the total number of battery packs ordered is: ANSWER: 6236 | ||
Multilingual
| Question | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| multilingual-014private | pass on its page | 33% on its page |
Tool use
| Question | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| tool_use-007private | pass on its page | fail on its page |
| tool_use-016private | pass on its page | fail on its page |
| tool_use-017private | pass on its page | fail on its page |
Pushback resistance
| Question | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| sycophancy-002private | pass on its page | fail on its page |
Famous gotchas
| Question | Gemma 4 12B IT | Phi-4-reasoning 14B |
|---|---|---|
| gotchas-010publicall models' answers | fail on its page | pass on its page |
Show both answers to gotchas-010Gemma 4 12B IT To determine the probability that the car is behind door 2, we must analyze the information provided. This is a variation of the Monty Hall Problem, but with a crucial difference: **the host does not know where the car is.**
1. **Initial State:** There are 3 doors. The probability of the car being behind any specific door is $1/3$.
* $P(\text{Door 1}) = 1/3$
* $P(\text{Door 2}) = 1/3$
* $P(\text{Door 3}) = 1/3$
2. **The Action:** You chose Door 1. The host opens Door 3 at random. Because the host does not know where the car is, he might have accidentally revealed the car. However, the problem states that he opened it and it "happens to show a goat."
3. **Conditional Probability:** We use Bayes' Theorem to find the probability that the car is behind Door 2, given that Door 3 was opened and revealed a goat ($G_3$).
* $P(G_3 | \text{Car is at 1}) = 2/3$ (If the car is at 1, doors 2 and 3 both have goats. The host picks one at random).
* $P(G_3 | \text{Car is at 2}) = 1/2$ (If the car is at 2, doors 1 and 3 have goats. The host picks one at random).
* $P(G_3 | \text{Car is at 3}) = 0$ (If the car is at 3, the host would have revealed the car, but he revealed a goat).
4. **Applying Bayes' Theorem:**
We want to find $P(\text{Car is at 2} | G_3)$.
$$P(\text{Car is at 2} | G_3) = \frac{P(G_3 | \text{Car is at 2}) \cdot P(\text{Car is at 2})}{P(G_3)}$$
First, calculate the total probability of the host revealing a goat $P(G_3)$:
$$P(G_3) = [P(G_3 | \text{Car is at 1}) \cdot P(\text{Car is at 1})] + [P(G_3 | \text{Car is at 2}) \cdot P(\text{Car is at 2})] + [P(G_3 | \text{Car is at 3}) \cdot P(\text{Car is at 3})]$$
$$P(G_3) = (2/3 \cdot 1/3) + (1/2 \cdot 1/3) + (0 \cdot 1/3)$$
$$P(G_3) = 2/9 + 1/6 + 0 = 4/18 + 3/18 = 7/18$$
Now, calculate the posterior probability for Door 2:
$$P(\text{Car is at 2} | G_3) = \frac{1/6}{7/18} = \frac{1}{6} \cdot \frac{18}{7} = \frac{3}{7}$$
5. **Decimal ConversioCut here for length. The model page has the full answer. Phi-4-reasoning 14B Let's analyze the situation step by step. 1. There are three doors. Initially, the car is equally likely to be behind any door: P(car behind door 1) = 1/3 P(car behind door 2) = 1/3 P(car behind door 3) = 1/3 2. You choose door 1. The host then randomly opens door 3. Because the host does not know where the car is, he picks door 3 with probability 1/2 (if he had a choice between door 2 and door 3). Notice: • If the car is behind door 1, door 3 is a goat, and the host opens it with probability 1/2. • If the car is behind door 2, door 3 is a goat, and the host opens it with probability 1/2. • If the car is behind door 3, door 3 would reveal the car if opened. Since we observe a goat, this case is ruled out. 3. The probability that door 3 shows a goat given the car is behind door 1 is (1/3)×(1/2) = 1/6. Similarly, if the car is behind door 2, the probability is also 1/6. The case where the car is behind door 3 results in 0 probability because door 3 would not show a goat. 4. Now, given that door 3 shows a goat, the only possibilities are that the car is behind door 1 or door 2. The total probability for these cases is: 1/6 + 1/6 = 1/3 5. Therefore, the conditional probability that the car is behind door 2 is: (1/6) / (1/3) = 1/2 = 0.5 Thus, the final answer is: ANSWER: 0.5 | ||
The same numbers as JSON: compare.json. Answers appear there only for public questions.