Using Tetrate Agent Router Service (TARS) With Roo Code
Roo Code supports accessing models through the Tetrate Agent Router Service (TARS), a managed LLM routing service that provides configurable fallback and traffic shifting, and cost visibility without infrastructure overhead.
Website: https://router.tetrate.ai
API Endpoint: https://api.router.tetrate.ai/v1
Getting an API Key
- Sign Up/Sign In: Go to the TARS website and create an account using Google or GitHub OAuth.
- Get API Key: Generate your API key from the TARS dashboard after signing in.
- Free Credit: New signups with business email addresses receive a $5 free credit to get started.
Supported Models
TARS provides access to models from multiple providers through a unified API. Roo Code will automatically fetch the latest list of available models. TARS supports configurable fallback and traffic shifting between models based on availability, cost, or performance preferences.
Configuration in Roo Code
- Open Roo Code Settings: Click the gear icon () in the Roo Code panel.
- Select Provider: Choose "Tetrate Agent Router Service" from the "API Provider" dropdown.
- Enter API Key: Paste your TARS API key into the "TARS API Key" field.
- Select Model: Choose your desired model from the "Model" dropdown.
Tips and Notes
- Unified Entry Point: Single endpoint simplifies code and key management across multiple providers.
- Cost Visibility: Pay-as-you-go pricing with comprehensive cost tracking and optimization strategies.
- Observability: Detailed dashboards for monitoring usage, costs, response times, and model performance.
- Automatic Fallback: Built-in resiliency with automatic model switching when providers are unavailable.
- A/B Testing: Compare model performance side-by-side in the integrated playground.