Gemini 4 Carbon API
Gemini 4 Carbon for text generation, coding, tool calling and image analysis through the OpenAI-compatible Chat Completions API.
Starting at
$2.4
input price per 1M tokens
Gemini 4 Carbon playground
Input
openaiInput
$2.4 / 1M
Output
$12 / 1M
Output

Start a conversation
Ask Gemini 4 Carbon anything. Messages are sent directly to the API and charged by token usage.
Sign in to chatGemini 4 Carbon API pricing
| Option | Price per 1M tokens |
|---|---|
| input | $2.4 |
| output | $12 |
| cacheRead | $0.12 |
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/chat/completions \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "gemini-4-carbon",6 "messages": [7 {8 "role": "user",9 "content": "A cinematic shot of a city at dusk"10 }11 ]12 }'
Frequently asked questions
How much does Gemini 4 Carbon cost?
Gemini 4 Carbon starts at $2.4 per 1M input tokens on API Stock. The final charge depends on the selected settings.
How do I get an API key for Gemini 4 Carbon?
Create an account and API key on API Stock, then fund your balance. The same key works with Gemini 4 Carbon and other catalog models.
How do I call the Gemini 4 Carbon API?
Send a POST request to https://api.api-stock.com/api/v1/chat/completions with your API key and the model "gemini-4-carbon", using the openai-compatible request format shown in the quick start above.
What happens if a Gemini 4 Carbon request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Gemini 4 Carbon with the same API key as other models?
Yes. Use your API Stock API key and balance for Gemini 4 Carbon and other catalog models.
Other Chat models
- Gemini 4 HydrogenGoogle$0.596/ 1M tokens
- Gemini 3.5 FlashGoogle$0.9/ 1M tokens
- Gemini 3.6 FlashGoogle$0.9/ 1M tokens
- Gemini 3.7 FlashGoogle$0.9/ 1M tokens
- Gemini 3.8 FlashGoogle$0.9/ 1M tokens
- Grok 4.5xAI$2.1/ 1M tokens
- Grok 4.6xAI$2.1/ 1M tokens
- GPT 6 SolOpenAI$2.4/ 1M tokens
- Claude Opus 5Anthropic$3/ 1M tokens
Guides
- Choose a model for an agent taskCompare models on completed tool-using tasks, repeated attempts and observed cost before setting an agent's default.2 min read
- LLM API pricing: GPT, Claude, Gemini, DeepSeek comparedCompare LLM API pricing for GPT, Claude, Gemini, DeepSeek, Grok and Kimi per 1M tokens, with worked monthly cost examples and practical ways to cut the bill.9 min read
- Give your coding agent image, video and music toolsConnect Claude Code, Codex, OpenCode or OpenClaw to API Stock and use generated media in a page, app or content draft.3 min read
