Home/Models/xAI/Grok 3 Reasoner
X

Grok 3 Reasoner

輸入:$2.4/M
輸出:$12/M
Grok-3 推理模型,具备链式思维,埃隆·马斯克的 R1 竞品。该模型支持的最大上下文长度为 100,000 个 token。
新
商用
概览
功能亮点
定价
API
版本

Technical Specifications of grok-3-rea

SpecificationDetails
Model IDgrok-3-rea
Model TypeReasoning large language model
Context Length100,000 tokens
Primary StrengthMulti-step reasoning and chain-of-thought style problem solving
PositioningGrok-3 reasoning model, positioned as Elon Musk's competitor to R1
Input ModalitiesText
Output ModalitiesText

What is grok-3-rea?

grok-3-rea is a reasoning-focused language model available through CometAPI. It is designed for tasks that benefit from deliberate, multi-step inference, including analytical Q&A, structured problem solving, coding assistance, logic-heavy workflows, and long-context text analysis.

This model is described as a Grok-3 reasoning model with chain-of-thought capabilities and supports up to 100,000 tokens of context. That makes it suitable for use cases where applications need to send large documents, long conversations, or complex instructions while still preserving room for detailed outputs.

For developers, grok-3-rea can be a strong fit when the goal is not just fluent generation, but better performance on tasks that require intermediate reasoning, decomposition of problems, and coherent handling of extended inputs.

Main features of grok-3-rea

  • Reasoning-oriented design: Built for tasks that require step-by-step analysis, deeper inference, and structured problem solving rather than only short-form text generation.
  • Chain-of-thought capability: Well suited for prompts involving logic, planning, mathematical reasoning, coding workflows, and multi-stage decision tasks.
  • 100,000-token context window: Supports large prompt payloads such as long reports, technical documentation, knowledge bases, or extended chat history.
  • Long-context application support: Useful for summarization, retrieval-augmented generation pipelines, document comparison, and instruction-heavy enterprise workflows.
  • Developer-friendly API access: Accessible through CometAPI using a consistent OpenAI-compatible API pattern that simplifies integration into existing applications.
  • Versatile text use cases: Can be applied to research assistance, coding help, agentic workflows, content drafting, analysis, and question answering across many domains.

How to access and integrate grok-3-rea

Step 1: Sign Up for API Key

To use grok-3-rea, first create an account on CometAPI and generate your API key from the dashboard. After you have the key, store it securely as an environment variable so your application can authenticate requests safely.

Step 2: Send Requests to grok-3-rea API

Use CometAPI's OpenAI-compatible endpoint and specify grok-3-rea as the model. Example:

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "model": "grok-3-rea",
    "messages": [
      {
        "role": "user",
        "content": "Explain the main advantages of long-context reasoning models."
      }
    ]
  }'

You can also call the same model from Python:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_COMETAPI_API_KEY",
    base_url="https://api.cometapi.com/v1"
)

response = client.chat.completions.create(
    model="grok-3-rea",
    messages=[
        {"role": "user", "content": "Explain the main advantages of long-context reasoning models."}
    ]
)

print(response.choices[0].message.content)

Step 3: Retrieve and Verify Results

After sending a request, parse the returned response object and extract the generated message from the first choice. Then validate the output quality for your use case, especially for reasoning-heavy tasks, long-document analysis, or production workflows where consistency and correctness matter.

Grok 3 Reasoner 的功能

了解 Grok 3 Reasoner 的核心能力,帮助提升性能与可用性,并改善整体体验。

Grok 3 Reasoner 的定价

查看 Grok 3 Reasoner 的竞争性定价,满足不同预算与使用需求,灵活方案确保随需求扩展。
Comet 价格 (USD / M Tokens)官方定价 (USD / M Tokens)折扣
輸入:$2.4/M
輸出:$12/M
輸入:$3/M
輸出:$15/M
-20%

Grok 3 Reasoner 的示例代码与 API

获取完整示例代码与 API 资源,简化 Grok 3 Reasoner 的集成流程,我们提供逐步指导,助你发挥模型潜能。

Grok 3 Reasoner 的版本

Grok 3 Reasoner 可能存在多个快照,原因包括:更新后保持一致性需要保留旧版、给开发者留出迁移窗口,以及全球/区域端点提供的优化差异。具体差异请参考官方文档。
version
grok-3-reasoner
grok-3-reasoning

更多模型