Gemma 3 4B vs gpt-oss-20b

Prices checked

gpt-oss-20b takes 3 of 5 rounds against Gemma 3 4B. It is also the cheaper of the two to run, at $0.02 per million tokens against $0.04.

Google

Gemma 3 4B

131k context · reads images · open weights

$0.04/M tokens

OpenRouter's own price · 2.7¢ per 1,000 pages

OpenAIWins 3 rounds

gpt-oss-20b

131k context · tool calling · open weights

$0.02/M tokens

Cheapest price, at Eden AI · 0.81¢ per 1,000 pages

Maker's price in (lower wins)

$0.04/M

$0.02/M

Maker's price out (lower wins)

$0.05/M

$0.09/M

Cheapest price (lower wins)

none below the maker

$0.02/M at Eden AI

Maker's price, blended (lower wins)

$0.04/M

$0.04/M

Cost per 1,000 pages (lower wins)

2.7¢

0.81¢

Context

131k tokens

131k tokens

Open weights

yes

yes

Tool calling

no

yes

Structured output

yes

yes

Reads images

yes

no

Reasoning

no

yes

Released

13 Mar 2025

5 Aug 2025

Providers selling it

12

48

Price we measure against

OpenRouter

OpenRouter

Trains on your prompts (no is better)

no provider to check

not published

Providers selling both · 10

  • TrustedRouter$0.05 / $0.02
  • Kilo Gateway$0.04 / $0.04
  • OpenRouter$0.04 / $0.04
  • Eden AI$0.06 / $0.02
  • Parasail$0.04 / $0.06
  • Merge Gateway$0.05 / $0.07
  • DeepInfra$0.06 / $0.06
  • NanoGPT$0.20 / $0.04

Gemma 3 4B, then gpt-oss-20b, per million tokens; the 8 cheapest of 10.

Go further

Add a third or fourth model, or change the weighting, in the tool.

What moved this week

  1. Gemma 3 4B

    OpenRouter · 32% cheaper ·

    OpenRouter's own price

    4¢ / 5¢ 5¢ / $0.10
  2. Gemma 3 4B

    OpenRouter · 32% cheaper ·

    4¢ / 5¢ 5¢ / $0.10
  3. gpt-oss-20b

    Impossibl · 3% dearer ·

    7.5¢ / $0.30 7¢ / $0.30
  4. Gemma 3 4B

    TrustedRouter · 20% cheaper ·

    4.2¢ / 8.4¢ 5.3¢ / $0.11
  5. gpt-oss-20b

    io.net Intelligence · 0.6% cheaper ·

    5.5¢ / $0.19 5.5¢ / $0.20
  6. gpt-oss-20b

    NanoGPT · 82% cheaper ·

    2¢ / $0.10 $0.20 / $0.30
  7. gpt-oss-20b

    FastRouter · 31% dearer ·

    7¢ / $0.25 5¢ / $0.20
  8. Gemma 3 4B

    Kilo Gateway · 32% cheaper ·

    4¢ / 5¢ 5¢ / $0.10

Frequently asked

Which is cheaper, Gemma 3 4B or gpt-oss-20b?
gpt-oss-20b, at $0.02 per million tokens against $0.04 for Gemma 3 4B, blended 3 in : 1 out, read on 21 Oct 2026.
Where is each one cheapest?
Gemma 3 4B: nobody sells it below OpenRouter's own price with a stated reason, so $0.04 is the number to beat. gpt-oss-20b: $0.02 at Eden AI.
Can I buy both from one provider?
Yes. 10 providers sell both: TrustedRouter, Kilo Gateway, OpenRouter, Eden AI, Parasail, Merge Gateway, and more. The cheapest of them for the two together is TrustedRouter.
Which holds more context?
Both hold 131k tokens in one call.

Prices exclude tax, read 21 Oct 2026 from each provider's own catalog. They are per M tokens, blended 3 in : 1 out, and a page is 600 tokens in and 60 out. Bars are scaled to the larger value in each row.

Related comparisons

More