# Gemini 4 Hydrogen

Google

`gemini-4-hydrogen`

Gemini 4 Hydrogen by Google: 1M context, 66K max output, with Vision, File input, Function calling, Structured output, Streaming, Reasoning. On Hostlinku: Performance starts at $0.72/1M input.

[Get started](https://api.hostlinku.com/api/auth2/register?lang=en)[Try in Playground](https://hostlinku.com/dashboard/playground?model=gemini-4-hydrogen)

Input

0.72

per 1M tokens

$1.50original

Output

3.6

per 1M tokens

$7.50original

Cache read

per 1M token

$0.036

$0.075

Cache write (5m)

per 1M token

$0.9

Cache write (1h)

per 1M token

$1.44

[Get started](https://api.hostlinku.com/api/auth2/register?lang=en)

Input

0.72

per 1M tokens

$1.50original

Output

3.6

per 1M tokens

$7.50original

Cache read

per 1M token

$0.036

$0.075

Cache write (5m)

per 1M token

$0.9

Cache write (1h)

per 1M token

$1.44

[Get started](https://api.hostlinku.com/api/auth2/register?lang=en)

Context window

1.0M

1,048,576 tokens

Max output

65.5K

65,536 tokens

30-day uptime

94.87%

78 requests · 4 failed

Measured throughput

172.7 tok/s

Streaming over the last 30 days

Average end-to-end latency

14.17s

P95 end-to-end latency

48.32s

## Capabilities

What this model can do through the Hostlinku gateway.

6 of 15 supported

-   ### Vision
    
    Reads images, screenshots, and diagrams alongside text. Send image inputs directly in the messages payload.
    
-   ### Function calling
    
    The model calls tools you define and folds their results into the reply. Required for agentic workflows and multi-step automation.
    
-   ### Reasoning
    
    Spends extra thinking tokens on hard problems before answering. Best for math, code, and multi-step logic.
    
-   ### Response schema
    
    Guarantees JSON output that matches a schema you provide. No brittle post-parsing on your side.
    
-   ### Streaming
    
    Streams tokens as they are generated for real-time UX. Supported on every Hostlinku protocol.
    
-   ### File input
    
    Accepts documents such as PDFs and spreadsheets as context. Great for Q&A over long attachments.
    

Unsupported features (9)

-   Prompt caching
-   Web search
-   Audio
-   Video
-   Realtime
-   Session
-   Media
-   Multipart form
-   Binary response

## Protocols & code samples

Swap the base URL and everything else stays the same. Native protocols pass through; adapted protocols are translated by the Hostlinku gateway.

[Claude Code setup guide](https://docs.hostlinku.com/en/integrations/claude-code)

Native

terminal

```
curl "https://api.hostlinku.com/v1beta/models/gemini-4-hydrogen:generateContent" \
  -H "x-goog-api-key: $HOSTLINKU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [
      { "role": "user", "parts": [{ "text": "Explain how an API gateway routes a request." }] }
    ]
  }'
```

## Full price list

Every billed dimension, with the vendor list price (struck through when higher) next to the $ price per Service Mode.

| Item | Unit | Original ($) | Performance$ |
| --- | --- | --- | --- |
| Input (prompt)per 1M tokens | per 1M tokens | $1.50 | $0.72 |
| Output (completion)per 1M tokens | per 1M tokens | $7.50 | $3.6 |
| Cache readper 1M tokens | per 1M tokens | $0.075 | $0.036 |

Vendor list price is struck through when at least one Service Mode is cheaper. Dimensions without strikethrough (e.g. web search) are not discounted upstream. This model is not yet available in Economy.

## More from Google

Other models from the same vendor, with prices and context for comparison.

[All models](https://hostlinku.com/en/models)

[Gemini 4 Argon](https://hostlinku.com/en/models/gemini-4-argon)

Google

$0.96 per 1M input tokens · 1.0M context · 66K max output

[View model →](https://hostlinku.com/en/models/gemini-4-argon)

[Gemini 4 Carbon](https://hostlinku.com/en/models/gemini-4-carbon)

Google

$0.96 per 1M input tokens · 1.0M context · 66K max output

[View model →](https://hostlinku.com/en/models/gemini-4-carbon)

## In every mode

Dedicated, Performance, and Economy share one USD balance and the same API contract.

### Full model quality

Full precision with the complete context window across every Service Mode.

### Drop-in endpoints

Compatible with OpenAI Chat, Anthropic Messages, and Responses. Streaming and tool calling are supported.

### Predictable USD spend

One non-expiring USD balance, hard spend caps per API key, and automatic refunds on failed requests.

## FAQ

Common questions about Gemini 4 Hydrogen: pricing, capabilities, and how they are measured.

Google

## Start using Gemini 4 Hydrogen today

Integrate Gemini 4 Hydrogen into your app with clear documentation, official SDKs, and transparent per-token USD pricing.

[Start for free](https://api.hostlinku.com/api/auth2/register?lang=en)[Try in Playground](https://hostlinku.com/dashboard/playground?model=gemini-4-hydrogen)

## FAQ

### How much does Gemini 4 Hydrogen cost at Hostlinku?

Vendor list price is $1.50 input / $7.50 output per 1M tokens. At Hostlinku, Performance: $0.72 / $3.6. Billing is in USD, charged per token with no subscription.

### What is Gemini 4 Hydrogen's context window?

1,048,576 tokens in, up to 65,536 tokens out. Long prompts are metered per token, including cached prefixes.

### Does Gemini 4 Hydrogen support function calling?

Yes. Define tools in your request and the model calls them on every Hostlinku protocol.

### How do I use Gemini 4 Hydrogen with Claude Code?

Point Claude Code at Hostlinku: set ANTHROPIC_BASE_URL to https://api.hostlinku.com, use your Hostlinku API key as ANTHROPIC_AUTH_TOKEN, and set ANTHROPIC_MODEL to "gemini-4-hydrogen".

### How is the uptime on this page measured?

Hostlinku measures real request traffic through the supply chain. Every request is recorded, so the uptime, latency, and throughput you see are measured, not self-reported.
