OpenAny
Get API keyAPI Key
ModelChat

Gemini 4 Hydrogen

gemini-4-hydrogen

Use the Gemini 4 Hydrogen API for everyday coding help, concise document analysis, and repeatable text-processing tasks. Provide your instructions together with the relevant passage, code, or conversation, and describe the format you want returned. Use it to explain a function, summarize support notes, extract action items from a brief, or draft a response grounded in the supplied information. Images can be included when the selected provider route supports their input format. Keep the task focused and choose an output budget appropriate to its length. The detail page includes request examples, supported parameters, provider selection, and token-based usage pricing.

Auto route pricing

Route source: neolink

This route has conditional pricing. Review its tiers and requirements before calling.

Published rate
Conditional pricing
Billing unit
/ 1M tokens
Context / Max output
— / —
Live routes
1

On this page

Overview

Overview for neolink

Meet Gemini 4 Hydrogen

Gemini 4 Hydrogen: artwork published with Google's model announcement

This image is published model artwork, not a generated OpenAny output. View Google's announcement.

Try a focused task

Turn a short brief into actions

Start with the source material and a specific question. State the required answer structure and ask the model to identify missing information instead of filling gaps with assumptions. The template below supplies a small task you can inspect before adapting it to larger documents or a codebase.

text
Summarize these support notes into three sections: customer issue, next action, and information still needed. Do not invent facts.
Notes: A customer reports that the export button stops responding after choosing a date range. A page refresh restores the button. The browser version and an example date range have not been collected.

Review the answer against the input. Check that every claim follows from the supplied material and that proposed actions address the stated constraints. For a coding task, run relevant checks in your own development environment before accepting a change.

Quickstart on OpenAny

Set OPENANY_API_KEY and submit a Chat Completions request. The public ID is gemini-4-hydrogen; the configured upstream mapping uses ge-4-hy. The sample pins the neolink provider.

bash
curl 'https://api.openany.si/v1/chat/completions' \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "model": "gemini-4-hydrogen",
  "route": {
    "provider": "neolink"
  },
  "messages": [
    {
      "role": "user",
      "content": "Summarize these support notes into three sections: customer issue, next action, and information still needed. Do not invent facts.\nNotes: A customer reports that the export button stops responding after choosing a date range. A page refresh restores the button. The browser version and an example date range have not been collected."
    }
  ],
  "max_tokens": 2048,
  "stream": false
}'

Use the API host for your environment. The example uses the production host; for Dev, replace it with https://api-dev.openany.si. This request template has not been executed as part of package preparation.

Read the response

A non-streaming Chat Completions response contains assistant content under choices[0].message.content and reports token usage in usage. The response below illustrates the structure only: its ID, timestamp, text, and usage values are placeholders.

json
{
  "id": "chatcmpl-EXAMPLE",
  "object": "chat.completion",
  "created": 0,
  "model": "gemini-4-hydrogen",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "[Generated analysis appears here. This is a response-schema placeholder, not a captured model result.]"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 0,
    "completion_tokens": 0,
    "total_tokens": 0
  }
}

The API and Playground example stores this same placeholder response with an explicit schema-example marker. It does not demonstrate successful generation, cache hits, entitlement, or billing for this route.

Context, output limits, and input formats

Setting

Evidence and practical use

Context window

1,048,576 unified tokens in Google's model documentation; the supplied Neo capture rounds this to 1.1M.

Neo advertised maximum output

1.1M in the supplied capture. This is an advertised maximum, not the output budget of the example.

Synchronous example output

2,048 tokens requested; the example schema caps the synchronous budget at 65,536.

Long output

Google documents output beyond the synchronous default through long decode. Support for that mode has not been verified on this provider route.

Provider-listed features

Tool calling, reasoning, content caching, multimodal input.

Input and output

Text request template and text output. Google's model documentation also lists image, audio, video, and PDF inputs; accepted payloads depend on the selected provider interface.

Google's Gemini 4 Hydrogen model documentation describes the manufacturer limits. Context is shared by input and output, so a large prompt leaves less room for generation. Before sending media, verify that the selected interface accepts its encoding and size. This package does not introduce unverified audio, video, PDF, or long-decode request fields.

Choose request parameters

Parameter

How to use it

model

Use gemini-4-hydrogen in client requests.

messages

Provide your question and source material. The example starts with one user message.

max_tokens

Choose an output budget suitable for the task; the template uses 2,048.

stream

The template requests a complete JSON response with false.

route.provider

The example selects neolink rather than leaving provider choice automatic.

Pricing and caching

All amounts below are USD per 1,000,000 tokens. OpenAny retail prices are 95% of the selected Google Standard list prices, a 5% discount.

Usage

Official list price

OpenAny retail price (95%)

Input

$1.5

$1.425

Output (including thinking tokens)

$7.5

$7.125

Cache read

$0.075

$0.07125

The comparison uses the published Google Standard paid-tier prices, rather than Batch, Flex, Priority, or free-tier rates. View Google's official pricing and effective dates.

Cache-read pricing applies to input usage reported as cached. No cache-creation quote was supplied, so a cache-write amount remains unconfigured. Google's documentation describes implicit caching; this guide does not add an explicit cache-management endpoint. Tool services such as search grounding have separate manufacturer charges and are not included in this token-price comparison.

Common questions

Does the 1.1M figure guarantee a 1.1M-token answer?

No. The source interface rounds the figure, and the manufacturer distinguishes the synchronous default from long decode. The total context limit also constrains input plus output.

Can I use the request with a different provider?

Select a compatible provider route and check that its model mapping, accepted inputs, and pricing match your needs. The upstream identifier in this package is specific to the configured provider.

Why does the preview show placeholder text?

No captured result was supplied for these four models. The configured response is a labeled structural example so readers can see the shape of the JSON. Replace it in the model's response-example editor when a real response is available.

Where are translations and model specifications applied?

The main configuration import creates the model, route, English description, Overview, and public examples. The current importer archives translated descriptions and detailed specifications as documents; the accompanying editor files identify the fields to apply separately.

Playground

Provider

Auto route pricing Review pricing details

Request parameters

POST /v1/chat/completions

Everyday coding and information processing. Request template with an explicitly labeled placeholder response.

Other parameters (1)

Result preview

neolink · 4701ms

Response example. Run to see the actual response.

{
  "id": "chatcmpl-EXAMPLE",
  "model": "gemini-4-hydrogen",
  "usage": {
    "total_tokens": 0,
    "prompt_tokens": 0,
    "completion_tokens": 0
  },
  "object": "chat.completion",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "[Generated analysis appears here. This is a response-schema placeholder, not a captured model result.]"
      },
      "finish_reason": "stop"
    }
  ],
  "created": 0
}
Agent handoff preview

Providers

Auto route · Review pricing details
ProviderPricingLatencyUptimeSupplyRoute
Live
Input $1.425 / 1M tokensSave 5% vs official
Output $7.125Save 5% vs official
Cache read $0.071
Cache write —
4701ms—Verified
Selected pricing · neolinkUSD / 1M tokens
base
Input
$1.425Save 5% vs official
Output
$7.125Save 5% vs official
Cache read
$0.071

Source: the selected provider route in OpenAny's public model catalog. A price update timestamp is not supplied.

API

Base URL
https://api.openany.si/v1
POST
/v1/chat/completions
Authentication
Authorization: Bearer $OPENANY_API_KEY

Provider

Auto route pricing Review pricing details

Request parameters

ParameterType / rangeDefault valueRequiredDescription
promptstringSummarize these support notes into three sections: customer issue, next action, and information still needed. Do not invent facts. Notes: A customer reports that the export button stops responding after choosing a date range. A page refresh restores the button. The browser version and an example date range have not been collected.YesPrompt
max_tokensinteger · 1 ~ 655362048NoMaximum output tokens

Request example

curl 'https://api.openany.si/v1/chat/completions' \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "max_tokens": 2048,
  "messages": [
    {
      "content": "Summarize these support notes into three sections: customer issue, next action, and information still needed. Do not invent facts.\nNotes: A customer reports that the export button stops responding after choosing a date range. A page refresh restores the button. The browser version and an example date range have not been collected.",
      "role": "user"
    }
  ],
  "model": "gemini-4-hydrogen",
  "stream": false
}'

Response example

Official schema example with placeholders, not a live response

JSON
{
  "id": "chatcmpl-EXAMPLE",
  "model": "gemini-4-hydrogen",
  "usage": {
    "total_tokens": 0,
    "prompt_tokens": 0,
    "completion_tokens": 0
  },
  "object": "chat.completion",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "[Generated analysis appears here. This is a response-schema placeholder, not a captured model result.]"
      },
      "finish_reason": "stop"
    }
  ],
  "created": 0
}

Error handling

400Check the model ID and request fields.
429Retry with exponential backoff.
5xxRetry only temporary provider failures.

JSON Schema

{
  "type": "object",
  "required": [
    "model",
    "messages"
  ],
  "properties": {
    "model": {
      "type": "string",
      "default": "gemini-4-hydrogen"
    },
    "stream": {
      "type": "boolean",
      "default": false
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "role",
          "content"
        ],
        "properties": {
          "role": {
            "enum": [
              "system",
              "user",
              "assistant",
              "tool"
            ],
            "type": "string"
          },
          "content": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            ]
          }
        },
        "additionalProperties": true
      },
      "minItems": 1
    },
    "max_tokens": {
      "type": "integer",
      "default": 2048,
      "maximum": 65536,
      "minimum": 1,
      "description": "Synchronous example output budget. Larger advertised output requires long-decode support not established for this route."
    }
  },
  "additionalProperties": true
}

Examples

Provider

Auto route pricing Review pricing details

Request example

POST /v1/chat/completions
curl 'https://api.openany.si/v1/chat/completions' \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "max_tokens": 2048,
  "messages": [
    {
      "content": "Summarize these support notes into three sections: customer issue, next action, and information still needed. Do not invent facts.\nNotes: A customer reports that the export button stops responding after choosing a date range. A page refresh restores the button. The browser version and an example date range have not been collected.",
      "role": "user"
    }
  ],
  "model": "gemini-4-hydrogen",
  "stream": false
}'

Model API questions

How do I call Gemini 4 Hydrogen through OpenAny?

Use model ID gemini-4-hydrogen with an OpenAny key and the operation published in this model's API tab. The model API base is https://api.openany.si/v1. Confirm the protocol and request schema; model availability does not imply every OpenAI API operation is supported.

How is Gemini 4 Hydrogen billed?

Compare the published rate and billing unit of the selected provider route. Input, output and cache token rates may differ. Image, audio and video models can use other units. Recorded usage determines the charge under that route's billing contract.

Are Community and Verified routes the same as an official publisher API?

No. Inspect the provider name and supply classification for the specific route. A marketplace listing or a supply label is not a claim of publisher endorsement, identical service or measured uptime. Different route prices may reflect different supply and conditions.

Where do these prices come from, and when were they updated?

Rates come from the provider routes in OpenAny's public model catalog, not an independent quote from the model publisher. The catalog does not supply a price update timestamp. A page or catalog snapshot date is not a price revision date. Compare supply, billing units, tiers and conditions; a lower listed rate alone does not establish equivalent service or explain the price difference.

Use Gemini 4 Hydrogen with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.