# GPT-6.1 Sol · API guide

Use the exact API model ID `gpt-6.1-sol`. This guide describes the platform contract; check the live catalog before calling the model.

## Request example

The platform origin is filled in at build time. Set API_KEY to your server-side key before running.

```bash
curl "https://astralgames.ai/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_KEY" \
  --data '{
  "model": "gpt-6.1-sol",
  "messages": [
    {
      "role": "user",
      "content": "Explain how an HTTP request works in three concise steps."
    }
  ],
  "max_completion_tokens": 1024,
  "stream": false
}'
```

## Protocol and response

Platform route limits come from `/v1/models` and may be lower than the official model specifications. The current platform catalog does not declare streaming, tools, reasoning, or structured output support; do not enable these features by default.

This model uses the openai protocol. Read its native response and usage fields; do not wrap the request in the media task input envelope.

Supported endpoint templates：

- `POST /v1/chat/completions`
- `POST /v1/responses`

| Limit | Catalog value |
| --- | --- |
| Context tokens | 128000 |
| Maximum output tokens | 16384 |

For streaming, use the native protocol streaming option and parse its events; check supported capabilities in the live catalog.

<!-- official-reference:start -->
## Official sources and identity

Checked: 2026-09-30 · Platform model: `gpt-6.1-sol` · Official reference: `gpt-6.1-sol`

- [gpt-6.1-sol official reference](https://developers.openai.com/api/docs/models/gpt-6.1-sol)
- [OpenAI Responses / Chat Completions](https://developers.openai.com/api/docs/guides/migrate-to-responses)
- [OpenAI streaming](https://developers.openai.com/api/docs/guides/streaming-responses)
<!-- official-reference:end -->

## Pricing and troubleshooting

Check current availability, contract and account pricing before integration. Keep request IDs and usage receipts when diagnosing errors. [Complete API reference](/docs/api)
