Gemini 4 Carbon
Availablegoogle/gemini-4-carbonGoogle's Gemini 4 model for building interfaces and sites from a design, with a 1M-token context window.
- Chat
- 1.05M context
- 66K max output
- Vision
- Tools
Pricing
- Input
- $2 / 1M tokens
- Output
- $10 / 1M tokens
- Cached input
- $0.10 / 1M tokens
What it costs
A typical request: 2,000 tokens in, 500 out$0.009
1,000 of those requests$9.00
Performance on SparrowCodes
Measured from real requests over the last 7 days.
- Throughput
- –
- First token
- 7.54 s
- Latency
- 7.66 s
- Success rate
- 100.0%
Medians across 4 requests.
Official benchmarks
Scores published by the model's maker, under their test conditions.
The maker hasn't published benchmark scores we could verify for this model.
Specifications
- Type
- Chat
- Served by
- Context window
- 1,048,576 tokens
- Maximum output
- 65,536 tokens
- Input types
- Text, Image
- Tool calling
- Supported
Use it
curl https://api.sparrowcodes.com/v1/chat/completions \
-H "Authorization: Bearer $SPARROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-4-carbon",
"messages": [{"role": "user", "content": "Explain rate limiting in one paragraph."}]
}'Set "model" to google/gemini-4-carbon. The response includes its exact cost.
More from Google
All models- Gemini 3.1 Flash-LiteChatgoogle/gemini-3.1-flash-lite$0.25 in · $1.50 out / 1M
- Gemini 3.1 Pro (preview)Chatgoogle/gemini-3.1-pro$2 in · $12 out / 1M
- Gemini 3.5 Flash-LiteChatgoogle/gemini-3.5-flash-lite$0.30 in · $2.50 out / 1M
- Gemini 3.8 FlashChatgoogle/gemini-3.8-flash$0.75 in · $3.75 out / 1M
- Gemini 4 ArgonChatgoogle/gemini-4-argon$2 in · $10 out / 1M
- Nano Banana 2.1Imagegoogle/nano-banana-2.1$0.041 per image