Grok

Grok 3 Mini

xAI按量收費
Alias:grok-3-mini
text
起始價格
輸入 / 輸出 · 1M
上下文
—
最大輸入窗口
模態
→
發佈於
Apr 2025

Pricing by Supplier

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

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

xAI 官方 API

省40%
$0.18$0.3
$0.3006$0.501
$0.045$0.075
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

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

能力 / 支援的模態

串流輸出系統提示詞函數呼叫工具JSON 模式結構化輸出提示詞緩存
輸入
輸出

廠商與數據私隱

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

效能

基準測試

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

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

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

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

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

About Grok 3 Mini

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

查看介紹原文

把推理用在有明确条件的问题上

Grok 3 Mini 是侧重推理的文字模型,适合数学计算、程序设计和需要多步判断的任务。它可以将文字条件转成变量与约束,比较几种解法,再整理出结论和便于检查的说明。例如根据排班限制寻找可行安排、分析算法为什么超时,或把业务规则转成计算逻辑。

这类任务的效果很依赖问题是否完整。人数、单位、取整方式、重复项如何处理等条件,最好在输入中一次说清。涉及专业知识时,把公式、规则或参考材料一同提供,让模型在给定依据上推导,减少用常识补齐关键事实的机会。

怎样检查它的答案?

要求输出必要的计算式、使用的假设和验证方法,而不只是一个数字。对于排班和组合问题,可让它逐条检查是否满足约束;对于代码,可要求给出时间复杂度、空输入及极端输入的处理,再用真实测试确认。遇到有多种解释的题目,先让模型指出歧义,再继续求解。

适合直接回答知识问答吗?

它也能解释概念和整理文字,但更适合需要推导的工作。如果任务依赖最新政策、产品参数或冷门事实,应提供对应资料,避免把推理能力当作事实来源。

复杂问题通常需要更长的思考和输出过程。可以将大任务分成条件整理、求解、校验几个阶段,让每一步都有清楚的输入与验收标准,并给请求留出足够的完成时间。

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]

查看使用指南原文

可以用约束排班检验它的推理过程:

“有 A、B、C 三名员工,周一至周三每天安排两人。A 周二不能上班,B 周三不能上班,每人最多上两天。请判断是否有解;若有,列出排班,并逐条核对出勤限制与每人天数。若无解,说明冲突的约束。”

先检查模型是否准确重述条件,再核对方案。改变某个条件时,明确替换旧条件,并要求重新验证整个结果。用于程序题时,补充输入规模与运行时限制,让它在写代码前选择合适算法,生成后运行测试确认。

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-3-mini

What is grok-3-mini?

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

How do I call grok-3-mini?

Create an API key with access to grok-3-mini, 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-3-mini 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.

How should I evaluate grok-3-mini 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.