Google · Model
Gemini 4 Carbon API
NewGemini 4 Carbon answers at api.apmix.ai under the id below — one key and one monthly plan, on the OpenAI and Anthropic wire formats your tools already speak. No separate Google account, no per-provider bill.
Model id
google/gemini-4-carbonMaxAt a glance
- Provider
- Included in
- Max — from $29.99/month
- Weighted-token cost
- 5.4× — a 1,000-token exchange costs 5.4K weighted tokens
- Context window
- 1M tokens
- Reasoning
- Yes — thinks before it answers
Call Gemini 4 Carbon
Set the model to gemini-4-carbon in any OpenAI- or Anthropic-compatible client. Both base URLs accept the same apmix key.
OpenAI-compatible · Chat Completions
curl https://api.apmix.ai/v1/chat/completions \
-H "Authorization: Bearer apx_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-4-carbon", "messages": [{"role": "user", "content": "Hello"}]}'Anthropic-compatible · Messages
curl https://api.apmix.ai/v1/messages \
-H "x-api-key: apx_live_YOUR_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-4-carbon", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'Questions about Gemini 4 Carbon
- Which plan includes Gemini 4 Carbon?
- Max. Each plan is a monthly allowance of weighted tokens shared across every model and every key; Gemini 4 Carbon counts at 5.4× per token.
- How do I use Gemini 4 Carbon in Claude Code, Codex CLI or Cursor?
- Point the tool at apmix — https://api.apmix.ai/v1 for OpenAI-compatible clients, https://api.apmix.ai for Anthropic-compatible ones — with your apmix key, and set the model to gemini-4-carbon. The Docs page has copy-paste setup for each tool.