Gemini 4 Hydrogen
Neural Network
Google's Gemini 4 Hydrogen is a highly efficient Gemini 4 model for coding and agent scenarios.
Specifications
- Input
- text, images, documents
- Output
- text
- Context size
- 1 048 576 tokens
- Max answer length
- 943 718 tokens
- Reasoning effort
- low, medium, high, extra high
- Capabilities
- reasoning, function calling, Batch API
Prompt cost
(per 1M tokens)
Answer cost
(per 1M tokens)
Image prompt
(per 1K tokens)
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: '<your bothub access token>',
baseURL: 'https://openai.bothub.chat/v1'
});
// Sync - Text generation
async function main() {
const chatCompletion = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'gemini-4-hydrogen',
});
}
// Async - Text generation
async function main() {
const stream = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'gemini-4-hydrogen',
stream: true
});
for await (const chunk of stream) {
const part: string | null = chunk.choices[0].delta?.content ?? null;
}
}
main();
How it works Gemini 4 Hydrogen?
Gemini 4 Hydrogen is a highly efficient Gemini 4 model from Google, designed for high-load agent processes, coding, and routing between multiple models with lower costs and latency. Through BotHub, it is available in a single window alongside other models: no need for a VPN or foreign card, payment is in rubles per token used, and tokens do not expire. For development teams, a unified API for multi-model systems is available—the model can be integrated into a pipeline and replaced without rewriting the integration. Corporate clients have access to contracts, invoices, electronic document management, and limits in the admin panel. Typical tasks include building agents and orchestrators, code generation and refactoring, mass processing of requests where cost per call is critical, and scenarios where incoming requests are distributed among multiple models. Requests are encrypted via AES-GCM, and data is not stored.Frequently asked questions about Gemini 4 Hydrogen
You can use generated results for commercial purposes. You own all rights to the content you create. The only restriction: make sure your prompt does not include copyrighted third-party material. You are responsible for respecting the rights to any input data.
The model works with text, images, and documents: it parses file content, answers questions based on materials, writes and edits code, solves multi-step reasoning tasks, and calls functions. A context window of up to 1,048,576 tokens allows uploading large documents in full without splitting them. Suitable for analytics, development, and working with large volumes of text.
In a single response, the model can output up to 943,718 tokens—a very large volume, sufficient for long chapters, detailed reports, or large code fragments. The exact number of words and pages depends on the language and text structure, so it is best to verify the length with your own examples.
Yes, reasoning before answering is supported: the model can break down the problem step-by-step before providing a result. This is useful for mathematics, logic, code analysis, and planning, where the sequence of actions is as important as the final formulation. Whether to enable this mode depends on your task.
Yes, both tools are included in the model's capabilities. Function calling allows connecting external services and retrieving data from your code, while structured JSON output is convenient for integrations, parsing, and automated scenarios. This significantly simplifies embedding the model into existing pipelines and agent schemes via API.
You can input images and documents: the model will read their content and answer your questions. There is no indication of audio or video support in our data, so if you need that specific format, it is better to check in advance. You can upload an image or file directly into the chat and ask a question immediately.
There is no separate quality assessment for Russian in our data, so we cannot promise a specific level. It is most reliable to test with your own materials: run letters, contracts, or technical texts through the model and compare the results with your requirements. Access is available from Russia without a VPN or foreign card.