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

Try Forge
RodiumAi docs
Guides

JavaScript SDK

Install rodiumai from npm, set RODIUMAI_API_KEY, then use client.chat(), client.stream(), client.wallet(), and more.

Install & first completion

…

Streaming

Async iterator text deltas from POST /v1/chat/completions with stream: true.

…

Wallet & pricing

…

Production checklist

  • Store RODIUMAI_API_KEY in environment, never expose it in the browser.
  • Use await client.models() for live catalogue ids.
  • Catch InsufficientRODIError (402) and RateLimitError (429, retryAfter in seconds), both exported by rodiumai. Pass { model } on every call instead of chaining client.model(...).

Full reference: GitHub README · API overview