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.
Base URL
All samples use
https://api.rodiumai.io/v1. For streaming responses, see the Streaming guide Streaming API reference.Before your first request
- 1Create a free account
- 2Top up with Mobile Money or use your starter RODI credits
- 3Generate an API key in the dashboard
- 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
…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
Launch focus: cURL and OpenAI package only. RodiumAi native SDKs are being prepared and will be published soon.
…