compatible-only
MODEL IDgoogle-gemini-4-hydrogen

Gemini 4 Hydrogen

Google
by 1M context64K output

Gemini 4 Hydrogen is the fast, efficient model in Google's Gemini 4 family, built for everyday coding, agent workflows, and knowledge work. It accepts text, images, video, audio, and PDFs, with a 1M-token context window and configurable thinking effort. It is well suited to high-volume coding and agent tasks, worker and verifier agents in multi-model workflows, and turning long documents, spreadsheets, and recordings into reports and structured deliverables.

Gemini 4 Hydrogen

Gemini 4 Hydrogen is served through Runware's compatible endpoints, which take another provider's request format. Point the SDK you already use at Runware by changing the base URL and the API key, and set model to google:gemini@4-hydrogen.

Requests and responses keep the provider's format, so its reference documents every parameter.

EndpointFormat
/v1/chat/completionsOpenAI Chat Completions

Chat Completions

curl -X POST https://api.runware.ai/v1/chat/completions \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google:gemini@4-hydrogen",
    "messages": [{"role": "user", "content": "What is the capital of France?"}]
  }'
from openai import OpenAI

client = OpenAI(
    api_key="your_runware_api_key",
    base_url="https://api.runware.ai/v1",
)

response = client.chat.completions.create(
    model="google:gemini@4-hydrogen",
    messages=[{"role": "user", "content": "What is the capital of France?"}],
)

print(response.choices[0].message.content)
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'your_runware_api_key',
  baseURL: 'https://api.runware.ai/v1',
});

const response = await client.chat.completions.create({
  model: 'google:gemini@4-hydrogen',
  messages: [{ role: 'user', content: 'What is the capital of France?' }],
});

console.log(response.choices[0].message.content);
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';
import { generateText } from 'ai';

const runware = createOpenAICompatible({
  name: 'runware',
  apiKey: 'your_runware_api_key',
  baseURL: 'https://api.runware.ai/v1',
});

const { text } = await generateText({
  model: runware('google:gemini@4-hydrogen'),
  prompt: 'What is the capital of France?',
});

console.log(text);
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    model="google:gemini@4-hydrogen",
    api_key="your_runware_api_key",
    base_url="https://api.runware.ai/v1",
)

response = llm.invoke("What is the capital of France?")

print(response.text)

Compatible APIs covers streaming, tool calling and how the endpoint differs from OpenAI, and the OpenAI API reference lists every parameter.