opencheap.si
Credits

meta-llama/Llama-4-Maverick-17B-128E-Instruct vs Gemini 4 Hydrogen

Price, context, speed and uptime side by side

meta-llama/Llama-4-Maverick-17B-128E-Instruct is 7 % cheaper than Gemini 4 Hydrogen on a typical 1 : 3 input-to-output mix: $0.84 against $0.90 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.0045 on meta-llama/Llama-4-Maverick-17B-128E-Instruct and $0.0034 on Gemini 4 Hydrogen. Gemini 4 Hydrogen has the larger context window: 1M tokens, against 524K for meta-llama/Llama-4-Maverick-17B-128E-Instruct. On OpenCheap, meta-llama/Llama-4-Maverick-17B-128E-Instruct is served by 1 provider and Gemini 4 Hydrogen by 8 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

meta-llama/Llama-4-Maverick-17B-128E-Instruct vs Gemini 4 Hydrogen: price, context, speed and uptime
Modelmeta-llama/Llama-4-Maverick-17B-128E-InstructMetaGemini 4 HydrogenGoogle
Inputper 1M tokens$0.35$0.22 (best)
Outputper 1M tokens$1.00 (best)$1.12
Cached inputper 1M tokens—$0.011
On a 1 : 3 mixper 1M tokens, input to output$0.84 (best)$0.90
One request10,000 tokens in, 1,000 out$0.0045$0.0034 (best)
1,000 requestsof that size$4.50$3.37 (best)
List priceper 1M tokens, input / output—$1.50 / $7.50
Context windowtokens in one request524K1M (best)
Providersserving it on OpenCheap18 (best)
First tokenfastest provider, median—1.68 s
Output speedfastest provider, median—157 tok/s
Uptimebest provider, last day—100 %
Model idopencheap/llama-4-maverick-17b-128eModel page →opencheap/gemini-4-hydrogenModel 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 Gemini 4 Hydrogen instead of meta-llama/Llama-4-Maverick-17B-128E-Instruct, change the model to opencheap/gemini-4-hydrogen; 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/llama-4-maverick-17b-128e",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)

About the two models

Questions

Which is cheaper, meta-llama/Llama-4-Maverick-17B-128E-Instruct or Gemini 4 Hydrogen?
meta-llama/Llama-4-Maverick-17B-128E-Instruct is 7 % cheaper than Gemini 4 Hydrogen on a typical 1 : 3 input-to-output mix: $0.84 against $0.90 per 1M tokens. Per 1M tokens, meta-llama/Llama-4-Maverick-17B-128E-Instruct costs $0.35 input and $1.00 output; Gemini 4 Hydrogen costs $0.22 input and $1.12 output.
Which has the larger context window, meta-llama/Llama-4-Maverick-17B-128E-Instruct or Gemini 4 Hydrogen?
Gemini 4 Hydrogen has the larger context window: 1M tokens, against 524K for meta-llama/Llama-4-Maverick-17B-128E-Instruct.
Can I use meta-llama/Llama-4-Maverick-17B-128E-Instruct and Gemini 4 Hydrogen 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/llama-4-maverick-17b-128e or opencheap/gemini-4-hydrogen, and each request goes to the cheapest healthy provider of that model.

More comparisons

Compare other models →