/TEXT/Gemini/gemini-4-carbon
Chat
Google

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

3 token price options

Gemini 4 Carbon API pricing

OptionPrice per 1M tokens
input$2.4
output$12
cacheRead$0.12
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.