API reference
Overview
Everything lives under api.rodiumai.io/v1 — OpenAI-compatible routes plus RodiumAI extensions (wallet, pricing) with consistent JSON bodies and RODI billing.
Base URL
https://api.rodiumai.io/v1- EndpointAuthentication
Bearer keys and scopes
- EndpointGET /v1/models
List models & RODI rates
- EndpointPOST /v1/chat/completions
Primary chat completions
- EndpointPOST /v1/responses
OpenAI Responses API (OpenAI upstream models)
- EndpointPOST /v1/embeddings
Vector embeddings for supported models
- EndpointPOST /v1/images/generations
Image generation billed per image in RODI
- EndpointPOST /v1/audio/transcriptions
Speech-to-text (multipart upload)
- EndpointStreaming
Server-Sent Events for partial output
- EndpointGET /v1/wallet
RODI balance, reserves, and spend totals
- EndpointGET /v1/pricing
Per-model RODI tariffs and capability metadata
- EndpointGET /v1/healthz
Liveness probe — process is up
- EndpointGET /v1/readyz
Readiness probe — DB and Redis connectivity
- EndpointErrors
Status codes & JSON envelopes