wellflow.devAI models, for less
wellflow
All models

Gemini 4 Hydrogen

New

1,048,576 tokens of context

Gemini 4 Hydrogen is a Google model from the new Gemini 4 line for harder tasks: reasoning, code and image analysis. 1M context, image input, tool calling and discounted context caching.

Provider

Premium

Provider model

gemini-4-hydrogen

For Cursor

cursorgemini4h

ReasoningVision

Pricing

per 1M tokens

Input

Wellflow price: $0.34provider price: $1.50

Output

provider price: $7.50Wellflow price: $1.70

Savings

77%

Prompt caching

The repeated part of a request (system prompt, documents, chat history) is stored in the cache. Reading it back costs less than regular input.

80–95%of tokens when you work in an IDE

An agent in Cursor or Claude Code sends the whole context again on every step: project files, rules, history. Only a few percent of each request is new, the rest repeats. That is why in an IDE your bill depends on the cache price first of all.

Cache read
Wellflow price: $0.03
-91% vs input price
Cache write
Wellflow price: $0.34

Performance

Availability and speed of the model through Wellflow.

Uptime

Speed

What Gemini 4 Hydrogen is good for

  • Planning & analysis

    Multi-step tasks, weighing options, structured decisions

  • Complex refactors

    Reworking large code areas while keeping behavior

  • Images

    Screenshots, documents, diagrams and UI mocks on input

  • Long context

    Whole codebases, long documents and threads

How to call Gemini 4 Hydrogen

OpenAI SDK · Cursor · Codex

https://api.wellflow.dev/v1

Anthropic SDK · Claude Code

https://api.wellflow.dev

curl

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

Python

from openai import OpenAI

client = OpenAI(base_url="https://api.wellflow.dev/v1", api_key="...")

resp = client.chat.completions.create(
    model="gemini-4-hydrogen",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Gemini 4 Hydrogen: frequently asked questions

Gemini 4 Hydrogen costs $0.34 per 1M input tokens and $1.70 per 1M output tokens. Cached context reads: $0.03 per 1M. You pay only for tokens actually used, with no monthly fee. For comparison, the provider's list price is $1.50 / $7.50 per 1M in and out. Same model, lower rate thanks to volume.

The context window of Gemini 4 Hydrogen is up to 1,048,576 tokens: enough for a whole codebase or hundreds of pages of text.

Create a key in the Wellflow dashboard and POST to https://api.wellflow.dev/v1/chat/completions with model = "gemini-4-hydrogen". The API is OpenAI SDK compatible, so any client works, streaming included.

Yes. Gemini 4 Hydrogen works from Claude Code (connected via ANTHROPIC_BASE_URL), Cursor, Codex CLI and VS Code: one base URL for all of them. Step-by-step guides live in the docs.

In Gemini 4 Hydrogen, repeated context (system prompts, agent history) is cached: reads cost $0.03 per 1M tokens instead of $0.34. In IDE agents most of every request is repeated context, so the saving is immediate.