Gemini 4 Carbon API Quickstart
Gemini 4 Carbon API: Google's most capable reasoning model (open to developers since November 10, 2026), built on Gemini 4 Argon for hard coding, science and long-horizon agent work, with a 1M-token context and low, medium and high thinking levels.
API access
- Endpoint
- POST /v1/chat/completions
- Base URL
- https://api.apiko.app/v1
Speaks OpenAI Chat Completions; one APIKO key reaches every listed model.
Input price
32% off$2.00
$1.35
/ 1M tokens
Output price
32% off$10.00
$6.75
/ 1M tokens
Context
1M
Context window
Max output
32K
Per response on APIKO · official 64K
Start testing Gemini 4 Carbon
Ask a question — the answer streams in, followed by token usage, latency and an estimated cost.
Gemini 4 Carbon API quickstart
Call Gemini 4 Carbon in the OpenAI Chat Completions format. Copy-ready cURL, Python and Node.js samples below.
Code sample
Endpoint:/v1/chat/completions
curl https://api.apiko.app/v1/chat/completions \
-H "Authorization: Bearer $APIKO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-4-carbon",
"messages": [{"role": "user", "content": "Hello"}]
}'Tip: set APIKO_API_KEY to a key created on the API keys page.
Works with the official SDKs — swap in the base URL, API key and model ID.
Full Gemini 4 Carbon API docsManage API keysOne APIKO key works across every listed model.
Gemini 4 Carbon API pricing
Billed on the input, output and cached tokens reported in usage; every price is per 1M tokens.
- Input tokens32% off
- $2.00$1.35/ 1M tokens
The prompt and context you send to the model
- Output tokens32% off
- $10.00$6.75/ 1M tokens
What the model generates, reasoning tokens included
- Cached input
$0.100$0.0675/ 1M tokens
Gemini 4 Carbon API specs
Specs follow APIKO's public request contract first; anything it does not publish is taken from the model vendor's official docs, and shows as not disclosed only when neither publishes it.
- Streaming
- Supported
- Tool calling
- Supported
- Structured JSON
- Supported
- Reasoning mode
- Supported
- Input modality
- text · image · video · audio · pdf
- Output modality
- text
- Reasoning levels
- low · medium · high
- Max output
- 32K; official 64K
About Gemini 4 Carbon
Gemini 4 Carbon API: Google's most capable reasoning model (open to developers since November 10, 2026), built on Gemini 4 Argon for hard coding, science and long-horizon agent work, with a 1M-token context and low, medium and high thinking levels.
APIKO serves this model at /v1/chat/completions. Try prompts and parameters in the playground on this page first, then connect your server with the same APIKO API key.
- Provider
- Endpoint
- /v1/chat/completions
- Context window
- 1M
- Model ID
- gemini-4-carbon
How to use Gemini 4 Carbon
The playground and the API share one model ID — three steps take you from trying a prompt to production calls.
Step 1
Try it online
Test the system prompt, output length and sampling settings in the playground.
Step 2
Manage API keys
Sign in to see your keys or create one; one key works across every listed model.
Step 3
Connect your server
Send requests to /v1/chat/completions and record cost from the usage field.
Compare Gemini 4 Carbon with other Google models
Live APIKO prices per 1M tokens. Every model here works with the same API key — switch by changing the model ID.
| Model | Context window | Input | Output |
|---|---|---|---|
| Gemini 3.1 Pro Previewgemini-3.1-pro-preview | 1M | $1.32 | $7.94 |
| Gemini 3.5 Flash Litegemini-3.5-flash-lite | 1M | — | — |
| Gemini 3.6 Flashgemini-3.6-flash | 1M | $0.993 | $4.95 |
| Gemini 3.7 Flashgemini-3.7-flash | 1M | — | — |
| Gemini 3.8 Flashgemini-3.8-flash | 1M | $0.337 | $1.69 |
| Gemini 4 Argongemini-4-argon | 1M | $1.50 | $7.50 |
| Gemini 4 CarbonThis pagegemini-4-carbon | 1M | $1.35 | $6.75 |
| Gemini 4 Neongemini-4-neon | 1M | $2.23 | $11.15 |
| gemini-omni-1.2-flashgemini-omni-1.2-flash | — | — | — |
Comparing models and price tiers?
See live prices for every modelGemini 4 Carbon API FAQ
How much does the Gemini 4 Carbon API cost?
The Pricing section shows the current APIKO rates per million input and output tokens, plus cached input rates when listed. Requests are billed according to the token usage returned with the response.
Can I use the OpenAI SDK with Gemini 4 Carbon?
Yes. Use the OpenAI-compatible Chat Completions endpoint with your APIKO key. The examples on this page show how to configure the SDK and set the model field.
What is the Gemini 4 Carbon model ID?
The model ID is gemini-4-carbon, the same ID Google uses. Send it as the model field to https://api.apiko.app/v1/chat/completions, or point the OpenAI SDK at the base URL https://api.apiko.app/v1 with your APIKO key.
When was Gemini 4 Carbon released?
Google announced Gemini 4 Carbon on October 28, 2026, first for its cybersecurity partners, and opened it to paid developers on November 10, 2026. APIKO added it on November 11, 2026.
How good is Gemini 4 Carbon?
Google calls it its most capable reasoning model. It is built on Gemini 4 Argon and spends more thinking tokens, aimed at hard coding, math and science, and long agent tasks. On the Artificial Analysis Intelligence Index v5.0 quoted in Google's model card it scores 59, against 50 for Gemini 4 Argon, 57 for GPT-6 Astra and 58 for Claude Opus 5.5. These are Google's figures, not APIKO tests.
What are the Gemini 4 Carbon context window and max output?
Google documents a context window of 1,048,576 tokens and a default synchronous output cap of up to 65,536 tokens. See the specs on this page for the APIKO response limit.
Can I turn off thinking in Gemini 4 Carbon?
Thinking stays on. Google does not accept a minimal level or a thinking_budget for this model.
Which thinking levels does Google list for Gemini 4 Carbon?
Google documents three thinking levels: low, medium (the default), and high.
Does Gemini 4 Carbon support temperature and top_p?
Google ignores temperature, top_p and top_k on Gemini 4 Carbon, so sending them has no effect. It rejects frequency_penalty, presence_penalty and requests for more than one candidate, so leave those out.
How does Gemini 4 Carbon differ from Gemini 4 Argon?
Carbon builds on Argon and spends more time reasoning on difficult coding, mathematics, science, and long agent tasks.
Does the Gemini 4 Carbon API support streaming and tool calls?
Yes. With Chat Completions, set stream to true for SSE. If the model requests tools, run them and send the results back in tool messages using their tool_call_id values.
How do I get an API key?
Sign up, then create an API key in your console. One API key can call every model on the gateway.
What if a request fails?
You are not billed for failed or errored calls. Retry, and if it keeps failing, contact us via the live chat at the bottom right of the page.