google/gemini-4-hydrogen
Fecha de lanzamiento: 2026-11-13
1,048,576 context · $1.50/M input tokens · $7.50/M output tokens
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...
Pago por uso
Sin costos iniciales, paga solo por lo que uses
Usa los siguientes ejemplos de código para integrar con nuestra API:
import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 0,
});
try {
const response = await client.chat.completions.create({
model: 'google/gemini-4-hydrogen',
messages: [{ role: 'user', content: 'Hello!' }],
});
const body = response as typeof response & { error?: { message?: string } };
if (body.error) throw new Error(body.error.message || 'LLM generation failed');
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 0,
});
try {
const response = await client.chat.completions.create({
model: 'google/gemini-4-hydrogen',
messages: [{ role: 'user', content: 'Hello!' }],
});
const body = response as typeof response & { error?: { message?: string } };
if (body.error) throw new Error(body.error.message || 'LLM generation failed');
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}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...
This model is available through the WaveSpeed AI OpenAI-compatible API for chat completions and compatible application workflows.
| Specification | Value |
|---|---|
| Provider | |
| Model Type | Chat Completions model |
| Architecture | text+image+file+audio+video->text |
| Context Window | 1048576 tokens |
| Max Input | 1048576 tokens |
| Max Output | 943718 tokens |
| Input | Audio, file, Image, Text, Video |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Structured Outputs | Supported |
| Release Date | November 13, 2026 |
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: google/gemini-4-hydrogen
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="google/gemini-4-hydrogen",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "google/gemini-4-hydrogen",
"messages": [{"role": "user", "content": "Hello!"}]
}'
google/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...
Entrada
$1.5 /M
Salida
$7.5 /M
Contexto
1049K
Salida máx.
944K
Visión
Compatible
Uso de herramientas
Compatible
Accede a Gemini 4 Hydrogen mediante nuestra API unificada — compatible con OpenAI, sin arranques en frío, precios transparentes.
Precios en WaveSpeedAI: $1.50 por millón de tokens de entrada y $7.50 por millón de tokens de salida. El prompt caching y el procesamiento por lotes se facturan por separado y reducen el coste efectivo en cargas largas y repetitivas.
Gemini 4 Hydrogen admite hasta 1049K tokens de contexto y hasta 944K tokens de salida por solicitud.
WaveSpeedAI ofrece Gemini 4 Hydrogen en https://llm.wavespeed.ai/v1 mediante la interfaz Chat Completions compatible con OpenAI. En la mayoría de clientes del SDK de OpenAI basta con cambiar la URL base y la clave API; los campos opcionales dependen del modelo.
Inicia sesión en WaveSpeedAI, crea una clave API en Access Keys y envía una solicitud a https://llm.wavespeed.ai/v1/chat/completions con el id de modelo mostrado arriba. Consulta el catálogo actual para conocer disponibilidad, capacidades y precios.