Skip to main content

Quickstart

Four steps from a new account to your first response, all from the dashboard. No need to contact us.

Create an account

Open the sign-up page and choose Continue with Google. Only personal Gmail accounts (@gmail.com) are accepted; your account is created on the first sign-in and the dashboard is available right away.

Top up your balance

On the Wallet page of the dashboard, create a USDT deposit address and send funds to it. Every deposit is reviewed by an admin, so your balance increases once it is approved, not instantly.

402
Without enough balance, requests are rejected before they run and you are not charged.

Create an API key

On the API keys page, create a new key. Keys start with sk- and are shown only once, so store yours somewhere safe right away. Keep it in an environment variable rather than in your code:

Terminal

export API_KEY="sk-..."

Send your first request

This example calls POST /v1/chat/completions in the OpenAI format. Replace the model with any model ID from the Models & Pricing page.

curl https://octalabs.id/v1/chat/completions \  -H "Authorization: Bearer $API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "abliterated-large",    "max_tokens": 256,    "messages": [      {"role": "user", "content": "Hi! Explain what an API is in one sentence."}    ]  }'

The response contains the model’s answer and a usage object. The cost of the request appears on the Usage page of the dashboard, and the x-billing-request-id response header matches the row there.

Use it from your agent tools

Coding agents read the same environment variables as the official SDKs. Point the tool at OctaLabs and keep your existing workflow.

ToolFormatBase URL
Claude CodeAnthropichttps://octalabs.id
CodexOpenAIhttps://octalabs.id/v1
OpenCodeOpenAIhttps://octalabs.id/v1
PiOpenAIhttps://octalabs.id/v1
HermesOpenAIhttps://octalabs.id/v1
OpenClawOpenAIhttps://octalabs.id/v1

Env

# Environment variables the official SDKs read automaticallyexport OPENAI_BASE_URL="https://octalabs.id/v1"export ANTHROPIC_BASE_URL="https://octalabs.id"export OPENAI_API_KEY="$API_KEY"export ANTHROPIC_API_KEY="$API_KEY"

Start with any balance,
however small.

Create a free accountSign in AI API · pay as you go