Forge is available: build a website with AI from your RodiumAi account.

Try Forge
RodiumAi docs
Quickstart

Get started with RodiumAi

Three paths: HTTP/cURL, OpenAI SDK (base_url …/v1), or Anthropic SDK (base_url without /v1). Same rd_sk_… key and RODI billing.

Before your first request

  1. 1Create a free account
  2. 2Top up with Mobile Money or use your starter RODI credits
  3. 3Generate an API key in the dashboard
  4. 4Send a chat completion request

API key prefix: rd_sk_YOUR_KEY · env: RODIUMAI_API_KEY

Using the OpenAI SDK

Configure OpenAI clients with https://api.rodiumai.io/v1 as base_url / baseURL and set RODIUMAI_API_KEY. Then call chat.completions.create exactly like OpenAI.

Install OpenAI package

…

First completion

…

Using the Anthropic SDK

Point the Anthropic SDK at https://api.rodiumai.io (no /v1, the SDK adds /v1/messages). Use the same rd_sk_… key via api_key / x-api-key. Claude models only in the MVP.

Install Anthropic package

…

First message

…

Anthropic Messages guide →

Using the Laravel SDK

Install rodiumai/laravel-sdk from Packagist. Configure RODIUMAI_API_KEY and RODIUMAI_BASE_URL (https://api.rodiumai.io/v1). Use the RodiumAI Facade or RodiumAIClient directly.

Install Laravel SDK

…

First completion

…

Laravel SDK guide →

Using the Python SDK

Install rodiumai from PyPI (v0.3+). Set RODIUMAI_API_KEY and optional RODIUMAI_DEFAULT_MODEL. Async flat API: await client.chat(), client.stream(), client.wallet().

Install Python SDK

…

First completion

…

Python SDK guide →

Using the JavaScript SDK

Install rodiumai from npm (v0.3+). Set RODIUMAI_API_KEY. Flat API: await client.chat(), for await client.stream(), await client.models().

Install JavaScript SDK

…

First completion

…

JavaScript SDK guide →

Using the API

POST to /v1/chat/completions with a Bearer key and JSON body, schema and fields are spelled out in the chat completions reference

Shell / scripts:

…

Setup commands

Official RodiumAi SDKs (Python, JavaScript, Laravel) plus OpenAI and Anthropic packages, all use https://api.rodiumai.io/v1.

…

Next steps