← Models
opencode

Gemini 4 Carbon

gemini-4-carbon
ReasoningVision

Model details

Model
gemini-4-carbon
Provider
opencode
API
google-generative-ai
Base URL
https://opencode.ai/inference/google/v1beta
Input
text, image
Reasoning
Yes
Context window
1,048,576
Max tokens
65,536

Pricing

USD per million tokens.

Input
$2
Output
$10
Cache read
$0.1
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.37
Uncached input
$0.16
Cache reads
$0.06
Cache writes
$0.0000
Output
$0.15
Without caching
$1.60

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.