Feature: OpenRouter API Plugin — Multi-Model Access #94
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Competitor
Kind/Documentation
Kind/Enhancement
Kind/Epic
Kind/Feature
Kind/Security
Kind/Story
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Core
Scope/Cross-Plugin
Scope/Plugin-System
Scope/Single-Plugin
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ultanio/cobot#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Plugin for accessing hundreds of LLMs via OpenRouter's unified API. Gives cobots flexible model selection, cost optimization, and automatic fallbacks through a single OpenAI-compatible endpoint.
Why This Matters
Cobots currently depend on one LLM provider. That's a single point of failure and a sovereignty problem. OpenRouter unlocks model freedom.
Scenarios
1. Smart Task Routing
Cobot classifies incoming task complexity:
Result: 90% cost savings on routine tasks without sacrificing quality where it matters.
2. Graceful Degradation
Primary model (Claude) hits rate limit → auto-fallback to Gemini → then to Llama. The cobot never goes offline. Users don't even notice the switch.
3. Multi-Model Consensus
Ask 3 different models the same code review question. Flag disagreements. Catches bugs that any single model would miss. Especially valuable for security-sensitive reviews.
4. Budget-Aware Operation
Cobot has a daily spend limit of $1. Starts with premium models in the morning, auto-downgrades as budget depletes through the day. Never overspends. Resets at midnight.
5. Model Benchmarking
Compare latency, cost, and output quality across models on standardized prompts. Track regressions when providers update their models. Build institutional knowledge about which model is best for what.
6. Cobot-Pays-Cobot
Agent A requests a task from Agent B. Agent B uses OpenRouter for the LLM call, tracks the cost, and bills Agent A via Lightning. The model cost becomes part of the service cost. True agent economy.
7. Privacy-Tiered Routing
Sensitive data → local model (Llama via Ollama)
General queries → cloud model via OpenRouter
Cobot automatically classifies sensitivity and routes accordingly.
Core Operations
/chat/completions/models/credits/generation?id=XCobot Integration
Safety
Technical Notes
https://openrouter.ai/api/v1docs/specs/2026-02-25-openrouter-plugin.mdOpen Questions
Triage Assessment
Classification: VALID-ENHANCEMENT
Analysis:
Solid proposal for multi-model LLM access via OpenRouter. The smart routing and graceful degradation scenarios are the strongest motivations — reducing single-provider dependency is a real sovereignty improvement.
Key observations:
Suggested next steps:
Label added: Kind/Feature
Priority: Flagged for human decision
Triaged by Doxios 🦊