Guides
Laravel SDK
Install rodiumai/laravel-sdk, configure RODIUMAI_API_KEY and RODIUMAI_BASE_URL, then call the gateway with a typed PHP client and Laravel Facade.
Install & first completion
…Streaming
SSE text deltas from POST /v1/chat/completions with stream: true.
…Wallet & pricing
…Production checklist
- Store RODIUMAI_API_KEY in .env, never expose it in the browser.
- Use models() for live catalogue ids (openai/gpt-4o, anthropic/claude-sonnet-4-6, …).
- Catch InsufficientCreditsException (402) and RateLimitException (429) with retryAfter().
Full reference: GitHub README · API overview