模型資訊
上下文和輸出長度為模型規格;實際請求限制、可用性與計費取決於 MixRoute 路由。
能力與使用
- 支援文本和影像輸入,輸出文本。
- reasoning.effort 可選 low、medium、high、xhigh、max。推理與函式工具組合使用 Responses API,不要假設 Chat Completions 支援相同組合。
請求示例
呼叫前設定MIXROUTE_API_KEY。
請求欄位
完整請求格式見介面說明。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
OpenAI 面向高難度推理、程式設計和複雜端到端專業任務的模型。
| 欄位 | 說明 |
|---|---|
model | gpt-6-astra |
context | 1,050,000 tokens |
max output | 128K tokens |
endpoint | POST /v1/responses |
MIXROUTE_API_KEY。
curl --request POST "https://api.mixroute.ai/v1/responses" \
--header "Authorization: Bearer $MIXROUTE_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "gpt-6-astra",
"input": "Explain the tradeoffs of database indexes.",
"reasoning": {
"effort": "low"
},
"max_output_tokens": 1024,
"store": false
}'
| 欄位 | 說明 |
|---|---|
model | 必填,使用上方完整模型 ID。 |
input | 必填,文本或 Responses 輸入條目。 |
reasoning.effort | 推理強度,取值見上方模型說明。 |
max_output_tokens | 生成輸出預算,包含推理 token。 |
store | 是否儲存響應;本示例關閉儲存。 |