OpenRouter Integration
CCS v7.0.0 introduces OpenRouter as a first-class provider. Access 300+ AI models through a unified API with intelligent model selection and tier mapping.Overview
- Dark Theme
- Light Theme

Key Features
300+ Models
Access Claude, GPT, Gemini, Llama, and more through one API
Interactive Picker
Visual model selection with search and filtering in CLI and UI
Tier Mapping
Automatic opus/sonnet/haiku tier assignment for model routing
Dynamic Discovery
Real-time detection of newest models from OpenRouter catalog
Quick Start
Via CLI
- Enter your OpenRouter API key
- Browse or search available models
- Select models for each tier (opus, sonnet, haiku)
- Profile is created and ready to use
Via Dashboard
1
Open Dashboard
2
Navigate to API Profiles
Click “API Profiles” in the sidebar (note the OpenRouter badge).
3
Create Profile
Click “Create Profile” and select “OpenRouter” from Provider Presets.
4
Configure Models
Use the model picker to select models for each tier.
Model Tier Mapping
CCS maps OpenRouter models to Claude Code’s tier system for intelligent model routing:| Tier | Purpose | Recommended Models |
|---|---|---|
| Opus | Complex reasoning, architecture | Claude 3.5 Opus, GPT-4o |
| Sonnet | General coding, balanced | Claude 3.5 Sonnet, Gemini Pro |
| Haiku | Quick tasks, cost-efficient | Claude 3 Haiku, GPT-4o-mini |
Exacto Models
CCS prioritizes Exacto-tuned models for agentic performance. These models are optimized for:- Tool calling accuracy
- Code generation quality
- Instruction following
Configuration
Profile Structure
OpenRouter profiles use the standard CCS settings format:Environment Variables
| Variable | Description |
|---|---|
ANTHROPIC_BASE_URL | Must be https://openrouter.ai/api |
ANTHROPIC_AUTH_TOKEN | Your OpenRouter API key |
ANTHROPIC_MODEL | Default model (sonnet tier) |
ANTHROPIC_DEFAULT_OPUS_MODEL | Model for opus tier |
ANTHROPIC_DEFAULT_HAIKU_MODEL | Model for haiku tier |
Usage
Model Selection Tips
Best for Agentic Workflows
Best for Agentic Workflows
- anthropic/claude-3.5-sonnet - Excellent tool use
- openai/gpt-4o - Strong reasoning
- Models with “Exacto” tag - Optimized for agents
Best for Cost Efficiency
Best for Cost Efficiency
- anthropic/claude-3-haiku - Fast and cheap
- openai/gpt-4o-mini - Good balance
- meta-llama/llama-3.1-8b-instruct - Open source
Best for Long Context
Best for Long Context
- anthropic/claude-3.5-sonnet - 200K context
- google/gemini-pro-1.5 - 1M context
- anthropic/claude-3-opus - 200K context
Troubleshooting
API Key Issues
API Key Issues
Verify your key at openrouter.ai/keys:
Model Not Available
Model Not Available
Some models require credits or have access restrictions. Check model availability on the OpenRouter dashboard.
Rate Limits
Rate Limits
OpenRouter has per-model rate limits. Switch models or upgrade your plan if hitting limits.

