opencheap.si
Credits

gpt-oss-20b vs Gemma 4 26B A4B It

Price, context, speed and uptime side by side

gpt-oss-20b is 45 % cheaper than Gemma 4 26B A4B It on a typical 1 : 3 input-to-output mix: $0.00092 against $0.0017 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.0000012 on gpt-oss-20b and $0.000009 on Gemma 4 26B A4B It. Gemma 4 26B A4B It has the larger context window: 262K tokens, against 131K for gpt-oss-20b. On each model's fastest provider, the first token arrives after 0.19 s on gpt-oss-20b and 0.20 s on Gemma 4 26B A4B It (median, measured by OpenCheap). On OpenCheap, gpt-oss-20b is served by 15 providers and Gemma 4 26B A4B It by 21 providers. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-11-23 23:56 UTC.

Side by side

gpt-oss-20b vs Gemma 4 26B A4B It: price, context, speed and uptime
Modelgpt-oss-20bOpenAIGemma 4 26B A4B ItGoogle
Inputper 1M tokens$0 (best)$0.0007
Outputper 1M tokens$0.0012 (best)$0.002
Cached inputper 1M tokens$0 (best)$0.00035
On a 1 : 3 mixper 1M tokens, input to output$0.00092 (best)$0.0017
One request10,000 tokens in, 1,000 out$0.0000012 (best)$0.000009
1,000 requestsof that size$0.0012 (best)$0.009
List priceper 1M tokens, input / output$0.03 / $0.13$0.076 / $0.26
Context windowtokens in one request131K262K (best)
Providersserving it on OpenCheap1521 (best)
First tokenfastest provider, median0.19 s (best)0.20 s
Output speedfastest provider, median536 tok/s (best)477 tok/s
Uptimebest provider, last day100 %100 %
Model idopencheap/gpt-oss-20bModel page →opencheap/gemma-4-26b-a4bModel page →

Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.

Switch between them

Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call Gemma 4 26B A4B It instead of gpt-oss-20b, change the model to opencheap/gemma-4-26b-a4b; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in usage.cost.

import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gpt-oss-20b",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)

About the two models

  • The smaller of OpenAI's two gpt-oss open-weight models, a mixture-of-experts with 21B total and 3.6B active parameters. Apache 2.0 licensed and text-only, it offers low to high reasoning effort. All OpenAI models

  • Google's Gemma 4 26B A4B is an open-weight mixture-of-experts model with 25.2B total and 3.8B active parameters. Released under Apache 2.0, it takes text and images (video as frames), writes text, and has a switchable thinking mode. All Google models

Questions

Which is cheaper, gpt-oss-20b or Gemma 4 26B A4B It?
gpt-oss-20b is 45 % cheaper than Gemma 4 26B A4B It on a typical 1 : 3 input-to-output mix: $0.00092 against $0.0017 per 1M tokens. Per 1M tokens, gpt-oss-20b costs $0 input and $0.0012 output; Gemma 4 26B A4B It costs $0.0007 input and $0.002 output.
Which has the larger context window, gpt-oss-20b or Gemma 4 26B A4B It?
Gemma 4 26B A4B It has the larger context window: 262K tokens, against 131K for gpt-oss-20b.
Which is faster, gpt-oss-20b or Gemma 4 26B A4B It?
On each model's fastest provider, gpt-oss-20b starts answering after 0.19 s and writes about 536 tok/s; Gemma 4 26B A4B It starts answering after 0.20 s and writes about 477 tok/s (medians measured by OpenCheap).
Can I use gpt-oss-20b and Gemma 4 26B A4B It with the same API key?
Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/gpt-oss-20b or opencheap/gemma-4-26b-a4b, and each request goes to the cheapest healthy provider of that model.

More comparisons

Compare other models →