# GPT-6 Sol API

> The GPT-6 model for complex coding and agentic workflows. By OpenAI, on Revana at $0.46 in / $2.30 out per 1M tokens.

- Model id: `gpt-6-sol`
- Kind: text (chat completions)
- Maker: OpenAI
- Endpoint: `POST https://api.revana.si/v1/chat/completions` (OpenAI-compatible, streaming supported)
- Context window: 1.05M tokens
- Max output: 128K tokens
- Routes: 1
- Page: https://revana.si/llm/gpt-6-sol

## Price (USD per million tokens)

| Tokens | Price | Prompt over 272K |
|---|---|---|
| Input | $0.46 | $0.92 |
| Cached input | $0.046 | $0.092 |
| Cache write (5 min) | $0.575 | $1.15 |
| Cache write (1 hour) | $0.92 | $1.84 |
| Output | $2.30 | $3.45 |

A request whose prompt is over 272K tokens is billed at $0.92 input and $3.45 output per million tokens.
Reasoning tokens are billed as output. Each answer's `usage.cost_usd` is the amount taken from your balance; a request with no answer costs nothing.

## Request

```bash
curl https://api.revana.si/v1/chat/completions \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6-sol","messages":[{"role":"user","content":"Write a haiku about routing."}]}'
```

Or any OpenAI SDK with `base_url="https://api.revana.si/v1"`. Docs: https://revana.si/chat

