> ## 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.

# Claude Sonnet 5 API

> Venice 上的 Claude Sonnet 5 API：1M 上下文，每 1M tokens 输入 $2.00、输出 $10.00。匿名访问，不暴露您的身份。

> [accordion] 纯文本规格说明
>
> ## Claude Sonnet 5 API
>
> Claude Sonnet 5 是 Anthropic 推出的大语言模型，可通过 Venice API 以 `claude-sonnet-5` 调用。请求经过匿名化处理，服务商始终无法获知您的身份。
>
> Claude Sonnet 5 是 Sonnet 4.6 的后续版本，在编程和智能体工作方面大幅提升，在许多任务上达到接近 Opus 的水准。它具备 1M token 上下文窗口、自适应思考，以及出色的文档和视觉理解能力。
>
> ### Claude Sonnet 5 API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `claude-sonnet-5` | 标准 | Anonymized | 每 1M $2.00 / $10.00 |
>
> ### Claude Sonnet 5 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | Anthropic |
> | 发布日期 | 2026年6月29日 |
> | 隐私 | Anonymized |
> | 状态 | 稳定 |
> | 上下文窗口 | 1M tokens |
> | 最大输出 | 64K tokens |
> | 推理强度 | low, medium, high, xhigh, max |
>
> ### 如何使用 Claude Sonnet 5 API
>
> 使用 `"model": "claude-sonnet-5"` 和您的 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": "claude-sonnet-5",
>     "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
>     "reasoning_effort": "medium"
>   }'
> ```
>
> ### 相关模型
>
> * [Claude Sonnet 5.5 API](https://docs.venice.ai/zh/models/claude-sonnet-5-5.md): 每 1M $2.00 / $10.00
> * [Claude Sonnet 4.6 API](https://docs.venice.ai/zh/models/claude-sonnet-4-6.md): 每 1M $3.00 / $15.00
> * [Qwen 3.7 Max API](https://docs.venice.ai/zh/models/qwen-3-7-max.md): 每 1M $2.70 / $8.05
> * [Qwen 3.8 Max API](https://docs.venice.ai/zh/models/qwen-3-8-max.md): 每 1M $2.50 / $7.50
> * [GPT-6 Sol API](https://docs.venice.ai/zh/models/gpt-6-sol.md): 每 1M $2.00 / $10.00
> * [Qwen 3.8 2.4T API](https://docs.venice.ai/zh/models/qwen-3-8-2-4t.md): 每 1M $2.50 / $7.50


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