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

# Grok 4.7 API

> Venice 上的 Grok 4.7 API：500K 上下文，每 1M tokens 输入 $2.27、输出 $6.80。私密运行，零数据留存。包含定价、规格和代码示例。

> [accordion] 纯文本规格说明
>
> ## Grok 4.7 API
>
> Grok 4.7 是由 xAI 推出的大语言模型，可通过 Venice API 以 `grok-4-7` 调用。它以私密方式运行，零数据留存。
>
> Grok 4.7 是 Grok 4.6 的后继模型，是 xAI 的多模态对话与推理模型，支持函数调用、结构化输出和可调节的推理强度（low/medium/high/xhigh），拥有 500K token 上下文窗口。
>
> ### Grok 4.7 API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `grok-4-7` | 标准 | Private | 每 1M $2.27 / $6.80 |
>
> ### Grok 4.7 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | xAI |
> | 发布日期 | 2026年9月16日 |
> | 隐私 | Private |
> | 状态 | 稳定 |
> | 上下文窗口 | 500K tokens |
> | 最大输出 | 200K tokens |
> | 推理强度 | low, medium, high, xhigh |
>
> ### 如何使用 Grok 4.7 API
>
> 使用 `"model": "grok-4-7"` 和您的 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": "grok-4-7",
>     "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
>     "reasoning_effort": "high"
>   }'
> ```
>
> ### 相关模型
>
> * [Grok 4.6 API](https://docs.venice.ai/zh/models/grok-4-6.md): 每 1M $2.27 / $6.80
> * [Grok 4.5 API](https://docs.venice.ai/zh/models/grok-4-5.md): 每 1M $2.27 / $6.80
> * [Grok 4.3 API](https://docs.venice.ai/zh/models/grok-4-3.md): 每 1M $1.42 / $2.83
> * [Grok 4.20 API](https://docs.venice.ai/zh/models/grok-4-20.md): 每 1M $1.42 / $2.83
> * [Abliterated Large V2 API](https://docs.venice.ai/zh/models/abliterated-large-v2.md): 每 1M $3.00 / $5.00
> * [Qwen 3.8 2.4T API](https://docs.venice.ai/zh/models/qwen-3-8-2-4t.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 Max API](https://docs.venice.ai/zh/models/qwen-3-8-max.md): 每 1M $2.50 / $7.50


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