VARIANT · xAI / Grok

grok-4.20-0309-non-reasoning API

xAI / Grok

透過 RunAPI 使用 Grok 系列的 grok-4.20-0309-non-reasoning。按次計費,無訂閱費,失敗的生成不收費。

可直接上線 · text · 可商用
runapi.ai
# Base URL
https://runapi.ai

# Endpoints
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages
curl https://runapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-4.20-0309-non-reasoning",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "審查這份上線計畫,找出風險最高的三項假設,並為每一項提出精簡的緩解措施。"
    }
  ]
}'
from openai import OpenAI

client = OpenAI(
    base_url="https://runapi.ai/v1",
    api_key="your-runapi-key"
)

response = client.chat.completions.create(
    model="grok-4.20-0309-non-reasoning",
    messages=[{"role": "user", "content": "審查這份上線計畫,找出風險最高的三項假設,並為每一項提出精簡的緩解措施。"}]
)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://runapi.ai/v1",
  apiKey: "your-runapi-key"
});

const response = await client.chat.completions.create({
  model: "grok-4.20-0309-non-reasoning",
  messages: [{ role: "user", content: "審查這份上線計畫,找出風險最高的三項假設,並為每一項提出精簡的緩解措施。" }]
});
https://runapi.ai 3 endpoints
切換 variant
grok-4.3 grok-4.5 grok-4.6
OVERVIEW

grok-4.20-0309-non-reasoning 在 Grok 系列中,兼顧品質與成本的最佳平衡。

  • 以美元按次計費
  • 生成失敗不收費
  • 模型支援時可串流輸出
  • Model skill setup
PRICING

價格

失敗的生成不收費
Responses API
Input $0.63-$1.26 / 1M tokens
Output $1.25-$2.50 / 1M tokens
Prompt < 200,001 · Input $0.63
Prompt < 200,001 · Cached input $0.11
Prompt < 200,001 · Output $1.25
Prompt >= 200,001 · Input $1.26
Prompt >= 200,001 · Cached input $0.21
Prompt >= 200,001 · Output $2.50
Messages API
Input $0.63-$1.26 / 1M tokens
Output $1.25-$2.50 / 1M tokens
Prompt < 200,001 · Input $0.63
Prompt < 200,001 · Cached input $0.11
Prompt < 200,001 · Output $1.25
Prompt >= 200,001 · Input $1.26
Prompt >= 200,001 · Cached input $0.21
Prompt >= 200,001 · Output $2.50
Chat completion
Input $1.20-$2.40 / 1M tokens
Output $2.50-$5.00 / 1M tokens
Prompt < 200,001 · Input $1.20
Prompt < 200,001 · Cached input $0.20
Prompt < 200,001 · Output $2.50
Prompt >= 200,001 · Input $2.40
Prompt >= 200,001 · Cached input $0.39
Prompt >= 200,001 · Output $5.00
規格表

技術細節

Model ID grok-4.20-0309-non-reasoning
供應商 xAI
模態 text
任務類型 synchronous
計費單位 1K tokens
API endpoint /v1/chat/completions
/v1/responses
/v1/messages
商用授權 是 — 已透過 API 包含
目錄狀態 可直接上線
SKILLS

快速開始 — grok-4.20-0309-non-reasoning

相同格式 · variant 固定在 model 中

Endpoint Protocol
/v1/chat/completions OpenAI compatible
/v1/responses OpenAI Responses
/v1/messages Anthropic compatible
運作方式

四步驟使用 grok-4.20-0309-non-reasoning

01

安裝

安裝此 model line 的 model skill。

02

設定

將 model 欄位設定為此頁面顯示的完整 model ID。

03

呼叫

使用您的 prompt、inputs 和 callback 設定送出型別化請求。

04

接收

讀取 RunAPI 的 task 回應、webhook callback 或快取輸出 URL。

DIFFERENCES

grok-4.20-0309-non-reasoning 有什麼不同

VS GROK-4.3

grok-4.20-0309-non-reasoning

透過 Responses 提供快速推理、工具呼叫與結構化輸出的 Grok

VS GROK-4.5

grok-4.20-0309-non-reasoning

最新 Grok;面向對話、程式設計與智慧代理工具,降低幻覺風險

VS GROK-4.6

grok-4.20-0309-non-reasoning

Responses 專用 Grok;支援 xhigh 推理、圖片理解、函式呼叫與結構化輸出

使用情境

最適合

客服支援

從私有知識庫回答顧客問題,減少工單量。

文件分析

起草合約摘要,並標示關鍵條款供律師審閱。

程式碼生成

在 CI 中自動產生單元測試、程式碼審查與重構建議。

FAQ

關於 grok-4.20-0309-non-reasoning 的常見問題

如何選擇 grok-4.20-0309-non-reasoning?

傳入 quickstart 顯示的 model ID。

這個 variant 的速率限制是多少?

每個金鑰的速率限制會依使用方案而調整。請查看定價頁面以了解目前限制。

之後可以切換 variant 嗎?

可以——variant 只是旗標。只要變更 model 參數即可切換。

它支援串流嗎?

只要支援串流,RunAPI 就會端到端串流。

我該在哪裡回報品質問題?

請在公開 GitHub repo 提交 issue,或寄信給支援。

立即開始

開始使用 Grok 進行開發。