Apixly · API pricing
gemini-4-hydrogen
gemini-4-hydrogen · Text generation. Gemini 4 Hydrogen for coding and agentic workflows. Output billing includes thinking; implicit cache is charged only when reported.
ReasoningCodingTool calling
Gateway price for gemini-4-hydrogen ↓API integration · Text generation
Use a text model to produce responses from messages. Start with plain text; test tools, images, streaming and other optional features on your selected group before enabling them in an application.
- Request model ID
- gemini-4-hydrogen
- Public groups
- gemini cli · gemini aistudio · gemini vertex
Create an Apixly API key, bind a group that lists this exact model, and keep the key in a server-side environment variable. Public prices exclude personal discounts; check the selected group before sending a request.
curl --fail-with-body --max-time 120 'https://apixly.ai/v1/chat/completions' \
-H "Authorization: Bearer $APIXLY_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"model": "gemini-4-hydrogen",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"stream": false
}'Start with one small request. Check the complete result and reported usage, then match the request to its charge in the console. For chat, inspect choices[0].message.content; embeddings return data and reranking returns results. A successful HTTP status alone is insufficient. This example makes no automatic retry.
Compare related models
Public quotes
Public prices
Providers
- Input/ 1M tokens
- Official
$1.5$0.63 - Output/ 1M tokens
- Official
$7.5$3.15 - Cache read/ 1M tokens
- Official
$0.075$0.0315
/ 1M tokens
Channel: gemini cli
Use this provider- Input/ 1M tokens
- Official
$1.5$0.75 - Output/ 1M tokens
- Official
$7.5$3.75 - Cache read/ 1M tokens
- Official
$0.075$0.0375
/ 1M tokens
Channel: gemini aistudio
Use this provider- Input/ 1M tokens
- Official
$1.5$0.75 - Output/ 1M tokens
- Official
$7.5$3.75 - Cache read/ 1M tokens
- Official
$0.075$0.0375
/ 1M tokens
Channel: gemini vertex
Use this providerOfficial prices and discounts use the same billing unit and tier.
Each price shows its own billing unit. Input, output, cache and reference media are charged separately where listed.