xAI: Grok 4.6

xai/grok-4.6

xAI Grok 4.6 API pricing

在Oxyy上,Grok 4.6的输入token价格为每百万$0.800,outputtoken价格为每百万$2.40。 这些是应用当前 60% 折扣后的按量付费价格(Launch Promo; standard price $2.00 input and $6.00 output), and 缓存的输入 token 按每百万 $0.200 计费. 它接受 text and images 并返回 text, with a 500K-token 上下文窗口. A cheaper xAI option is Grok 4.3 at $0.500 / $1.00 per 1M tokens; 查看所有模型与费率的 Grok API 定价.

xAI's flagship model for code and everything else: agentic tool calling, minimal hallucinations, configurable reasoning.
模态文本图片文本
价格$0.800 / $2.40 每 1M 输入 / 输出 tokenAll Grok API 定价
上下文500K
已发布Aug 12, 2026

供应商

此模型的运行位置以及每个路由的费用。请求会自动发送到健康的提供商;如果某个提供商出错,网关会自动重试提供相同模型的另一个提供商。

提供方输入 /M输出 /M缓存读取 /M延迟Throughput
xAI$0.800$2.40$0.2005.97s1317 tps

功能特性 (19)

流式传输工具调用结构化输出推理系统 prompt视觉Prompt 缓存Context CompactionMulti Agent网页搜索X Search代码执行Collections SearchAttachment SearchRemote McpImage Generation ToolPriority ProcessingBatchRegional Endpoint

支持的参数 (5)

reasoning_effortservice_tierstreamtoolsresponse_format

此处未列出的参数可能会在请求到达模型之前被移除。移除后,请求仍会成功,且响应会在 provider_specific_fields.dropped_params.

定价

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

输入价格
$0.800
每 1M 个输入 token · standard price $2.00
输出价格
$2.40
每 1M 个输出 token · standard price $6.00
费率标准价格已扣费单位
输入$2.00$0.800每 1M 个输入 token
输出$6.00$2.40每 1M 个输出 token
缓存输入$0.500$0.200每 1M 个缓存输入 token

折扣。 收费费率已包含所有费率的当前 "Launch Promo" 60% 折扣。

长上下文定价。 当 prompt 超过阈值时,整个请求将按每 1M tokens 的这些费率计费;未列出的费率保持上述价格。从 200,000 prompt 中的 tokens: input $1.60 / output $4.80 / cache read $0.400.

UTC

规格

Model ID
grok-4.6
开发者
xAI
类型
文本
输入
Text and images
输出
文本
上下文窗口
500,000 tokens
知识截止日期
February 2026
已发布
Aug 12, 2026
分词器
Grok
系列
Grok 4
图片输入
每个最大 20 MB · JPEG, PNG
端点
/v1/chat/completions

最适合

编程聊天AgentsResearch

快速入门

调用 grok-4.6 通过 POST 请求发送至 /v1/chat/completions 开启 https://api.oxyy.ai,使用来自的 Oxyy API key OXYY_API_KEY 环境变量。 同一密钥适用于目录中的所有模型。

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

response = client.chat.completions.create(
    model="grok-4.6",
    messages=[
        {"role": "user", "content": "Explain unified AI APIs in one sentence."},
    ],
)
print(response.choices[0].message.content)

性能

Throughput 表示模型输出的速度(token/秒 —— 越高越好)。Latency 是总往返时间(越低越好)。TTFT 是首个 token 的生成时间 —— 也就是内容开始显示前的等待时间(越低越好)。Throughput 和 TTFT 是在流式请求上测量的,只有流式请求才有首个 token 的概念。

Throughput
1317tok/s
P50,流式请求
延迟
5.97s
P50,端到端
UTC

Throughput

P9917448 tok/s
P9511074 tok/s
P501317 tok/s

延迟

P507197ms
P7512.2s
P9519.3s
P9921.8s

首字延迟 (TTFT)

P502012ms
P954311ms

缓存命中率

94.82%
在时间窗口内,从 prompt cache 提供的输入 token 占比。

可用性

过去一段时间内成功完成的该模型请求占比 30 天。 调用方取消的请求以及仍在处理中的请求不计入统计。 当上游供应商出错时,网关会自动重试提供同一模型的其他供应商,因此单个供应商的故障不一定会在此处显示。

成功率 (30 天)
92.00%
over 376 completed requests
有流量的天数
27
在过去的 30 天内

天数按 UTC 计算。没有完成请求的天数会被省略,而不是显示为 100% —— 无流量并不代表可用性。

应用

向该模型发送最多流量的公开应用。这是了解真实生产工作负载的好信号 — 也是暗示该模型最适合哪些用例的线索。

  1. 1.Z Code@electron 3.2M tokens

活动

该模型随时间推移的 Token 量和请求流量。每日总计,UTC 时间。

Prompt13.7M
推理749.2K
Completion(不含推理)47.1K

Prompt token 用于衡量输入大小。 推理 token 展示响应前的内部思考过程。它们是输出的一部分,因此补全进度条显示的是其余部分,每天的进度条总计为其总量。

常见问题

什么是 Grok 4.6?
xAI's flagship model for code and everything else: agentic tool calling, minimal hallucinations, configurable reasoning.
Grok 4.6 的价格是多少?
在Oxyy上,Grok 4.6的输入token价格为每百万$0.800,outputtoken价格为每百万$2.40。 这些是应用当前 60% 折扣后的按量付费价格(Launch Promo; standard price $2.00 input and $6.00 output), and 缓存的输入 token 按每百万 $0.200 计费. 按请求付费,无需订阅。
Grok 4.6 的上下文长度是多少?
Grok 4.6 拥有 500,000 个 token 的上下文窗口。
Grok 4.6 支持 tool calling 和 structured outputs 吗?
是的 — Grok 4.6 同时支持工具调用和结构化输出。
Grok 4.6 支持哪些输入和输出?
Grok 4.6 接受 text and images 作为输入并返回 text。
Grok 4.6 使用哪个 API 终端节点?
向 https://api.oxyy.ai/v1/chat/completions 发送带有 "model": "grok-4.6" 的 POST 请求,并使用你的 Oxyy API key 进行身份验证。 It is also served on /v1/responses (Responses API).
Grok 4.6 的知识截止日期是什么时候?
Grok 4.6的训练数据截至February 2026。
Grok 4.6 是什么时候发布的?
Grok 4.6于Aug 12, 2026发布。
xAI 还有哪些其他模型?
xAI 还通过 Oxyy 提供 Grok 4.3, Grok 4.5, Grok 4.7 and Grok Imagine Image。

替代方案: Grok 4.6

其他供应商提供的同类模型,按价格从低到高排序。在 Oxyy 上按需付费,使用相同的 API Key。

探索更多模型

更多来自以下机构的模型 xAI