# GPT-6 Astra API

> OpenAI's most capable model, built for the hardest end-to-end work. By OpenAI, on Revana at $2.30 in / $11.50 out per 1M tokens.

- Model id: `gpt-6-astra`
- 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-astra

## Price (USD per million tokens)

| Tokens | Price | Prompt over 272K |
|---|---|---|
| Input | $2.30 | $4.60 |
| Cached input | $0.23 | $0.46 |
| Cache write (5 min) | $2.875 | $5.75 |
| Cache write (1 hour) | $4.60 | $9.20 |
| Output | $11.50 | $17.25 |

A request whose prompt is over 272K tokens is billed at $4.60 input and $17.25 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-astra","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

