gemini-3.8-flash vs gemini-4-carbon: API Pricing & Capabilities
Unit prices, a monthly cost example and capabilities of gemini-3.8-flash and gemini-4-carbon, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.
gemini-3.8-flash: Gemini-3.8-Flash is the general availability (GA) flagship multimodal model, designed for code development and AI agent scenarios. It supports configurable reasoning depth, offers a million-token context window, and is compatible with image, text, audio, and video inputs. With standout capabilities in tool invocation and multi-step task execution, it is well-suited for large-scale production workloads.
gemini-4-carbon: Gemini 4 Carbon (gemini-4-carbon) is our most powerful model for reasoning, designed for complex software engineering, mathematical and scientific problem solving, high factual accuracy, and autonomous multi-step agent scenarios, supporting ultra-long outputs of up to 1 million tokens.
Price overview
For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.
| Item | gemini-3.8-flash | gemini-4-carbon |
|---|---|---|
| Provider | ||
| Group | Anti-Gemini-2 | Aistudio-Gemini-2 |
| Input (USD / 1M tokens) | $0.1125 | $0.5294 |
| Output (USD / 1M tokens) | $0.5625 | $2.647 |
| Cache read (USD / 1M tokens) | $0.0112 | $0.0265 |
| Monthly cost example | $22.50 | $105.88 |
Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.
Prices by group
USD per 1M tokens. Price = base price × group ratio.
gemini-3.8-flash by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Anti-Gemini-2 | $0.1125 | $0.5625 | $0.0112 | $22.50 |
| Aistudio-Gemini-3 | $0.3309 | $1.654 | $0.0331 | $66.18 |
| Vertex-Gemini-3 | $0.675 | $3.375 | $0.0675 | $135.00 |
| Aistudio-Gemini-4 | $0.7169 | $3.585 | $0.0717 | $143.38 |
gemini-4-carbon by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Aistudio-Gemini-2 | $0.5294 | $2.647 | $0.0265 | $105.88 |
| Vertex-Gemini-2 | $0.60 | $3.00 | $0.03 | $120.00 |
| Aistudio-Gemini-3 | $0.8824 | $4.412 | $0.0441 | $176.47 |
| Vertex-Gemini-3 | $1.80 | $9.00 | $0.09 | $360.00 |
| Aistudio-Gemini-4 | $1.912 | $9.559 | $0.0956 | $382.36 |
Same-group comparison
Groups available to both models, with the monthly cost example in the same group:
| Group | gemini-3.8-flash | gemini-4-carbon |
|---|---|---|
| Aistudio-Gemini-3 | $66.18 | $176.47 |
| Vertex-Gemini-3 | $135.00 | $360.00 |
| Aistudio-Gemini-4 | $143.38 | $382.36 |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.
Capabilities
| Item | gemini-3.8-flash | gemini-4-carbon |
|---|---|---|
| Provider | ||
| Context | — | — |
| Features | Conversation · Image Recognition · Tools | Conversation · Image Recognition · Tools |
| API formats | Gemini generateContent · OpenAI Chat Completions | Gemini generateContent · OpenAI Chat Completions |
| Long-context tiers | No | No |
Which one to choose
- Lower cost: gemini-3.8-flash is cheaper — about $22.50 vs $105.88 for gemini-4-carbon in the monthly example above.
- Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.
Quick start
Base URL: https://api.openlux.ai/v1. The example uses gemini-3.8-flash; change model to gemini-4-carbon to call the other model.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.8-flash",
"messages": [{"role": "user", "content": "Hello"}]
}'Full parameters in the API docs
FAQ
Which is cheaper, gemini-3.8-flash or gemini-4-carbon?
At build time, the lowest public prices were: gemini-3.8-flash (Anti-Gemini-2 group) input $0.1125, output $0.5625 per 1M tokens; gemini-4-carbon (Aistudio-Gemini-2 group) input $0.5294, output $2.647 per 1M tokens. For 100M input + 20M output tokens a month, gemini-3.8-flash costs about $22.50 and gemini-4-carbon about $105.88.
Can I use one API key for both gemini-3.8-flash and gemini-4-carbon?
Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to gemini-3.8-flash or gemini-4-carbon. Usage of both models is billed from the same balance.
Which API formats do gemini-3.8-flash and gemini-4-carbon support?
gemini-3.8-flash: Gemini generateContent, OpenAI Chat Completions. gemini-4-carbon: Gemini generateContent, OpenAI Chat Completions.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.