Docs

Quickstart

Get an API key and make your first request. Aniron is OpenAI-compatible, so if you already have an OpenAI SDK integration, this takes about five minutes.

01 · Create an account

Sign up at app.aniron.ai. No credit card is required to create the account, but you'll need to add prepaid credits before you can make requests — Aniron has no free tier. See Managing Credits for how balances work.

02 · Create an API key

From the dashboard, open API Keys and create a new key. Keys are shown once at creation time — store yours in a secret manager or environment variable, not in source control. See Authentication for key management and rotation.

03 · Make your first request

Aniron implements the OpenAI Chat Completions API shape. Point any OpenAI-compatible client at https://api.aniron.ai/v1 and prefix the model name with aniron/.

bash
curl https://api.aniron.ai/v1/chat/completions \
  -H "Authorization: Bearer $ANIRON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "aniron/llama-3.1-70b",
    "messages": [
      { "role": "user", "content": "Hello!" }
    ]
  }'
JavaScript
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.aniron.ai/v1',
  apiKey: process.env.ANIRON_API_KEY,
});

const completion = await client.chat.completions.create({
  model: 'aniron/llama-3.1-70b',
  messages: [{ role: 'user', content: 'Hello!' }],
});

console.log(completion.choices[0].message.content);
Python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aniron.ai/v1",
    api_key=os.environ["ANIRON_API_KEY"],
)

completion = client.chat.completions.create(
    model="aniron/llama-3.1-70b",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(completion.choices[0].message.content)

04 · Next steps

Read Making your first request for a field-by-field explanation of the request and response, or jump straight to the Chat Completions reference.

Ready to build?

Create an account and get an API key in under a minute.