> ## 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 Mini API

> Venice 上的 GPT-4o Mini API：128K 上下文，每 1M tokens 输入 $0.15、输出 $0.60。匿名访问，不暴露您的身份。包含定价、规格和代码示例。

> [accordion] 纯文本规格说明
>
> ## GPT-4o Mini API
>
> GPT-4o Mini 是由 OpenAI 推出的大语言模型，可通过 Venice API 以 `openai-gpt-4o-mini-2024-07-18` 调用。请求经过匿名化处理，服务提供商永远不会看到您的身份。
>
> OpenAI 的高性价比小型模型，以极低的成本提供 GPT-4 级别的智能。非常适合需要强大推理能力的高吞吐量应用。版本：2024-07-18。
>
> ### GPT-4o Mini API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `openai-gpt-4o-mini-2024-07-18` | 标准 | Anonymized | 每 1M $0.15 / $0.60 |
>
> ### GPT-4o Mini 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | OpenAI |
> | 发布日期 | 2026年2月28日 |
> | 隐私 | Anonymized |
> | 状态 | 稳定 |
> | 上下文窗口 | 128K tokens |
> | 最大输出 | 16K tokens |
>
> ### 如何使用 GPT-4o Mini API
>
> 使用 `"model": "openai-gpt-4o-mini-2024-07-18"` 和您的 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-mini-2024-07-18",
>     "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }]
>   }'
> ```
>
> ### 相关模型
>
> * [Gemma 4 Uncensored API](https://docs.venice.ai/zh/models/gemma-4-uncensored.md): 每 1M $0.1625 / $0.50
> * [Qwen 3.6 35B A3B API](https://docs.venice.ai/zh/models/qwen-3-6-35b-a3b.md): 每 1M $0.10 / $1.00
> * [Qwen 3.5 35B A3B API](https://docs.venice.ai/zh/models/qwen-3-5-35b-a3b.md): 每 1M $0.15 / $1.00
> * [Google Gemma 4 26B A4B Instruct API](https://docs.venice.ai/zh/models/google-gemma-4-26b-a4b-instruct.md): 每 1M $0.13 / $0.40


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