Skip to content
Rapid Router
Compare any models
Model comparison

Gemma 3 4B IT vs GPT OSS 20B

Price in rupees, context and benchmarks side by side; same key, a one-string switch.

Input price per 1M
₹4.91 ($0.050)
₹2.95 ($0.030)
Output price per 1M
₹9.83 ($0.100)
₹13.76 ($0.140)
Context window
131K tokens
131K tokens
Max output
118K tokens
33K tokens
Input types
text, image
text
Capabilities
JSON, vision
JSON, reasoning
Author
Google
OpenAI
LMArena Overall
1291
1288
LMArena Coding
1230
1307
LMArena Math
1239
1317
LMArena Creative writing
1270
1201
LMArena Instruction following
1239
1236
LMArena Hard prompts
1253
1274
GPQA Diamond
23.2%
60.8%
OTIS Mock AIME
7.5%
65.3%

Scores from LMArena and Epoch AI, as published; a blank cell means not measured there.

What a month costs on each

Chatbot month (15M in, 4M out)
₹113
₹99.23
RAG month (40M in, 3M out)
₹226
₹159
Coding month (60M in, 10M out)
₹393
₹314

On a typical 75/25 input-output mix, GPT OSS 20B costs less (about 8% less than Gemma 3 4B IT). Gemma 3 4B IT takes the longer prompt at 131K tokens. Try your own numbers in the cost calculator.

Call either one

curl
curl https://rapidrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "google/gemma-3-4b-it", "messages": [{"role": "user", "content": "Hello"}]}'

# the other one: change the model string
  -d '{"model": "openai/gpt-oss-20b", ...}'

Common questions

Which is cheaper, Gemma 3 4B IT or GPT OSS 20B?

GPT OSS 20B is cheaper on a typical mix of 75% input and 25% output tokens, by about 8%. Through Rapid Router both are billed at the provider list price per million tokens, in rupees.

Which has the larger context window?

Gemma 3 4B IT, at 131K tokens. GPT OSS 20B offers 131K tokens.

Can I switch between Gemma 3 4B IT and GPT OSS 20B without changing code?

Yes. Both are callable at https://rapidrouter.ai/api/v1 with the same OpenAI-compatible request; only the model string changes (google/gemma-3-4b-it or openai/gpt-oss-20b).

How do I pay for Gemma 3 4B IT or GPT OSS 20B in India?

Top up a Rapid Router balance with UPI or a card in rupees, get a GST invoice on every recharge, and both models debit that balance per request.