Gemini 4 Argon API
Google's Gemini with a context window of about a million tokens. Served through RouterHub at $0.25 input / $1.25 output per million tokens (prices as of ).
Gemini 4 Argon pricing
−87% vs the official API price of $2.00 input / $10.00 output per 1M tokens (source, checked 2026-10-24).
- Input
- $0.25
- Cached input
- $0.0125
- Output
- $1.25
- Typical message
- ≈ 0.088¢
USD per 1 million tokens. A typical message is about 1,000 input and 500 output tokens. Cached input uses the cache-read rate when the provider reports a cache hit. Billed from your prepaid balance.
API compatibility and context
- Exact model ID
gemini-4-argon- Provider
- Variant
- Standard
- Supported API
- OpenAI-compatible Chat Completions API (
/v1/chat/completions) - Availability
- Available
- Context window
- 1,048,576 tokens
- Maximum input
- 1,048,575 tokens
- Maximum output
- 65,536 tokens
Use Gemini 4 Argon through the API
Create a RouterHub account, add prepaid credits and create an API key. Set ROUTERHUB_API_KEY locally, then send a first request with the exact model ID.
curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/chat/completions \
-H "Authorization: Bearer $ROUTERHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-4-argon","messages":[{"role":"user","content":"Write a short noir scene set in a lighthouse."}],"max_tokens":256}'Python: install openai with pip. The example requests 256 output tokens and disables automatic retries, so check Usage before resending a paid request.
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["ROUTERHUB_API_KEY"],
base_url="https://routerhub.si/v1",
timeout=600.0,
max_retries=0,
)
response = client.chat.completions.create(
model="gemini-4-argon",
messages=[{"role": "user", "content": "Write a short noir scene set in a lighthouse."}],
max_tokens=256,
)
print(response.choices[0].message.content)Coding tools that work with Gemini 4 Argon
Common questions
What is Gemini 4 Argon?
Gemini 4 Argon is a Google language model served through RouterHub using the OpenAI-compatible Chat Completions API. Its exact API model ID is gemini-4-argon.
How much does Gemini 4 Argon cost?
RouterHub charges $0.25 input, $0.0125 cached input and $1.25 output per million tokens (prices as of 2026-11-08). A typical chat message of about 1,000 input and 500 output tokens costs about 0.088¢. Usage is billed against your prepaid balance.
What is the Gemini 4 Argon context window?
Context window: 1,048,576 tokens. Maximum input: 1,048,575 tokens. Maximum output: 65,536 tokens.
Which API does Gemini 4 Argon support?
Use the OpenAI-compatible Chat Completions API at https://routerhub.si/v1/chat/completions with the exact model ID gemini-4-argon and your RouterHub API key (Authorization: Bearer header).
Which coding tools work with Gemini 4 Argon?
OpenCode, VS Code + Continue, VS Code + Cline, Hermes Agent. Each setup guide lists only compatible model IDs.
Can I try Gemini 4 Argon for free?
Gemini 4 Argon needs a free RouterHub account with prepaid credits. New accounts get $5 free on their first top-up of $20 or more.