Google: Gemini 4 Carbon
Google Gemini 4 Carbon API pricing
Gemini 4 Carbon costs $0.800 per million input tokens and $4.00 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $2.00 input and $10.00 output), and cached input tokens are billed at $0.040 per million. Web search is billed on top, at $5.60 per 1K searches. It accepts text, images, audio and video and returns text, with a 1.05M-token context window and up to 1.05M output tokens per response. A cheaper Google option is Gemini 2.5 Pro at $0.500 / $4.00 per 1M tokens; for every model and rate, see Gemini API pricing.
Multimodal Gemini model with a 1M-token context window. Accepts text, image, audio, video and file input, and supports tool use, context caching and Google Search grounding.
Providers
Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.
| Provider | Input /M | Output /M | Cache read /M |
|---|---|---|---|
| $0.800 | $4.00 | $0.040 |
Capabilities (12)
Supported parameters (17)
A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params.
Pricing
What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.
| Rate | Standard price | Charged | Unit |
|---|---|---|---|
| Input | $2.00 | $0.800 | per 1M input tokens |
| Output | $10.00 | $4.00 | per 1M output tokens |
| Cached input | $0.100 | $0.040 | per 1M cached input tokens |
| Web search (low context) | $14.00 | $5.60 | per 1K searches |
| Web search (medium context) | $14.00 | $5.60 | per 1K searches |
| Web search (high context) | $14.00 | $5.60 | per 1K searches |
Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.
Search context size. A grounded request is billed at the web-search rate for the context size it asks for (low, medium or high), on top of its tokens.
Specifications
- Model ID
google/gemini-4-carbon- Developer
- Type
- Text
- Input
- Text, images, audio and video
- Output
- Text
- Context window
- 1,048,576 tokens
- Max output
- 1,048,576 tokens
- Tokenizer
- Gemini
- Series
- Gemini 4
- Image input
- Up to 20 MB each · PNG, JPEG, WebP, HEIC, HEIF
- Audio input
- Up to 50 MB each · WAV, MP3, AIFF, AAC, OGG, FLAC
- Video input
- Up to 100 MB each · MP4, MPEG, MOV, AVI, X-FLV, MPG, WEBM, WMV, 3GPP
- Endpoint
/v1/chat/completions
Best for
Quickstart
Call google/gemini-4-carbon with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.oxyy.ai/v1",
api_key=os.environ["OXYY_API_KEY"],
)
response = client.chat.completions.create(
model="google/gemini-4-carbon",
messages=[
{"role": "user", "content": "Explain unified AI APIs in one sentence."},
],
)
print(response.choices[0].message.content)About Gemini 4 Carbon
Frequently asked questions
What is Gemini 4 Carbon?
How much does Gemini 4 Carbon cost?
What is the context length of Gemini 4 Carbon?
Does Gemini 4 Carbon support tool calling and structured outputs?
What inputs and outputs does Gemini 4 Carbon support?
Which API endpoint does Gemini 4 Carbon use?
What other models does Google have?
Alternatives to Gemini 4 Carbon
Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

