Compatible Tools
Clients with configurable OpenAI endpoints include:- Cursor
- OpenAI Codex CLI
- Continue (VS Code)
- Aider
- Cline (VS Code)
- Open WebUI
- LM Studio
Connection Details
Use these connection settings:
Credit consumption varies by model. The documented options range from
rei-qwen3-coder with the lowest consumption to rei-coder-max with the highest. Refer to OpenRouter for current pricing.
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”: Check that the model identifier matches one of the available models.
- Connection timeout: Check your internet connection
