No description available
Gemini 4 Carbon APIActive
AI Code With channel availability
The same model is billed by channel discount. Copy a channel code to set your preference.
Related Models
More models from Gemini
Compare models from other providers
Gemini 4 Carbon API: price, model ID, and how to call it
Call Gemini 4 Carbon through AI Code With. Use model ID gemini-4-carbon with 1M context. list price about $2.00 / $10.00 per 1M tokens before channel discounts. About $0.0570 for 100,000 input / 10,000 output tokens at the cheapest live channel.
Next: Get API key · See integration guides · All model prices · All model prices
Cost calculator
Estimate at the cheapest live channel: $0.3800 / $1.90 per 1M tokens, cache read $0.0190, cache write $0. Billed usage follows your prepaid balance.
cURL example
Set model to gemini-4-carbon. The page slug is only the URL, not the API parameter.
curl https://api.aicodewith.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AICODEWITH_API_KEY" \
-d '{
"model": "gemini-4-carbon",
"messages": [
{ "role": "user", "content": "What is the meaning of life?" }
]
}'FAQ
What is the Gemini 4 Carbon model ID?
Send model "gemini-4-carbon" in the API request. The page path /gemini-4-carbon is only the URL, not the model parameter.
How do I call the Gemini 4 Carbon API?
Use one AI Code With API key against https://api.aicodewith.ai/v1/chat/completions, and set model to gemini-4-carbon. Supported protocols: OpenAI Chat Completions. See See integration guides.
How is Gemini 4 Carbon priced?
Gemini 4 Carbon is list price about $2.00 / $10.00 per 1M tokens before channel discounts. The public page shows available channel discounts; billed usage follows your prepaid balance and the live channel. About $0.0570 for 100,000 input / 10,000 output tokens at the cheapest live channel.
How long is the Gemini 4 Carbon context window?
Gemini 4 Carbon has about 1M input context and up to 1M output tokens. Treat that as capacity, not a reason to fill every request.
GPT-5.6 Sol