Language models/OpenAI/o3-mini
OpenAItext1 route

o3-mini

o3-mini by OpenAI, through an OpenAI-compatible chat completions API.

o3-miniGet API key

Pricing USD per million tokens

TokensPer 1M tokens
Input$1.10
Cached input$0.55
Cache write (5 min)$1.10
Cache write (1 hour)$1.10
Output$4.40

Reasoning tokens are billed as output. Each answer's usage carries cost_usd, the amount taken from your balance; a request with no answer costs $0.00.

Request

curl
curl https://api.revana.si/v1/chat/completions \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"o3-mini","messages":[{"role":"user","content":"Write a haiku about routing."}]}'
Python
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
    model="o3-mini",
    messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)

Any OpenAI SDK works: set the base URL to https://api.revana.si/v1. Streaming, tools and the rest are in the chat completions docs.

Details

Model id
o3-mini
Maker
OpenAI
Endpoint
POST /v1/chat/completions
Context window
128K tokens
Max output
16K tokens
Streaming
Yes (server-sent events)
Routes
1

1 route

One route today. A request that gets no answer is not charged.

About the o3-mini API

How much does the o3-mini API cost?

o3-mini costs $1.10 per million input tokens, $0.55 per million cached input tokens and $4.40 per million output tokens on Revana. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.

How do I call o3-mini from code?

Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "o3-mini". POST /v1/chat/completions takes the OpenAI request body, streamed or not.

What happens if a request fails?

A request that gets no answer costs nothing.

Is o3-mini on Revana the same model?

Yes. Revana passes your request to OpenAI's model unchanged and returns its answer in the OpenAI format, with the usage it reported and what the request cost.

More from OpenAI

Also as markdown for agents. Every language model and price: llms.json.