OpenRouter vs Cody
Unified API for 300+ LLMs across 60+ providers — 1 key, any model
vs. AI coding assistant by Sourcegraph — code graph + enterprise codebase context
Pricing tiers
OpenRouter
Free
25+ free models. 50 requests/day rate limit. 1M free requests/month base.
Free
Pay-as-you-go
5.5% platform fee on usage. Access to 300+ models, 60+ providers. High global rate limits.
$0 base (usage-based)
Enterprise
Volume-based pricing, bulk discounts, SSO/SAML, dedicated rate limits. 5M free requests/month.
Custom
Cody
Cody Free
$0. 500 autocompletes + 20 chat messages/mo. Claude Sonnet + GPT-4o-mini.
Free
Cody Pro
$9/user/mo. Unlimited autocomplete, unlimited chat, premium LLMs (Claude Opus, GPT-5).
$9/mo
Enterprise Starter
$19/user/mo. Adds advanced context (code graph), SSO, centralized billing.
$19/mo
Enterprise
$59/user/mo. On-prem deploy option, full Sourcegraph platform, audit logs, SLA.
$59/mo
Free-tier quotas head-to-head
Comparing free on OpenRouter vs free on Cody.
| Metric | OpenRouter | Cody |
|---|---|---|
| No overlapping quota metrics for these tiers. | ||
Features
OpenRouter · 15 features
- 300+ Models — Claude, GPT, Gemini, Llama, Mistral, Qwen, DeepSeek, Cohere, Grok + open-source.
- 60+ Providers — Anthropic, OpenAI, Google, Together, Fireworks, Groq, DeepInfra, Replicate, etc.
- Auto Fallback — Automatic retry to backup provider on failure.
- Bring Your Own Key — Use your own provider keys → pay providers directly + no platform fee.
- Credit System — Prepay credits via card, crypto, or bank.
- Data Retention Controls — Opt-out of training/retention per provider.
- Free Models Tier — 25+ models available at $0 (limited rate).
- Prompt Caching — Automatic cache for identical prefixes (provider-dependent).
- Provider Preferences — Pin preferred providers per request or default.
- Rankings & Stats — Public leaderboard of most-used models.
- Regional Routing — Route requests to specific geographic regions.
- Streaming — SSE + partial completions.
- Structured Outputs — JSON-mode + JSON schema across supporting models.
- Tool Use / Function Calling — Unified tool calling across providers.
- Unified OpenAI-Compat API — Same endpoint for every model + provider.
Cody · 17 features
- Audit Logs — Enterprise compliance.
- Autocomplete — Inline code completion.
- Batch Changes (Enterprise) — Large-scale automated refactors.
- Chat — Conversational AI with @-context.
- Code Graph Context — Automatic dependency-aware context.
- Commands (Slash) — Pre-built prompts (/explain, /doc, /test).
- Custom Prompts — Shareable team-level prompt library.
- Inline Edit — Highlight code → edit via natural language.
- JetBrains Plugin — IntelliJ/PyCharm/WebStorm/etc.
- @ Mentions — Add files/symbols/URLs as context.
- Multi-LLM Selection — Pick Claude/GPT/Gemini per request.
- Neovim Plugin — Nvim integration.
- On-Prem Deploy (Enterprise) — Self-host full Sourcegraph + Cody.
- OpenCtx Extensions — Third-party context providers.
- Prompts Library — Team-wide reusable prompts.
- SSO (Enterprise) — SAML + OIDC.
- VS Code Extension — Primary IDE.
Developer interfaces
| Kind | OpenRouter | Cody |
|---|---|---|
| CLI | — | src CLI (context tool) |
| SDK | Any OpenAI SDK | — |
| REST | OpenRouter API (OpenAI-compat) | Cody API (Enterprise) |
| MCP | OpenRouter MCP | — |
| OTHER | OpenRouter Dashboard | Cody for JetBrains, Cody for Neovim, Cody for VS Code, Sourcegraph Cloud Web |
Staxly is an independent catalog of developer platforms. Some links to OpenRouter and Cody may be affiliate links — Staxly may earn a commission if you sign up through them, at no extra cost to you. Pricing is verified against vendor pages at publication time — reconfirm before buying.
Want this comparison in your AI agent's context? Install the free Staxly MCP server.