Isolated testing
You don’t have to migrate everything at once. Run Radium in parallel with your current provider to compare output quality, latency and cost before changing production code.Goal
Send 5-10% of your traffic to Radium while the rest stays on your existing provider. No code changes to existing services required.Prerequisites
- A Radium API key from the dashboard
- Your current provider still working as-is
Strategy 1: Environment-variable switching
The quickest way to test is route by changing which key your code reads.Strategy 2: IDE profiles (Cursor, Cline, Continue)
Most coding agents support multiple provider profiles. Create a “Radium test” profile so you can switch without overwriting your main setup.Cursor
- Open Settings → Models
- Add a custom OpenAI-compatible provider:
- Base URL:
https://api.radium.cloud/v1 - API Key: your Radium key
- Model:
hal-1.0
- Base URL:
- Save as profile “Radium” and switch between OpenAI and Radium via the model dropdown
Cline
Edit.clinerules or Cline settings to add Radium as a secondary provider without removing your primary:
Continue
Add Radium to your Continueconfig.json alongside existing providers:
Strategy 3: Wrapper with fallback
For production services, wrap the client call so it falls back to your existing provider if Radium fails.Strategy 4: Feature-flag routing
Use a feature flag (e.g., LaunchDarkly, Unleash, or a simple env var) to control the split:Validation checklist
Run through this before expanding the test:- Responses complete successfully for your top 5 prompt types
- Tool calls return the same schema as your existing provider
- Streaming tokens arrive at acceptable speed
- Cost per request is visible in the Radium dashboard
- Error rate is below 1% over 100 requests