
grok-4.6Grok 4.6 是 xAI 的旗舰模型,这一代专门冲着【长跑 Agent】和多步骤工作去的 —— 研究一个主题、在代码库里连续改动、把一个想法做成可交付的成品,都能跨很多轮撑下来,过程中还会自己回头验证。Artificial Analysis 智能指数 61,与 GPT-5.6 Sol 持平,并在各项公开评测上全面超过 4.5。500K 上下文,支持文本与图片输入,四档推理强度(low / medium / high 默认 / xhigh)。定价输入 $1.765 / 输出 $5.294 每百万 token,比 xAI 官方($2 / $6)低 12%,缓存输入 $0.441。走 OpenAI 兼容的 /v1/chat/completions;/v1/responses 也可用,而且联网检索只在那条上跑得起来。失败不扣费。⚠️ 两点要知道:默认推理档是 high,实测约 53 秒,客户端超时请设 60 秒以上;计费的输出 token 含推理 token,所以账单可能高于你看到的可见回答,不需要深推理时把 reasoning_effort 调低。
$1.765 input / $5.294 output per 1M against official $2.00 / $6.00, with cached input at $0.441. Same model, same weights — the difference is what we pay for volume, not a lesser tier
The 4.6 release targets tasks that span many steps — researching a topic, working across a codebase, turning an idea into a finished artifact — with more self-checking along the way. 500K-token context
low / medium / high / xhigh via reasoning_effort. Measured on our channel: 464 / 1,720 / 2,663 / 3,341 reasoning tokens on the same prompt. Unlike GPT-5.6, xhigh really is the deepest tier here
12/12 correct across 12 concurrent calls using a nested schema with enums and arrays — arguments parsed cleanly with no cross-request mixing. Streaming, multi-turn and parallel tool calls all pass
Cached input bills at $0.441 instead of $1.765. We send a per-conversation routing key so repeat turns keep landing on a warm server — without it, cache hits drop back to cold on roughly every other repeat
The default reasoning_effort is high, which runs about 53 seconds — set a client timeout above 60s. And billed output includes reasoning tokens, so your bill can exceed the visible answer; lower the effort when you do not need the depth
View complete API reference with all parameters and examples.
View complete API reference with streaming, thinking, and more.
Billing: Cost = (input_tokens * input_price + output_tokens * output_price) / 1,000,000
Grok 4.6 是由 xAI 提供的大语言模型 API。Grok 4.6 是 xAI 的旗舰模型,这一代专门冲着【长跑 Agent】和多步骤工作去的 —— 研究一个主题、在代码库里连续改动、把一个想法做成可交付的成品,都能跨很多轮撑下来,过程中还会自己回头验证。Artificial Analysis 智能指数 61,与 GPT-5.6 Sol 持平,并在各项公开评测上全面超过 4.5。500K 上下文,支持文本与图片输入,四档推理强度(low / medium / high 默认 / xhigh)。定价输入 $1.765 / 输出 $5.294 每百万 token,比 xAI 官方($2 / $6)低 12%,缓存输入 $0.441。走 OpenAI 兼容的 /v1/chat/completions;/v1/responses 也可用,而且联网检索只在那条上跑得起来。失败不扣费。⚠️ 两点要知道:默认推理档是 high,实测约 53 秒,客户端超时请设 60 秒以上;计费的输出 token 含推理 token,所以账单可能高于你看到的可见回答,不需要深推理时把 reasoning_effort 调低。 通过 APIMODELS 平台,您可以使用统一的 API 接口调用该模型,按量计费、价格透明。当前定价:Input: $1.765, Output: $5.294 per 1M tokens。
构建智能对话系统,自动回答用户问题,提升客户服务效率。
自动撰写文章、邮件、广告文案等文本内容,提高内容产出效率。
辅助代码编写、调试和代码审查,加速软件开发流程。
理解和分析非结构化数据,提取关键信息并生成报告摘要。
Grok 4.6 通过 APIMODELS 平台调用,当前定价:Input: $1.765, Output: $5.294 per 1M tokens。按量计费,用多少付多少。
在 APIMODELS 注册账号并获取 API Key,然后通过我们的统一 API 端点调用即可。我们提供详细的 API 文档和 cURL、Python、Node.js 代码示例。
APIMODELS 通过聚合平台提供与官方相同的 Grok 4.6 模型。我们提供统一的 API 接口,无需分别注册各平台账号,一个 API Key 即可调用所有模型。
输入 $1.765 / 输出 $5.294 每百万 token,缓存输入 $0.441。xAI 官方是 $2 / $6,所以两头都便宜 12%。按量付费,没有起充门槛也没有订阅,失败请求不扣费。同族的 Grok 4.5 是 $1.5 / $5,更便宜但能力低一档。
POST https://apimodels.app/api/v1/chat/completions,带 Authorization: Bearer YOUR_API_KEY,body 是 {"model":"grok-4.6","messages":[{"role":"user","content":"..."}]}。就是标准 OpenAI 格式 —— 把 openai-python / openai-node 的 base_url 指到 https://apimodels.app/api/v1 就能直接用,Cursor、Cline、Codex 这类客户端同理。流式加 stream:true。另外 /v1/responses 也支持。
4.6 这一代是冲着长跑 Agent 去的:跨很多步骤的任务(连续改代码库、把想法做成成品)更稳,过程中会自己回头验证。Artificial Analysis 智能指数 61,与 GPT-5.6 Sol 持平,各项公开评测全面超过 4.5(56)。预算优先、任务较短就用 Grok 4.5($1.5 / $5);要长任务的稳定性用 4.6。两者同一个端点,换档只改 model 一个字段。
支持,而且我们压过测:非流式、多轮回传工具结果、流式、一轮并行多工具,各 5/5;再用 12 路并发跑带嵌套对象 + 枚举 + 数组的 schema,12/12 全对,参数 JSON 干净可解析、请求之间没有串号。Grok 上游历史上出现过"时好时坏"的混池问题,这条渠道没有复现。
low / medium / high / xhigh 四档,默认 high。同一道题实测推理 token 分别是 464 / 1720 / 2663 / 3341,单调递增 —— 注意跟 GPT-5.6 不一样,**grok-4.6 的 xhigh 确实是最深的一档**。默认档实测约 53 秒,所以客户端超时请设 60 秒以上,别用默认的 30 秒。
因为计费的输出 token **包含推理 token**。极端情况实测过:模型只回一个数字(可见输出 1 个 token),但推理花了 1052 个,账单按 1053 算。这不是多收 —— 上游正是按这个口径向我们收费,我们只是如实传递。不需要深度推理时把 reasoning_effort 调低,成本立刻下来。
图片输入支持,实测能准确读出图片里的文字。联网检索要走 **/v1/responses** 端点(带 tools:[{"type":"web_search"}]),那条路上是真跑的,返回里带 web_search_call 和真实引用 URL;在 /v1/chat/completions 上传 search_parameters 目前不起作用,模型会把工具调用当成普通文本吐出来,别在那条路上依赖它。
500K token 上下文。国内可直连,不需要 xAI 账号、不需要科学上网,一把 API Key 同时还能调我们平台上其它所有模型。长对话会自动命中提示词缓存,缓存部分按 $0.441 计价而不是 $1.765,我们还会为每段对话保持路由粘性,让重复轮次继续落在缓存热的服务器上。
在 APIMODELS,Grok 4.6 与 60+ 个模型共用一个 API Key、一个余额,所以选型只看合不合适,不存在锁定。它支持 Frontier、Long-Running Agents、Tool Calling、500K Context、Vision,你可以在价格和能力上把它和其它大语言模型模型对比,换模型只需改一个模型名字符串——无需新账号、无需重新对接。所有大语言模型模型与实时价格见 apimodels.app/models。
Grok 4.6 支持:Frontier、Long-Running Agents、Tool Calling、500K Context、Vision。完整参数与调用方式见 APIMODELS 的 API 文档。
可以。APIMODELS 提供可直接访问的统一 API,一个 API Key 即可调用 Grok 4.6,无需分别注册官方账号、也无需自行处理官方接口的网络访问。
我们支持 Stripe(Visa、Mastercard 等国际信用卡)和支付宝付款。充值后积分即时到账。