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

# GPT-4o API

> Venice 上的 GPT-4o API：128K 上下文，每 1M tokens 输入 $2.50、输出 $10.00。匿名访问，不暴露您的身份。支持函数调用和视觉。

> [accordion] 纯文本规格说明
>
> ## GPT-4o API
>
> GPT-4o 是由 OpenAI 推出的大语言模型，可通过 Venice API 以 `openai-gpt-4o-2024-11-20` 调用。请求经过匿名化处理，服务提供商永远不会看到您的身份。
>
> OpenAI 的多模态模型，具备视觉能力、强大的推理能力和广博的知识。因其在各类任务中表现均衡而广受欢迎。版本：2024-11-20。
>
> ### GPT-4o API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `openai-gpt-4o-2024-11-20` | 标准 | Anonymized | 每 1M $2.50 / $10.00 |
>
> ### GPT-4o 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | OpenAI |
> | 发布日期 | 2026年2月28日 |
> | 隐私 | Anonymized |
> | 状态 | 稳定 |
> | 上下文窗口 | 128K tokens |
> | 最大输出 | 16K tokens |
>
> ### 如何使用 GPT-4o API
>
> 使用 `"model": "openai-gpt-4o-2024-11-20"` 和您的 API 密钥向 `POST https://api.venice.ai/api/v1/chat/completions` 发送请求。
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/chat/completions \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "openai-gpt-4o-2024-11-20",
>     "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }]
>   }'
> ```
>
> ### 相关模型
>
> * [Qwen 3.7 Max API](https://docs.venice.ai/zh/models/qwen-3-7-max.md): 每 1M $2.70 / $8.05
> * [Aion 3.0 API](https://docs.venice.ai/zh/models/aion-3-0.md): 每 1M $3.75 / $7.50
> * [Claude Sonnet 5 API](https://docs.venice.ai/zh/models/claude-sonnet-5.md): 每 1M $2.00 / $10.00
> * [Gemini 3.1 Pro Preview API](https://docs.venice.ai/zh/models/gemini-3-1-pro-preview.md): 每 1M $2.50 / $15.00


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