Back to Models
google logoGoogle
gemini-4-hydrogen
Web only

Gemini 4 Hydrogen

Gemini 4 Hydrogen is the high-efficiency workhorse model of the Gemini 4 family from Google, built for high-throughput agentic workflows, coding and multi-model routing at lower cost and latency than...

11/12/2026
1,048,576 tokens
Input: $1.65/M
Output: $8.25/M

Specifications

Modalities

Input
audio
file
image
text
video
Output
text

Supported Parameters

include_reasoning
max_tokens
reasoning
reasoning_effort
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_p

Max Output Tokens

943,718

Reasoning Configuration

Default
Thinking on (effort: medium)
Selectable effort levels
xhigh
high
medium
low
Turning thinking off
Not possible (always thinks)

How to control thinking, and what it costs

Data policy

Prompt retention
May be retained
Training
Not used for training

Whether a provider trains on prompts is a declared value from our terms with them. Retention is determined from the upstream listing for every host this model can reach. Neither is guessed.

Available in the web app only

Gemini 4 Hydrogen can be used in FastMetal's web app, billed from your prepaid balance like any other model. It is not available through the API or MCP: a request naming it is refused by the gateway (HTTP 403).

Open in chat

How Gemini 4 Hydrogen actually answers

Real responses to our standard prompts, recorded on FastMetal.

Count the number of 'r's in 'strawberry'

Count the number of 'r's in 'strawberry'. Explain your reasoning step by step.

To find the number of 'r's in the word "strawberry", let's go through it letter by letter: 1. **s** (not an r) 2. **t** (not an r) 3. **r** — **1st 'r'** 4. **a** (not an r) 5. **w** (not an r) 6. **b** (not an r) 7. **e** (not an r) 8. **r** — **2nd 'r'** 9. **r** — **3rd 'r'** 10. **y** (not an r) There are **3** 'r's in "strawberry" (st**r**awbe**rr**y).
3.6s response413 output tokens

Debug This Error

I'm getting the following error in my Node.js application: TypeError: Cannot read properties of undefined (reading 'map') at UserList (/app/components/UserList.js:12:25) at renderWithHooks (/app/node_modules/rea…

### What is causing this error? The error occurs because the `users` prop is `undefined` when `UserList` renders. Calling `.map()` on `undefined` throws a `TypeError`. Common reasons `users` might be `undefined`: 1. **Asynchronous data fetching:** The parent component hasn't finished fetching the user data yet on the initial render (e.g., `useState()` initialized without a default empty array `[]`). 2. **Missing or misspelled prop:** The parent rendered `<UserList />` without passing `users`, or passed it under a different name. 3. **API response shape:** The data passed down is `undefined` because of a mismatch in the API response structure (e.g., passing `data.users` when the field is ac…
7.0s response982 output tokens

Code Review

Please review the following Python function and suggest improvements for readability, performance, and best practices: def get_data(url, retries=3): import requests import time for i in range(retries):…

Here is a review of the function broken down by **best practices**, **readability**, and **performance**, followed by a refactored version. --- ### 1. Best Practices & Reliability * **Avoid bare `except:`:** Catching everything suppresses `KeyboardInterrupt`, `SystemExit`, and programming errors (e.g., `KeyError` if the JSON schema changes). Catch specific exceptions like `requests.RequestException` (and `ValueError` for invalid JSON). * **Move imports to the top of the file:** Putting `import requests` and `import time` inside the function violates PEP 8 and adds lookup overhead on every call. * **Don't retry non-transient HTTP errors:** Retrying a `404 Not Found` or `401 Unauthorized` w…
13.8s response2208 output tokens

Compare these answers side by side with other models →

Frequently asked questions

How much does the Gemini 4 Hydrogen API cost?
On FastMetal, Gemini 4 Hydrogen is billed per token: $1.65 per 1M input tokens and $8.25 per 1M output tokens on a US-dollar account, before tax. Usage is drawn from a prepaid balance; there is no subscription or monthly fee.
What is the context window of Gemini 4 Hydrogen?
1,048,576 tokens, shared between the prompt and the response.
What do I need to try Gemini 4 Hydrogen?
Create an account and add credit; the model is then available both in the browser chat and over the API. There is no contract or minimum spend.

Try Gemini 4 Hydrogen right now

Gemini 4 Hydrogen is available on FastMetal through one API key. Start in the browser, or call it from the OpenAI SDK.