Quickstart
Get started with Rodium AI
Start in two ways: plain HTTP/cURL or the OpenAI SDK with Rodium base_url. Same payloads, same billing, same API key.
| Approach | Best for |
|---|---|
| REST API | Full control — curl, backends, automation |
| OpenAI SDK mode | Use official OpenAI clients with Rodium base URL |
| Chat completions guide | Parameters, provider/model ids, and practical defaults |
| Dashboard | Keys, usage, billing, and Mobile Money top-ups |
Base URL
All samples use
https://api.rodiumai.io/v1. For streaming responses, see the Streaming guide and 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
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:
…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
…Rodium native SDKs
Our own SDK family is in progress. Until release, use cURL or OpenAI SDK mode.
…Setup commands
Launch focus: cURL and OpenAI package only. Rodium native SDKs are being prepared and will be published soon.
…