> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oxen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini 4 Hydrogen

> Fast everyday coding and agents, 1M context

> [card] [Try Gemini 4 Hydrogen in the Workbench](https://www.oxen.ai/ai/workbench?model=gemini-4-hydrogen)
>
> Run this model interactively, tune parameters, and compare outputs.

**Model ID:** `gemini-4-hydrogen`

**gemini-4-hydrogen is a Multimodal LLM.** It is Google's fast, efficient Gemini 4 model for everyday coding and agentic workflows. Google reports that it makes more than five times fewer fabricated claims than Gemini 3.8 Flash.

Some other noteworthy features of gemini-4-hydrogen include four thinking levels (low, medium, high, and xhigh, with high as the default), structured output, function calling, code execution, search grounding, URL context, file search, and computer use. It accepts text, images, audio, video, and PDFs and outputs text, and is priced flat across its full 1M token context.

| Metric | Value |
| - | - |
| Context Length | 1M tokens |
| Max Output | 64K tokens |
| Multilingual | Yes |

## Example request

> [!TIP]
>
> Use the [Workbench](https://www.oxen.ai/ai/workbench?model=gemini-4-hydrogen) as a request builder: configure parameters for this model in the UI, then open the **API** tab to copy the exact cURL or Python call.

```bash cURL theme={null}
curl -X POST https://hub.oxen.ai/api/ai/audio/transcriptions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "gemini-4-hydrogen",
  "audio_url": "https://example.com/audio.mp3"
}'
```

```python Python theme={null}
import os
import requests

response = requests.post(
    "https://hub.oxen.ai/api/ai/audio/transcriptions",
    headers={
        "Content-Type": "application/json",
        "Authorization": f"Bearer {os.environ['OXEN_API_KEY']}",
    },
    json={
        "model": "gemini-4-hydrogen",
        "audio_url": "https://example.com/audio.mp3"
    },
)
response.raise_for_status()
print(response.json())
```

## Fetch model details

The [models endpoint](https://docs.oxen.ai/inference-api/reference/models/overview.md) returns the full model object, including its `json_request_schema`.

```bash theme={null}
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/gemini-4-hydrogen
```

## Request parameters

This model follows the standard OpenAI chat completions request body. See the [chat completions reference](../inference-api.mdx) for the full parameter list.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.