gpt-5.3-codex-spark API
OpenAI / GPT
透過 RunAPI 使用 GPT 系列的 gpt-5.3-codex-spark。按次計費,無訂閱費,失敗的生成不收費。
可直接上線
·
text
·
可商用
# Base URL
https://runapi.ai
# Endpoints
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages
POST /v1beta/models/gpt-5.3-codex-spark:generateContent
POST /v1beta/models/gpt-5.3-codex-spark:streamGenerateContent
curl https://runapi.ai/v1/chat/completions \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.3-codex-spark",
"messages": [
{
"role": "user",
"content": "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."
}
]
}'
from openai import OpenAI
client = OpenAI(
base_url="https://runapi.ai/v1",
api_key="your-runapi-key"
)
response = client.chat.completions.create(
model="gpt-5.3-codex-spark",
messages=[{"role": "user", "content": "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."}]
)
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: "gpt-5.3-codex-spark",
messages: [{ role: "user", content: "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations." }]
});
切換 variant
OVERVIEW
gpt-5.3-codex-spark 在 GPT 系列中,兼顧品質與成本的最佳平衡。
- 以美元按次計費
- 生成失敗不收費
- 模型支援時可串流輸出
- Model skill setup
PRICING
價格
失敗的生成不收費
Chat completion
Input
$1.05
/ 1M tokens
Output
$8.40
/ 1M tokens
Responses API
Input
$1.05
/ 1M tokens
Output
$8.40
/ 1M tokens
規格表
技術細節
| Model ID | gpt-5.3-codex-spark |
| 供應商 | OpenAI |
| 模態 | text |
| 任務類型 | synchronous |
| 計費單位 | 1K tokens |
| API endpoint | /v1/chat/completions |
| /v1/responses | |
| /v1/messages | |
| /v1beta/models/gpt-5.3-codex-spark:generateContent | |
| /v1beta/models/gpt-5.3-codex-spark:streamGenerateContent | |
| 商用授權 | 是 — 已透過 API 包含 |
| 目錄狀態 | 可直接上線 |
SKILLS
快速開始 — gpt-5.3-codex-spark
相同格式 · variant 固定在 model 中
| Endpoint | Protocol |
|---|---|
| /v1/chat/completions | OpenAI compatible |
| /v1/responses | OpenAI Responses |
| /v1/messages | Anthropic compatible |
| /v1beta/models/gpt-5.3-codex-spark:generateContent | Gemini generateContent |
| /v1beta/models/gpt-5.3-codex-spark:streamGenerateContent | Gemini streamGenerateContent |
運作方式
四步驟使用 gpt-5.3-codex-spark
01
安裝
安裝此 model line 的 model skill。
02
設定
將 model 欄位設定為此頁面顯示的完整 model ID。
03
呼叫
使用您的 prompt、inputs 和 callback 設定送出型別化請求。
04
接收
讀取 RunAPI 的 task 回應、webhook callback 或快取輸出 URL。
DIFFERENCES
gpt-5.3-codex-spark 有什麼不同
VS CODEX-AUTO-REVIEW
gpt-5.3-codex-spark
codex-auto-review
VS GPT-5.2
gpt-5.3-codex-spark
Professional knowledge work; Thinking mode for deep tasks
VS GPT-5.2-PRO
gpt-5.3-codex-spark
gpt-5.2-pro
使用情境
最適合
客服支援
從私有知識庫回答顧客問題,減少工單量。
文件分析
起草合約摘要,並標示關鍵條款供律師審閱。
程式碼生成
在 CI 中自動產生單元測試、程式碼審查與重構建議。
FAQ
關於 gpt-5.3-codex-spark 的常見問題
如何選擇 gpt-5.3-codex-spark?
傳入 quickstart 顯示的 model ID。
這個 variant 的速率限制是多少?
每個金鑰的速率限制會依使用方案而調整。請查看定價頁面以了解目前限制。
之後可以切換 variant 嗎?
可以——variant 只是旗標。只要變更 model 參數即可切換。
它支援串流嗎?
只要支援串流,RunAPI 就會端到端串流。
我該在哪裡回報品質問題?
請在公開 GitHub repo 提交 issue,或寄信給支援。
GPT 的其他 variant
gpt-5.4-nano
最便宜
5.4-nano
Input $0.10 / 1M tokens | Output $0.63 / 1M tokens
gpt-5.6-luna
5.6-luna
Input $0.20-$0.40 / 1M tokens | Output $1.20-$1.80 / 1M tokens
gpt-5.4-mini
5.4-mini
Input $0.45 / 1M tokens | Output $2.70 / 1M tokens
gpt-5.2
5.2
Input $0.88 / 1M tokens | Output $7.00 / 1M tokens · Input $1.75 / 1M tokens | Output $14.00 / 1M tokens
gpt-5.3-codex
5.3-codex
Input $1.05 / 1M tokens | Output $8.40 / 1M tokens
gpt-5.6-terra
5.6-terra
Input $2.00-$4.00 / 1M tokens | Output $12.00-$18.00 / 1M tokens
codex-auto-review
codex-auto-review
Input $2.50 / 1M tokens | Output $15.00 / 1M tokens
gpt-5.4
5.4
Input $2.50 / 1M tokens | Output $15.00 / 1M tokens
gpt-5.5
5.5
Input $5.00 / 1M tokens | Output $30.00 / 1M tokens
gpt-5.6-sol
5.6-sol
Input $5.00 / 1M tokens | Output $30.00 / 1M tokens
gpt-6-astra
6-astra
Input $5.00-$10.00 / 1M tokens | Output $25.00-$37.50 / 1M tokens
gpt-5.2-pro
品質最佳
5.2-pro
Input $10.50 / 1M tokens | Output $84.00 / 1M tokens
gpt-5.4-pro
品質最佳
5.4-pro
Input $30.00 / 1M tokens | Output $180.00 / 1M tokens
gpt-5.5-pro
品質最佳
5.5-pro
Input $30.00 / 1M tokens | Output $180.00 / 1M tokens
其他模型的替代方案
立即開始