# GPT-6.2 Astra API

> OpenAI's most capable model for the hardest projects, from start to finish. By OpenAI, on Revana at $1.87 in / $9.32 out per 1M tokens.

- Model id: `gpt-6.2-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.2-astra

## Price (USD per million tokens)

| Tokens | Price | Prompt over 272K |
|---|---|---|
| Input | $1.87 | $3.7266 |
| Cached input | $0.094 | $0.1864 |
| Cache write (5 min) | $2.33 | $4.6583 |
| Cache write (1 hour) | $3.73 | $7.4532 |
| Output | $9.32 | $13.9747 |

A request whose prompt is over 272K tokens is billed at $3.7266 input and $13.9747 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.2-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

