gpt-5.6-luna API
OpenAI / GPT
透過 RunAPI 使用 GPT 系列的 gpt-5.6-luna。按次收費,無需訂閱,失敗的生成不扣費。
可正常運作
·
text
·
可商用
# Base URL
https://runapi.ai
# Endpoints
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages
POST /v1beta/models/gpt-5.6-luna:generateContent
POST /v1beta/models/gpt-5.6-luna:streamGenerateContent
curl https://runapi.ai/v1/chat/completions \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-luna",
"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.6-luna",
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.6-luna",
messages: [{ role: "user", content: "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations." }]
});
切換 variant
OVERVIEW
gpt-5.6-luna 針對 GPT 系列中品質與成本的最佳平衡點。
- 按次收費,美元計價
- 生成失敗不收費
- 如模型支援,提供串流輸出
- Model skill setup
PRICING
收費
失敗的生成不會收費
Chat completion
Input
$0.50-$1.00
/ 1M tokens
Output
$3.00-$4.50
/ 1M tokens
Prompt < 272K · Input
$0.50
Prompt < 272K · Cached input
$0.05
Prompt < 272K · Cache write 5m
$0.63
Prompt < 272K · Output
$3.00
Prompt >= 272K · Input
$1.00
Prompt >= 272K · Cached input
$0.10
Prompt >= 272K · Cache write 5m
$1.25
Prompt >= 272K · Output
$4.50
Responses API
Input
$0.50-$1.00
/ 1M tokens
Output
$3.00-$4.50
/ 1M tokens
Prompt < 272K · Input
$0.50
Prompt < 272K · Cached input
$0.05
Prompt < 272K · Cache write 5m
$0.63
Prompt < 272K · Output
$3.00
Prompt >= 272K · Input
$1.00
Prompt >= 272K · Cached input
$0.10
Prompt >= 272K · Cache write 5m
$1.25
Prompt >= 272K · Output
$4.50
規格說明
技術詳情
| 模型 ID | gpt-5.6-luna |
| 供應商 | OpenAI |
| 模式 | text |
| 任務類型 | synchronous |
| 計費單位 | 1K tokens |
| API endpoint | /v1/chat/completions |
| /v1/responses | |
| /v1/messages | |
| /v1beta/models/gpt-5.6-luna:generateContent | |
| /v1beta/models/gpt-5.6-luna:streamGenerateContent | |
| 商業授權 | 是 — 已透過 API 包含 |
| 目錄狀態 | 可正常運作 |
SKILLS
快速開始 — gpt-5.6-luna
結構一致 · variant 已固定於 model 中
| Endpoint | Protocol |
|---|---|
| /v1/chat/completions | OpenAI compatible |
| /v1/responses | OpenAI Responses |
| /v1/messages | Anthropic compatible |
| /v1beta/models/gpt-5.6-luna:generateContent | Gemini generateContent |
| /v1beta/models/gpt-5.6-luna:streamGenerateContent | Gemini streamGenerateContent |
運作方式
四步使用 gpt-5.6-luna
01
安裝
為此模型系列安裝 model skill。
02
設定
將 model 欄位設為本頁顯示的完整 model ID。
03
呼叫
連同 prompt、inputs 及 callback 設定,送出一個 typed request。
04
接收
從 RunAPI 讀取 task response、webhook callback 或 cached output URL。
DIFFERENCES
gpt-5.6-luna 有咩不同
VS CODEX-AUTO-REVIEW
Fastest, lightest GPT-5.6 tier for summaries, drafts, and everyday automation
codex-auto-review
VS GPT-5.2
Fastest, lightest GPT-5.6 tier for summaries, drafts, and everyday automation
Professional knowledge work; Thinking mode for deep tasks
VS GPT-5.2-PRO
Fastest, lightest GPT-5.6 tier for summaries, drafts, and everyday automation
gpt-5.2-pro
使用場景
最適合
客戶支援
從私有知識庫回答客戶問題,減少工單數量。
文件分析
草擬合約摘要,並標示重點條款供律師審閱。
程式碼生成
在 CI 自動生成單元測試、程式碼審查同重構建議。
FAQ
關於 gpt-5.6-luna 的常見問題
模型 ID 會否在不同版本之間保持穩定?
RunAPI 會保持 model ID 穩定,並處理相容的版本更新,而不需要改動你的 request 格式。
這個 variant 的 rate limit 係多少?
每個 key 的 rate limit 會按使用層級而定。請查看定價頁了解最新限制。
之後可以切換 variant 嗎?
可以——variant 只係一個旗標。只要更改 model 參數就可以切換。
支援 streaming 嗎?
在可用 streaming 的情況下,RunAPI 會端到端串流。
我應該在邊度回報品質問題?
可以在公開 GitHub repo 開 issue,或者電郵支援團隊。
GPT 的其他 variant
gpt-5.4-nano
最平
5.4-nano
$0.010 / 1K tokens
gpt-5.4-mini
5.4-mini
$0.030 / 1K tokens
gpt-5.2
5.2
$0.070 / 1K tokens
gpt-5.3-codex
5.3-codex
$0.070 / 1K tokens
gpt-5.3-codex-spark
5.3-codex-spark
$0.070 / 1K tokens
gpt-5.4
5.4
$0.120 / 1K tokens
gpt-5.6-terra
5.6-terra
$0.120 / 1K tokens
codex-auto-review
codex-auto-review
$0.150 / 1K tokens
gpt-5.5
5.5
$0.230 / 1K tokens
gpt-5.6-sol
5.6-sol
$0.230 / 1K tokens
gpt-5.2-pro
高質
5.2-pro
$0.840 / 1K tokens
gpt-5.4-pro
高質
5.4-pro
$1.35 / 1K tokens
gpt-5.5-pro
高質
5.5-pro
$1.35 / 1K tokens
其他模型的替代方案
立即開始