Grok

Grok 4.6

xAI按量收費動態收費
Alias:grok-4.6
textimagefunction_callingtoolsjson_modestructured_outputreasoningvisioncontext:500000
起始價格
查看完整計費明細
上下文
500K
最大輸入窗口
最大輸出
450K
單次回應最大 token 數
模態
→
發佈於
Aug 2026

Pricing by Supplier

比較同一模型在不同供應商的價格與服務表現。

供應商1
USD · 每 1M tokens效能 · Last 24 hours
供應商Discount檔位輸入/M輸出/M緩存讀取/M
xAI

xAI 官方 API

省40%
standard輸入 < 200K tokens
$1.2$2
$3.6$6
$0.3$0.5
long_context輸入 ≥ 200K tokens
$2.4$4
$7.2$12
$0.6$1
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

左右滑動表格,查看完整價格與效能。

能力 / 支援的模態

串流輸出函數呼叫工具JSON 模式結構化輸出推理視覺
輸入
輸出

廠商與數據私隱

供應商
分詞器
Grok tokenizer (BPE)
許可證
Proprietary (commercial)商業閉源
數據保留21 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·Grok 4.6

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

About Grok 4.6

Use Grok 4.6 through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

查看介紹原文

用推理处理技术与知识问题

Grok 4.6 适合代码、科学技术和专业资料分析。它能够根据问题条件推演方案,解释实现逻辑,或把多份材料组织成清楚的结论。开发者可以用它审查算法、排查代码和设计测试,分析人员可以用它比较文档、检查论证与整理技术报告。

它接受文字、图片和文件输入,输出文字。除了粘贴源码或业务规则,也可以提供图表、流程示意或页面截图,让它把可见信息与文字背景联系起来。例如,分析一张监控图与同期日志,提出需要验证的故障假设;阅读技术方案中的结构图,检查组件职责是否与正文一致。

推理强度可按任务设置。涉及较多条件、数学推导或复杂代码时,预留足够的思考与输出空间;简单问题则把范围和答案长度写清楚。对于很长的输入,标注文档名、时间和优先级,让它围绕关键问题建立证据关系,避免混用不同材料中的条件。

函数调用和结构化输出方便它衔接应用工具。模型可以提出查询与操作请求,系统负责实际执行,并返回结果供它继续分析。对于最新信息或实时数据,需要配置相应检索工具;只分析提供的材料时,可以要求结论严格对应输入事实。

使用方式

适合辅助数学或技术学习吗? 可以要求它写清假设、定义、推导步骤和验证方法,并用另一个例子检查理解。

能看图找出根因吗? 图片可以提供现象,根因还需要日志、配置或实验来验证;让它区分观察、假设和已确认的结论。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Draft and revise text with explicit audience, tone and format requirements.
  • Summarize supplied documents and compare answers against the original sources.

Practical tips

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.

Example prompt

Summarize the following document in five bullet points. Separate confirmed facts from open questions, cite the relevant passages and do not invent missing information. Document: [paste your text]

查看使用指南原文

把技术问题写成可检查的推理任务

提供完整条件、数据和需要解释的重点。

这是服务延迟图、连接池配置和同一时段的日志。
请解释延迟上升的可能路径,区分图上可见事实和需要验证的假设。
每个假设列出支持证据、反例与下一项检查,不直接把相关性判定为根因。
最后给出按信息价值排序的排查步骤。

代码任务附失败输入和预期输出;数学任务说明单位与边界条件。需要系统读取结果时定义 JSON 字段,工具调用后核对返回对象和时间范围,再形成结论。

API access

API 介面文件

呼叫示例

請求POST/v1/chat/completions
請求範例
參數
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

速率限制

供應商RPMTPMRPD
xAI無限制無限制無限制

無限制

Frequently asked questions about grok-4.6

What is grok-4.6?

Use grok-4.6 through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

How do I call grok-4.6?

Create an API key with access to grok-4.6, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is grok-4.6 priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

What is the context window of grok-4.6?

The model catalog lists a context window of 500000 tokens. Check the selected endpoint for request limits.

What is the maximum output of grok-4.6?

The model catalog lists a maximum output of 450000 tokens. Your request settings may set a lower limit.

How should I evaluate grok-4.6 for my project?

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.