> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hostlinku.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini 4 Carbon

> Gemini 4 Carbon from Google.

Google 的 Gemini 4 Carbon，目录上下文为 1,048,576 个令牌。

| 属性 | 值 |
| - | - |
| 提供商 | Google |
| Slug | `gemini-4-carbon` |
| 目录背景 | 1,048,576 个令牌 |
| 目录最大输出 | 65,536 个令牌 |
| Service Mode | 性能 |

## 功能

`text`, `vision`, `image-input`, `file-input`, `pdf-input`, `tool-calling`, `function-calling`, `structured-outputs`, `json-mode`, `streaming`, `reasoning`, `extended-thinking`, `code-execution`, `web-search`, `code-generation`, `long-context`, `multilingual`, `multimodal`。

## 价格

更新于 **2026年11月14日**. 价格以 USD 显示。

| Service Mode | Input / 1M | Output / 1M | Cache read / 1M |
| - | -: | -: | -: |
| 性能 | 0.93 | 4.65 | 0.0465 |

## 支持的端点

| Endpoint | Format | Support |
| - | - | - |
| `POST /v1/chat/completions` | OpenAI Chat Completions | 可用 |
| `POST /v1/messages` | Anthropic Messages | 可用 |
| `POST /v1/responses` | OpenAI Responses | 可用 |

## 请求示例

```bash theme={null}
curl https://api.hostlinku.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-4-carbon","messages":[{"role":"user","content":"Hello!"}]}'
```

[← 返回模型目录](https://docs.hostlinku.com/zh/models.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.