# Gemini 4 Carbon

Gemini 4 Carbon (`gemini-4-carbon`）是我们最强大的推理模型，专为复杂的软件工程、数学和科学问题解决、高事实准确性、自主多步智能体以及长达 1M token 的长解码而构建。

{% button href="https://aistudio.google.com/prompts/new_chat?model=gemini-4-carbon" variant="ais" %}在 Google AI Studio 中体验{% /button %}

## 文档  {% #documentation %}

参观 [Gemini 4 Carbon 新特性](/docs/whats-new-gemini-4-carbon) 页面完整介绍功能、API 更改和迁移指南。

## gemini-4-carbon  {% #gemini-4-carbon %}

{% doc-table variant="model" %}
{% doc-row header="true" %}
{% doc-cell %}
属性
{% /doc-cell %}

{% doc-cell %}
说明
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="id_card" /%}模型代码
{% /section %}
{% /doc-cell %}

{% doc-cell %}
`gemini-4-carbon`
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="save" /%}支持的数据类型
{% /section %}
{% /doc-cell %}

{% doc-cell %}
**输入** 文本、图像、视频、音频和 PDF

**输出** 文本
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="token_auto" /%}token 限制{% sup %}[[*]](/docs/tokens){% /sup %}
{% /section %}
{% /doc-cell %}

{% doc-cell %}
**上下文窗口（输入和输出共享的 token 上限）** 1,048,576

**最大输出** 65,536（默认同步）/最高 1,048,576（带 [长解码](/docs/long-decode))
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="handyman" /%}功能
{% /section %}
{% /doc-cell %}

{% doc-cell %}
{% section class="three-column-grid" %}
{% section %}
[**智能体视频理解**](/docs/video-understanding#agentic-video-understanding)

{% badge label="支持（默认为静态模式）" type="supported" /%}
{% /section %}

{% section %}
[**音频生成**](/docs/speech-generation)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**代码执行**](/docs/code-execution)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**计算机使用**](/docs/computer-use)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**上下文缓存**](/docs/caching)

{% badge label="支持（仅隐式缓存）" type="supported" /%}

注意：不支持显式缓存。
{% /section %}

{% section %}
[**文件搜索**](/docs/file-search)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**函数调用**](/docs/function-calling)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**使用 Google 地图提供事实依据**](/docs/maps-grounding)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**使用 Google 搜索提供事实依据**](/docs/google-search)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**图像生成**](/docs/image-generation)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**Live API**](/docs/live-api)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**结构化输出**](/docs/structured-output)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**思考**](/docs/thinking)

{% badge label="支持（low、medium、high）" type="supported" /%}
{% /section %}

{% section %}
[**URL 上下文**](/docs/url-context)

{% badge type="supported" /%}
{% /section %}
{% /section %}
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="speed" /%}消费选择
{% /section %}
{% /doc-cell %}

{% doc-cell %}
{% section class="three-column-grid" %}
{% section %}
[**Batch API**](/docs/batch-api)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**弹性推理**](/docs/flex-inference)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**优先推理**](/docs/priority-inference)

{% badge type="supported" /%}
{% /section %}
{% /section %}
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="123" /%}版本
{% /section %}
{% /doc-cell %}

{% doc-cell %}
阅读 [模型版本模式](/docs/models#model-versions) 了解更多详情。

* 稳定： `gemini-4-carbon`
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="calendar_month" /%}最新更新
{% /section %}
{% /doc-cell %}

{% doc-cell %}
十一月 2026
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="id_card" /%}模型详情
{% /section %}
{% /doc-cell %}

{% doc-cell %}
[模型详情](https://deepmind.google/models/model-cards/gemini-4-carbon/)
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="paid" /%}价格
{% /section %}
{% /doc-cell %}

{% doc-cell %}
[价格](/docs/pricing#gemini-4-carbon)
{% /doc-cell %}
{% /doc-row %}
{% /doc-table %}
