grok-4-0709Compare grok-4-0709 API pricing, supported endpoints, capabilities and access options on Modelsell.
Grok tokenizer (BPE)Scores on standardized evaluations. Higher percentages are better — and rank percentile shows
Metrics sourced fromArtificial Analysis 2026-09-30·Grok 4 0709
This model is not included in the current benchmark snapshot.
Missing models or measurements are not zero scores.
Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.
Grok 4 可以分析多步条件、解释数学关系并协助设计代码。面对一道算法题,可以让它先识别输入规模与限制,比较不同方法的复杂度,再给出实现;面对工程决策,则可以把需求和约束交给它,检查方案中尚未成立的假设。
例如批量匹配订单与退款记录时,先说明匹配键、重复记录的处理规则和允许的时间差,让模型比较逐条扫描、哈希索引及排序匹配。要求它给出各方法适合的数据条件,能够帮助你看清为什么某种写法在小样本可用,数据量增大后却变慢。
项目说明、业务文档和错误日志可以一起提供,让它提取需要满足的条件,找出矛盾和缺失信息,再形成步骤清楚的处理方案。处理长材料时,为每份内容注明用途,并明确最终需要代码、对照表还是决策建议,方便围绕同一个目标深入分析。
生成代码后,可以继续要求补充边界情况、测试数据和失败处理。数学问题应检查单位与前提,工程问题应比较正常输入、异常输入和历史失败案例。模型也可以参与工具调用流程;应用提供检索或代码执行工具后,再依据返回结果继续修正方案。
如需复现历史结果,保留固定输入、参数和测试样本,在正式替换前比较关键任务的实际表现。
可以这样比较匹配算法:
“订单和退款各有十万行。订单可能重复,退款可能分多次发生。请先列出实现正确匹配还缺少哪些规则,再比较哈希索引与排序扫描的时间、空间复杂度。确认规则后给出 Python 草案,并提供重复键、无匹配及多次退款的测试。”
先补齐它提出的规则问题,再让它实现。拿一小批真实数据核对匹配结果,检查重复记录、缺失值与时间边界,再扩大处理规模;以规则满足情况和测试结果判断方案是否可用。
/v1/chat/completions| Parameter | Type | Default / range | Description |
|---|---|---|---|
temperature | number | = 10 ~ 2 | Sampling temperature; lower is more deterministic |
top_p | number | = 10 ~ 1 | Nucleus sampling probability mass |
max_tokens | integer | >= 1 | Maximum number of tokens in the response |
frequency_penalty | number | = 0-2 ~ 2 | Penalises repetition of frequent tokens |
presence_penalty | number | = 0-2 ~ 2 | Encourages introducing new topics |
stop | array | — | Up to 4 strings that stop generation |
seed | integer | — | Deterministic sampling seed (best-effort) |
n | integer | = 1>= 1 | Number of completions to generate |
stream | boolean | = false | Stream tokens via Server-Sent Events |
response_format | object | — | Force JSON object or schema-conforming output |
tools | array | — | Tool / function declarations the model may call |
tool_choice | string | autononerequired | Tool-choice policy or specific tool name |
logprobs | boolean | = false | Return per-token log probabilities |
top_logprobs | integer | 0 ~ 20 | Number of top log probabilities returned per token |
logit_bias | object | — | Per-token logit bias map |
user | string | — | End-user identifier for abuse monitoring |
Replace <YOUR_API_KEY> with the API key from your token settings.
All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.
Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.
| Parameter | Type | Default / range | Description |
|---|---|---|---|
temperature | number | = 10 ~ 2 | Sampling temperature; lower is more deterministic |
top_p | number | = 10 ~ 1 | Nucleus sampling probability mass |
max_tokens | integer | >= 1 | Maximum number of tokens in the response |
frequency_penalty | number | = 0-2 ~ 2 | Penalises repetition of frequent tokens |
presence_penalty | number | = 0-2 ~ 2 | Encourages introducing new topics |
stop | array | — | Up to 4 strings that stop generation |
seed | integer | — | Deterministic sampling seed (best-effort) |
n | integer | = 1>= 1 | Number of completions to generate |
stream | boolean | = false | Stream tokens via Server-Sent Events |
response_format | object | — | Force JSON object or schema-conforming output |
tools | array | — | Tool / function declarations the model may call |
tool_choice | string | autononerequired | Tool-choice policy or specific tool name |
logprobs | boolean | = false | Return per-token log probabilities |
top_logprobs | integer | 0 ~ 20 | Number of top log probabilities returned per token |
logit_bias | object | — | Per-token logit bias map |
user | string | — | End-user identifier for abuse monitoring |
| Supplier | RPM | TPM | RPD |
|---|---|---|---|
| xAI | Unlimited | Unlimited | Unlimited |
No restriction
Compare grok-4-0709 API pricing, supported endpoints, capabilities and access options on Modelsell.
Create an API key with access to grok-4-0709, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.
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.
Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.
