Grok Conversation API Promotional Short Article

The Grok series is suitable for applications requiring conversation, reasoning, and information retrieval. The platform provides the Grok Chat Completion API. See the API documentation for the tool, context, and structured output support available for different models.

Supported Models

The models currently listed in the Grok API are grok-4.7, grok-4.5, grok-4, and grok-3.

Call Example

curl -X POST 'https://api.acedata.cloud/grok/chat/completions' \
  -H 'authorization: Bearer {YOUR_TOKEN}' \
  -H 'content-type: application/json' \
  -d '{
    "model": "grok-4.7",
    "messages": [
      {"role": "user", "content": "请把下面的发布说明浓缩成三个要点:新版本支持导出摘要,并更新了搜索页面。"}
    ]
  }'

For streaming responses, tool calls, or web searches, first check the fields supported by the selected model. When real-time results are needed, explicitly enable a supported retrieval capability and verify the sources.

Use Cases

  • News summaries · Provide verifiable source material, or use a retrieval tool explicitly supported by the selected model.
  • Long-document analysis · Split files according to the selected model's context limit, then have the model summarize them.
  • Migrating existing applications · Verify whether tool declarations, streaming events, and structured results meet the caller's needs.