Quickstart
Get started with RodiumAi
Start in two ways: plain HTTP/cURL or the OpenAI SDK with RodiumAi base_url. Same payloads, same billing, same API key.
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 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.
…