Getting Started

Step 1: Create an Account

First, you'll need to create an account to access the API. Sign up for an account here.

Once you've created an account, you'll need to load it with credits to start using the API.

Step 2: Generate an API Key

Create an API key via the API Keys Page in the Console.

After generating an API key, save it somewhere safe! We recommend you save it to a .env file.

Step 3: Make a request from Python

Our API is fully compatible with the OpenAI SDKs. For example, we can make a request from Python like so:

import os
from openai import OpenAI

ARBS_API_KEY = os.getenv("ARBS_API_KEY")

client = OpenAI(
    api_key=ARBS_API_KEY,
    base_url="https://api.arbs.ai/v1",
)

completion = client.chat.completions.create(
    model="deepseek/deepseek-r1",
    messages=[
        {
            "role": "user",
            "content": "What happens when you reduce the price of artificial intelligence?"
        },
    ],
)

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