Gemini 4 Hydrogen API pricing and code examples

Gemini 4 Hydrogen is a Google model you can call through LivRouter's OpenAI-compatible endpoint. There is no separate Google account and no separate invoice: one LivRouter API key reaches Gemini 4 Hydrogen alongside every other model on the platform, billed per token from prepaid credits.

Gemini 4 Hydrogen API at a glance

Compare Gemini 4 Hydrogen API pricing, model ID, and OpenAI-compatible examples through LivRouter.

Model ID
gemini-4-hydrogen
Provider
Google
API format
OpenAI-compatible
Billing
Per token from LivRouter credits
Common integration focus
Google API integrations

Gemini 4 Hydrogen pricing

Rates are in USD per 1M tokens. The reference row is the provider base rate recorded in LivRouter's catalog; the plan rows show the published rates for each eligible plan.

PlanInput / 1MOutput / 1MCached input / 1M
Reference (Google)$1.50$7.50$0.075
Max Gemini−88%$0.18$0.90$0.009
Pro Gemini−80%$0.30$1.50$0.015

Lowest listed LivRouter rate for Gemini 4 Hydrogen: $0.18 per 1M input tokens on the Max Gemini plan — about 88% below the Google reference rate. See every plan and rate.

Source: LivRouter model catalog. Catalog checked .

What does a Gemini 4 Hydrogen request cost?

One million uncached input tokens plus 100,000 output tokens at the listed Max Gemini rates cost $0.27. This example excludes subscription fees and assumes the selected plan is active. Actual charges depend on input, output, and cached-token usage.

Compare plan fees and credit allowances

Call Gemini 4 Hydrogen with the OpenAI SDK

Gemini 4 Hydrogen follows the OpenAI chat completions format, so existing OpenAI client code keeps working — change the base URL and the model name.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.livrouter.com/v1",
  apiKey: process.env.LIVROUTER_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "gemini-4-hydrogen",
  messages: [{ role: "user", content: "Hello" }],
});

console.log(completion.choices[0].message.content);

Prefer plain HTTP? The same request over curl:

curl https://api.livrouter.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LIVROUTER_API_KEY" \
  -d '{
    "model": "gemini-4-hydrogen",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Frequently asked questions about Gemini 4 Hydrogen

How much does gemini-4-hydrogen cost through LivRouter?

gemini-4-hydrogen is metered per token. The Google reference rate is $1.50 per 1M input tokens and $7.50 per 1M output tokens. On the Max Gemini plan LivRouter charges $0.18 per 1M input tokens, about 88% below the Google reference rate. Cached input is $0.009 per 1M tokens.

Can I call gemini-4-hydrogen with the OpenAI SDK?

Yes. gemini-4-hydrogen is reachable through the OpenAI-compatible endpoint at https://api.livrouter.com/v1. Keep your existing OpenAI client code and change the base URL and the model name to "gemini-4-hydrogen".

Do I need a separate Google account?

No. LivRouter routes the request for you. You only need a LivRouter API key and credits — no separate Google subscription.

Is gemini-4-hydrogen available on the Start tier?

gemini-4-hydrogen is not part of the Start tier group. It is available on the paid plans listed above.

Other Google models on LivRouter

View all model pricingGoogle API overviewQuickstart guide