Gemini 4 Carbon API
Google's top Gemini 4 model for the hardest problems
About this model
Gemini 4 Carbon is the strongest model in Google’s Gemini 4 family, which also includes Argon, Hydrogen and Neon. Google positions it for the hardest problems and for planning turns in agentic workflows.
Pick Carbon when quality matters more than speed. Hydrogen is the faster, lighter option for execution and everyday coding, and Argon is the earlier Gemini 4 frontier model that Google says completes many long-horizon tasks with fewer tokens than Carbon.
In this catalog it accepts text and images and has a context window of about 1,000,000 tokens.
Use cases
- Hard multi-step reasoning and planning
- Complex coding and agentic work
- Analysis of long documents
Input and output
- Input
- Text and images
- Output
- Text
Developer
- Developer
- Type
- Conversation
- Context
- 1,000,000 tokens
- Capabilities
- Image input
Gemini 4 Carbon request example
Use https://gatelum.com/v1 as the base URL and pass google/gemini-4-carbon in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/chat/completions' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "google/gemini-4-carbon",
"messages": [
{
"role": "user",
"content": "Hi! Tell me about yourself in two sentences."
}
]
}
JSONClaude Code and Anthropic-protocol clients
For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=google/gemini-4-carbon
claudeWhere to use Gemini 4 Carbon
Guides with step-by-step instructions for the tools that support this model: