Skip to main content
Skip to main content

Gemini 4 Hydrogen

Gemini 4 Hydrogen is Google’s efficiency-focused Gemini 4 model for everyday coding and repeated agent tasks. It suits first-pass classification, field extraction, and queues where only ambiguous requests need deeper review.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:GooglePrice: $1.05 / 1M input tokens
Open docs

Make your first request

Choose an API protocol and install its Python SDK. Replace YOUR_API_KEY with your MuseSpark API key, adjust the input, and run the example to send a request to this model.

Install the Python SDK

pip install openai

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.musespark.ai/proxy/openai/v1",
)

response = client.responses.create(
    model="gemini-4-hydrogen",
    input="Write a one-sentence release note for a new image model.",
)

print(response.output_text)

Protocol reference

Each protocol uses a different endpoint and request format. Use the matching SDK and authentication method for your chosen protocol.

OpenAI Responses API

Endpoint
POST https://api.musespark.ai/proxy/openai/v1/responses
Authentication
Authorization: Bearer <API_KEY>
Response
Use response.output_text for the generated text, or inspect response.output for structured output.