Models / Google

Gemini 4 Hydrogen

$1.5/Mtok in

Google DeepMind's fast, efficient Gemini 4 model for everyday coding and agentic work: four thinking levels and a 1M-token window at one flat price.

Playground

Try it in the browser

Playground$1.5 in / $7.5 out per 1M tokens

Facts

At a glance

Availability

Live

Pricing

$1.5 / M input · $7.5 / M output · $0.075 / M cached input

Endpoint

Chat Completions

/v1/chat/completions

Context window

1,048.576k tokens

API

Call it from code

import OpenAI from "openai"

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

const res = await client.chat.completions.create({
  model: "google/gemini-4-hydrogen",
  max_tokens: 1024,
  temperature: 0.7,
  messages: [{ role: "user", content: "Say hello from the fabric." }],
})

console.log(res.choices[0].message.content)

FAQ

Frequently asked questions

How much does Gemini 4 Hydrogen cost?

$1.5 / M input · $7.5 / M output · $0.075 / M cached input. The exact cost of each call is shown before you run it and metered to your prepaid balance, no subscription required.

Why use Gemini 4 Hydrogen on CompanyFabric instead of going direct?

One key and one balance across every model in the library, at pricing at parity with or below the direct API. Switching models is a one-line change.

Is Gemini 4 Hydrogen available through the OpenAI SDK?

Yes, point any OpenAI SDK at api.companyfabric.com/v1 and set model to "google/gemini-4-hydrogen".

Variants

Same family

Gemini 4 Carbon

$2/Mtok in

Google

Google DeepMind's strongest reasoning model, built for sustained agentic coding, multimodal knowledge work, scientific reasoning and cybersecurity defense. Introductory price until 30 November.

Added 12 Nov 2026 · text

Gemini 4 Argon

$2/Mtok in

Google

Google DeepMind's frontier model for long-horizon coding, legal, finance and science work, #1 on the Vals Index at launch. Introductory price until 30 November.

Added 13 Oct 2026 · text

Gemini 3.7 Flash

$0.75/Mtok in

Google

Google's current fast model, million-token context.

Added 30 Aug 2026 · text

Gemini 3.5 Flash

Retired

Google

The previous stable Flash, still current for most work.

Added 30 Aug 2026 · text

Gemini 2.5 Pro

Retired

Google

Google's stable Pro tier, the non-preview reasoning model.

text

Gemini 2.5 Flash

Retired

Google

Long-context workhorse on the stable 2.5 line.

text

Gemini 3.1 Pro (preview)

Preview

Google

Google's newest Pro tier, shipped as a preview.

Added 30 Aug 2026 · text

Gemini 3 Flash (preview)

Preview

Google

The Gemini 3 Flash preview line.

Added 30 Aug 2026 · text

Gemini 3.8 Flash

$0.75/Mtok in

Google

Google's most capable Flash model, built for long-horizon software engineering and autonomous agents.

Added 11 Sep 2026 · text

Gemini 3.6 Flash

$0.75/Mtok in

Google

The previous-generation Flash, balancing speed and multimodal work across everyday agentic tasks.

Added 11 Sep 2026 · text

Gemini 3.5 Flash-Lite

$0.3/Mtok in

Google

Cost-efficient Gemini for high-volume agentic work, translation and simple data processing.

Added 11 Sep 2026 · text

Gemini 3.1 Flash-Lite

$0.25/Mtok in

Google

Google's cheapest text model here, for high-volume classification and extraction.

Added 11 Sep 2026 · text

Explore

Related model APIs

One key. Every model. Exact prices.

Run Gemini 4 Hydrogen with free starter credits. Free starter credits included, no subscription required.