> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixroute.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT 6 Astra

> OpenAI 面向高難度推理、程式設計和複雜端到端專業任務的模型。

OpenAI 面向高難度推理、程式設計和複雜端到端專業任務的模型。

## 模型資訊

| 欄位           | 說明                 |
| ------------ | ------------------ |
| `model`      | gpt-6-astra        |
| `context`    | 1,050,000 tokens   |
| `max output` | 128K tokens        |
| `endpoint`   | POST /v1/responses |

上下文和輸出長度為模型規格；實際請求限制、可用性與計費取決於 MixRoute 路由。

## 能力與使用

* 支援文本和影像輸入，輸出文本。
* reasoning.effort 可選 low、medium、high、xhigh、max。推理與函式工具組合使用 Responses API，不要假設 Chat Completions 支援相同組合。

## 請求示例

呼叫前設定 `MIXROUTE_API_KEY`。

```bash theme={null}
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`             | 是否儲存響應；本示例關閉儲存。        |

完整請求格式見[介面說明](/zh-hant/api-reference/endpoint/responses-openai)。
