OrcaRouter Provider
OrcaRouter is an OpenAI-compatible AI gateway built for both models and agents. Like OpenRouter, it exposes a provider/model namespace across many models — but it also combines adaptive routing, automatic failover, zero-markup inference, observability, guardrails, and agent-tool governance behind the same endpoint. It uses the OpenAI-compatible API format.
Setup
-
Get API Key: Sign up at OrcaRouter
-
Set Environment Variable:
Set ORCAROUTER_API_KEY=sk-orca-your-api-key in your CI/CD secret variables.
Make sure the secret variable is sent to MegaLinter from your CI/CD workflow. Example in GitHub Action:
ORCAROUTER_API_KEY: ${{ secrets.ORCAROUTER_API_KEY }}
- Configure MegaLinter:
LLM_ADVISOR_ENABLED: true
LLM_PROVIDER: orcarouter
LLM_MODEL_NAME: orcarouter/fusion-mini
LLM_MAX_TOKENS: 1000
LLM_TEMPERATURE: 0.1
Official Model List
For the most up-to-date list of OrcaRouter models and their capabilities, see the official OrcaRouter documentation:
Configuration Options
Basic Configuration
LLM_PROVIDER: orcarouter
LLM_MODEL_NAME: orcarouter/fusion-mini
Advanced Configuration
# Custom API endpoint (if needed)
ORCAROUTER_BASE_URL: https://api.orcarouter.ai/v1
Troubleshooting
Common Issues
-
"Invalid API key"
- Verify API key is correct
- Check account status and access
- Ensure OrcaRouter API access is enabled
-
"Rate limit exceeded"
- Check your plan's rate limits
- Implement exponential backoff
- Contact OrcaRouter support for higher limits
-
"Model not available"
- Verify model name:
orcarouter/fusion-mini - Check the model list at OrcaRouter Models
- Ensure you have access to the model
- Verify model name:
Debug Mode
LOG_LEVEL: DEBUG