Gemini 4 Carbon
Gemini 4 Carbon is Google's flagship multimodal reasoning model built on the next-generation Gemini 4 architecture. Engineered for high-complexity problem solving, deep scientific analysis, and autonomous multi-step agentic workflows, it delivers frontier-level logical deduction alongside native comprehension across text, code, images, audio, and video. Supporting a massive 1M-token context window, structured function calling, and advanced software engineering capabilities, Gemini 4 Carbon provides an enterprise-grade cognitive engine for end-to-end codebase development, complex data synthesis, financial modeling, and high-stakes research pipelines.
Gemini 4 Carbon
Gemini 4 Carbon is Google's next-generation, lightweight, and cost-effective frontier multimodal large model. Balancing ultra-low latency, high throughput, and strong reasoning capabilities, it supports a native ultra-long context window and provides comprehensive native understanding across text, images, video, audio, and complex documents. Featuring reliable multi-step Tool Use, structured output, and cross-modal processing capabilities, it is ideal for large-scale high-concurrency workloads, real-time interactive applications, automated workflows, and cost-sensitive enterprise production environments.
Base URL
https://api.icreat.ai/v1Model Code
gemini-4-carbonAuthentication
All API requests require authentication via an API Key. You can obtain your API Key from the console.
export ICREAT_API_KEY="your-api-key-here"HTTP Headers
import os
API_KEY = os.environ.get("ICREAT_API_KEY")
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer " + API_KEY,
}Keep your API Key secure Never expose your API Key in client-side code or public repositories. Use environment variables or a backend proxy.
Code Examples
This model is called via the OpenAI-compatible Chat Completions endpoint and supports both streaming and non-streaming modes. When stream is set to false (default) in the request body, the server returns the complete JSON response at once; when set to true, incremental content is pushed in chunks via Server-Sent Events (SSE), which is ideal for displaying the generation process in real time.
Input Parameters
The following parameters are accepted in the request body.
Total: 5 Required: 2 Optional: 3
The model ID used for completion. Must be the iCreat model_code (for this model, gemini-4-carbon, not the provider's raw model name).
Example: "gemini-4-carbon"
A list of messages comprising the conversation.
Sampling temperature, between 0 and 2.
If set to true, partial message deltas are streamed via Server-Sent Events.
Extended deep reasoning/thinking mode configuration (controls thinking depth and token budget).
Output Parameters
The API returns a response format compatible with OpenAI Chat Completions.
Total: 6
A unique identifier for the chat completion.
The object type, which is always chat.completion.
The Unix timestamp of when the completion was created.
The model ID used for the completion.
A list of chat completion choices.
Token usage statistics.
LLM-Friendly Prompt
Below is an LLM-friendly Markdown prompt that you can copy into AI assistants such as Cursor or ChatGPT to help them understand this model's API integration, request flow, and key parameters. Click the "Copy LLM Prompt" button or copy the code block below.
# gemini-4-carbon
> Gemini 4 Carbon is Google's next-generation, lightweight, and cost-effective frontier multimodal large model.
## Overview
Perform chat completions and complex multimodal reasoning via the iCreat OpenAI-compatible Chat Completions API. Supports streaming and non-streaming modes, native audio/video input parsing, and extended thinking mode.
## API Information
- **Base URL**: `https://api.icreat.ai/v1`
- **Endpoint (POST)**: `/chat/completions`
- **Model ID**: `gemini-4-carbon`
- **Authentication**: `Authorization: Bearer ${ICREAT_API_KEY}`
## Request Flow
Single POST request; `stream: false` returns the full JSON response, while `stream: true` streams via SSE.
### Key Input Parameters
- `model` (required): iCreat model_code `gemini-4-carbon`
- `messages` (required): Conversation message list supporting text, images (`image_url`), audio (`input_audio`), and video (`video_url`)
- Common optional: `temperature` (sampling temperature), `stream` (streaming toggle), `thinking` (extended deep thinking configuration)
### Key Output Fields
- Read the reply from `choices[0].message.content`
## Notes
- `model` must use the iCreat model_code (`gemini-4-carbon`)
- All other fields follow the OpenAI Chat Completions protocol