Compatible Tools
Rei Unit works with any OpenAI-compatible tool, including:- Cursor
- OpenAI Codex CLI
- Continue (VS Code)
- Aider
- Cline (VS Code)
- Open WebUI
- LM Studio
- And many more…
Connection Details
For any tool, you just need these three things:
Credit consumption will vary based on each model from
rei-qwen3-coder being the most cost effective to rei-coder-max being the most intensive. For in-depth pricing refer to OpenRouter for the most up to date prices.
Setup Instructions
Cursor IDE
- Open Settings → Models → API Keys
- Find OpenAI API Key section
- Click Override OpenAI Base URL
- Enter:
https://coder.reilabs.org/v1 - Enter your Rei API key
- Add model:
rei-qwen3-coder
OpenAI Codex CLI
- Create config file:
- Add configuration:
- Set your API key:
- Run Codex:
Continue (VS Code)
- Install Continue extension
- Open Continue settings (
~/.continue/config.json) - Add to models array:
Aider
Cline (VS Code)
- Install Cline extension
- Open Cline settings
- Select OpenAI Compatible as provider
- Enter Base URL:
https://coder.reilabs.org/v1 - Enter API Key
- Enter Model:
rei-qwen3-coder
Open WebUI
- Go to Settings → Connections
- Add new OpenAI connection
- URL:
https://coder.reilabs.org/v1 - API Key: Your Rei key
- The model will auto-discover
Troubleshooting
Test the API directly
Common Issues
- “Invalid API key”: Check your key is correct, no extra spaces
- “Model not found”: Use exactly
rei-qwen3-coder - Connection timeout: Check your internet connection