Olava API
OpenAI-compatible chat completions with metered billing and a hard monthly spend cap.
Olava offers an OpenAI-compatible chat completions API. You pay only for the tokens you use, with a hard monthly spend cap you control from the console.
What you get
- OpenAI-compatible chat completions at
POST /v1/chat/completions, streaming and non-streaming. Existing OpenAI SDK code works by changing the base URL. - Pure metered pricing — pay per input/output token; no flat fee, no minimum commit.
- A hard monthly spend cap enforced on every request. Service stops the moment your cap is reached; you will never be billed past it within rounding precision.
- A free credit grant at signup that burns down before paid spend.
- A console at
console.olava.devfor managing API keys, viewing usage, editing your cap, and managing billing.
Start here
- Get an API key — sign up, finish onboarding, mint your first key.
- Make your first call — curl, Python, and Node examples, streaming and non-streaming.
Concepts
- Authentication — using your API key.
- Rate limits — request rate and how to back off correctly.
- Spend cap — how the cap is enforced and how to recover when you hit it.
- Billing — pricing, free credit, invoices, and failed-payment recovery.
- Errors — every error this API emits and what to do about each one.
API reference
Account management (API keys, usage, billing, onboarding) happens in the
console UI at console.olava.dev.
Base URL
https://api.olava.dev
All public endpoints are versioned under /v1.