One key.
Any tool.
Pay per use.
The Atris API speaks the OpenAI protocol. Paste your key into any SDK or agent and every request bills exactly what it used, receipt included.
base_url = https://api.atris.ai/v1Live in three steps
- 01
Create a key
Sign in and mint a key in the developer dashboard. The secret shows once, and every key can carry a monthly spend cap, so a leaked or runaway key stops itself.
- 02
Load credits
Buy credits at atris.ai/credits with a card. One credit is one cent, and credits never expire.
- 03
Call the API
The key is a standard bearer token against
https://api.atris.ai/v1. If a tool speaks OpenAI, it speaks Atris.
curl https://api.atris.ai/v1/chat/completions \
-H "Authorization: Bearer $ATRIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "atris:pro",
"messages": [
{"role": "user", "content": "Say hello."}
]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.atris.ai/v1",
api_key="atris_...",
)
reply = client.chat.completions.create(
model="atris:pro",
messages=[{"role": "user", "content": "Say hello."}],
)Three models, plain names
Use them anywhere a tool asks for a model name. Same key, same meter. These three are the ones to start with; the live catalog, including specialist lanes, is always at GET https://api.atris.ai/v1/models.
atris:fastQuick answers, high volumeCheapest per tokenatris:proThe default for real workStrong reasoning, fair priceatris:maxHardest problemsFrontier modelThe meter is the price
Every request is billed from actual model token usage at Atris rates. One credit is one cent, and each request costs at least one credit.
Cached input bills at the cheaper cache rate, so repeated context costs less. Spend caps and a per-request ceiling mean a runaway loop cannot drain a wallet.
Ask the meter directly
/api/atris2/billing/quotePrice estimate before you spend
/api/atris2/billing/usageBalance, today and per-model spend
/api/atris2/billing/receiptsPer-request receipts with exact tokens
Built to be learned by agents
The whole API fits in one markdown file any model can read. Hand it to an agent with a key and it can price, call, and reconcile its own work.
curl https://atris.ai/developers.mdCommon questions
Updated 2026-08-27
- What is the Atris API?
- The Atris API is an OpenAI-compatible chat completions API at https://api.atris.ai/v1. An Atris API key works as the bearer token in any OpenAI SDK or tool that accepts a custom provider, including agent tools like Devin and Cursor.
- How much does the Atris API cost?
- Atris API usage is metered from actual model token usage. One credit is one cent, every request costs at least one credit, and each request shows its exact token counts on its receipt. Credits are prepaid at atris.ai/credits and keys can carry a monthly spend cap.
- Does the Atris API work with OpenAI SDKs?
- Yes. Set base_url to https://api.atris.ai/v1 and api_key to your Atris key in the official OpenAI Python or JavaScript SDK, or any tool that accepts an OpenAI-compatible provider, and requests bill your Atris credits.
Key, credits, first call. Under a minute.
Get your key