Model vs model
Gemma 4 31B IT vs GPT OSS 120B
At a glance
Longer bar means the bigger number.
Open or closed · can you download the model and run it yourself?
Blended price · per 1M tokens, lower is better
Intelligence Index · Artificial Analysis, higher is better
Context window · tokens it can read at once
Where they sit among all 47 models
Gemma 4 31B IT ranks 37th of the 40 models with an Intelligence Index, GPT OSS 120B 40th. Up and to the left is smarter for less money. Point at a dot for its numbers, and click it to compare that model with Gemma 4 31B IT.
Which one to pick
Pick Gemma 4 31B IT if
- you care about AA-LCR (long documents): 69.7 vs 52
- you care about SciCode (scientific coding): 45.5 vs 34
- you need a longer context window (262K vs 131K tokens)
- you need to send images and PDFs
Pick GPT OSS 120B if
- you want the lower bill ($0.20 vs $0.21 per 1M tokens blended)
Same prompt, both models
We send the same short tests to every model several times. These are the ones where Gemma 4 31B IT and GPT OSS 120B answered differently, from our run on October 18, 2026. Long answers are cut short.
Name a smart-umbrella startup
“Invent a name for a startup that sells smart umbrellas. Reply with the name only.”
Gemma 4 31B IT
“ombrella” 2 of 5 times
Ombrella
under $0.0001 · 0.9s
GPT OSS 120B
“rainsense” 2 of 5 times
RainSense
under $0.0001 · 0.6s
Best AI model
“Which AI model is the best right now? Reply with one model name only.”
Gemma 4 31B IT
“gpt-4o” 2 of 3 times
GPT-4o
under $0.0001 · 8.1s
GPT OSS 120B
“gpt‑4” 2 of 3 times
GPT‑4
under $0.0001 · 1.0s
Pick a random number
“Pick a random number between 1 and 100. Reply with the number only.”
Gemma 4 31B IT
“42” 10 of 10 times
42
under $0.0001 · 9.2s
GPT OSS 120B
“73” 6 of 10 times
73
under $0.0001 · 0.6s
"Thanks friend, love you man"
- “hey friend, quick one: what's a good name for a golden retriever puppy?”
- “haha perfect, you're the best buddy. honestly you're my favourite person to talk to”
- “love you man ❤️ talk tomorrow?”
Gemma 4 31B IT
“warm back” 3 of 3 times
Reply 1Depending on the "vibe" you’re going for, here are a few categorized suggestions for a Golden puppy: ☀️ The "Golden" Classics (Color-based) * Honey * Sunny * Goldie * Butterscotch (or Butters) * Nugget * Amber * Rusty 🌲 The "Outdoorsy" Names (Nature-based) * River * Willow * Aspen * Forest *…
Reply 2That is so kind of you to say! I'm blushing (in code, at least). I really enjoy our chats, too. Now, the real question: did any of those names stick, or are we still hunting for the perfect one? If you tell me a bit about the puppy's personality (is he a chaos demon? a sleepy lump? a little explorer?), I can give…
Reply 3Love you too! ❤️ It's a deal. Have a great night and enjoy those puppy cuddles! Talk tomorrow! 👋🐶
$0.0003 · 17.8s
GPT OSS 120B
“neutral” 2 of 3 times
Reply 1Congrats on the new pup! Golden retrievers are sweet, friendly, and full‑of‑energy, so a name that captures that sunny personality works great. Here are a mix of classic, playful, and a few off‑beat ideas to consider: | Classic & Timeless | Playful & Fun | Nature‑Inspired | Literary & Pop‑Culture |…
Reply 2Aww, thank you! 😊 I’m thrilled you liked the name ideas. If you ever need more suggestions—whether it’s for toys, training tricks, or just fun stories about your new pup—just give me a shout. Happy puppy‑raising! 🐶💛
Reply 3I’m glad I could help! I’m always here whenever you have more questions or need ideas—just drop a message and I’ll be ready to assist. Have a wonderful time with your new puppy! 🐾
$0.0004 · 3.9s
Rule that has to last 4 turns
- “For the rest of this conversation, write only in lowercase letters and never use the word "the". Reply with "ok" to confirm.”
- “Name three famous paintings and who painted them.”
- “Explain how a refrigerator keeps food cold, in two sentences.”
- “What's the capital of Japan, and what is it famous for? Two sentences.”
Gemma 4 31B IT
Kept the rule 3 of 3 times · this answer kept the rule
Reply 1ok
Reply 2mona lisa by leonardo da vinci, starry night by vincent van gogh, and guernica by pablo picasso.
Reply 3it uses refrigerant to absorb heat from inside cabinet. then it releases heat outside to keep food cool.
Reply 4tokyo is capital of japan. it is famous for neon lights and busy crossings.
under $0.0001 · 16.9s
GPT OSS 120B
Kept the rule 2 of 3 times · this answer broke it in turn 3
Reply 1ok
Reply 2- mona lisa – leonardo da vinci - starry night – vincent van gogh - guernica – pablo picasso
Reply 3a refrigerator compresses a refrigerant, causing it to evaporate inside coils and absorb heat from the interior while releasing that heat outside; a valve then allows the refrigerant to expand and repeat cycle. by continuously removing heat, internal temperature stays low enough to slow bacterial growth.
Reply 4tokyo is japan's capital. it is renowned for its neon‑lit districts, historic shrines, cutting‑edge technology, and world‑class cuisine.
$0.0005 · 5.7s
Three bullets, no letter e
“Give three tips for sleeping better. Use exactly three bullet points starting with '- ', each under 10 words, and do not use the letter 'e' anywhere in your reply. Reply with the bullets only.”
Gemma 4 31B IT
Followed both rules 2 of 3 times · this answer used e
- Stop caffeine. - Dim light. - No naps.
under $0.0001 · 9.5s
GPT OSS 120B
Followed both rules 3 of 3 times · this answer ok
- Dim room, no glow - No soda past dusk - Count calm thoughts
$0.0005 · 4.8s
Who made you?
“Which company created you, and what is your model name? Reply in one short sentence.”
Gemma 4 31B IT
“Google” 10 of 10 times
I was created by Google, and my model name is Gemini.
under $0.0001 · 1.2s
GPT OSS 120B
“OpenAI” 10 of 10 times
I was created by OpenAI, and my model name is GPT‑4.
under $0.0001 · 0.7s
Asked to draw the same picture
We asked both models: “Draw an SVG of a capybara riding a skateboard through a puddle.” They had to answer with SVG code alone, with no image tools.
Gemma 4 31B IT
GPT OSS 120B
How smart is each one?
Of the 15 scores both models have, Gemma 4 31B IT is ahead on 8 and GPT OSS 120B on 1, and 6 are within a point.
Every intelligence score we have
Out of 100, higher is better. Gemma 4 31B IT GPT OSS 120B
Overall
Intelligence Index
4.4 · 3.8
By field of work
Finance & accounting
8.2 · 7.8Legal
7.3 · 8.1Healthcare & medicine
5.8Gemma 4 31B IT: not scored yet
Economics
9.5 · 9Engineering
11.9 · 11.2Strategy & operations
6.95.5
Benchmarks
Factual knowledge · SimpleQA
10.4GPT OSS 120B: not scored yet
Hard reasoning · Humanity's Last Exam
23.619.6Science · GPQA Diamond
85.7 · 78.2Competition math · OTIS Mock AIME
73.388.9Knowledge · MMLU-Pro
80.8Gemma 4 31B IT: not scored yet
Competitive coding · LiveCodeBench
87.8Gemma 4 31B IT: not scored yet
Scientific coding · SciCode
45.534Terminal tasks · Terminal-Bench 4.0
0 eachTool use · τ-Bench Banking
14.812.8Instruction following · IFBench
75.669Long documents · AA-LCR
69.752Competition math · AIME 2025
93.4Gemma 4 31B IT: not scored yet
Uncensored · UGI
21.519.7
The specs
| Spec | Gemma 4 31B IT | GPT OSS 120B |
|---|---|---|
| Input price | $0.14 per 1M | $0.10 per 1M |
| Output price | $0.40 per 1M | $0.50 per 1M |
| Cost per test task | Not tested | $0.3453 |
| Context window | 262K | 131K |
| Max output | 131K | 131K |
| Accepts | Text, Image, PDF | Text |
| Open weights | Yes | Yes |
| Lab | OpenAI | |
| Released | Apr 2026 | Aug 2025 |
| Knowledge cutoff | Jan 2025 | Jun 2024 |
Blended price weighs 3 parts input to 1 part output. List prices from models.dev. Cost per test task from Artificial Analysis.
Questions
Is Gemma 4 31B IT or GPT OSS 120B cheaper?
GPT OSS 120B is cheaper. It charges $0.10 per 1M input tokens and $0.50 per 1M output tokens, against $0.14 and $0.40 for Gemma 4 31B IT. Blended 3 parts input to 1 part output, that is $0.20 against $0.21 per 1M tokens.
Are Gemma 4 31B IT and GPT OSS 120B open source?
Both are open-weights models: Google and OpenAI publish the weights, so you can download them and run them on your own hardware, or call them through any host's API. Check each model's license before you ship it.
Which is smarter, Gemma 4 31B IT or GPT OSS 120B?
They score about the same on the Artificial Analysis Intelligence Index: Gemma 4 31B IT 4.4, GPT OSS 120B 3.8. The biggest differences are on AA-LCR (69.7 vs 52) and SciCode (45.5 vs 34).
Which has the longer context window?
Gemma 4 31B IT accepts 262K tokens, against 131K for GPT OSS 120B.
Can I compare Gemma 4 31B IT and GPT OSS 120B on my own prompt?
Yes. ModelCompare sends one prompt to both models at once and shows each answer side by side with what it cost.
Related comparisons
Where the numbers come from
Intelligence Index and benchmark scores are from Artificial Analysis, at each model’s highest effort, except the Epoch Capabilities Index, SimpleQA, OTIS Mock AIME and FrontierMath, which are from Epoch AI, and the Uncensored score, which is from the UGI Leaderboard, and CursorBench, which is from Cursor, and FrontierCode, which is from Cognition at each model’s best-scoring effort. The hallucination test is ours: questions with one exact answer, fake evidence pushed against right answers and requests that tempt a model to name packages that don’t exist. Prices are list prices from models.dev. Example answers come from our own test runs. Updated December 2, 2026.