# One API vs OpenRouter

| Attribute | One API | OpenRouter |
|---|---|---|
| **vioscaleAI score** | 46.2 (54% (medium)) | 66.6 (34% (low)) |
| activity.commits_last_30d | 0 | - |
| adoption.dependent_repos | 0 | - |
| adoption.github_stars | 37,155 | - |
| content.faq | `[{"answer":"An open-source system for managing and redistributing API access across multiple large language model providers—including OpenAI, Claude, Gemini, and others—through a single OpenAI-compatible API. Deploys as a self-contained binary or Docker container. It is indexed under Llm Gateways.","source":"https://github.com/pricing","question":"What is One API?","confidence":0.6},{"answer":"One API is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://github.com/pricing","question":"Is One API free to use?","confidence":0.6},{"answer":"One API supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://github.com/pricing","question":"What platforms does One API support?","confidence":0.6},{"answer":"Yes. One API can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://github.com/pricing","question":"Can One API be self-hosted?","confidence":0.6},{"answer":"We have confirmed 12 integrations for One API, including OpenAI, Anthropic Claude, Google Gemini, DeepSeek, ByteDance Douyin, ChatGLM, Baidu ERNIE Bot and iFLYTEK Spark, plus 4 more. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://github.com/pricing","question":"What does One API integrate with?","confidence":0.6},{"answer":"Yes. One API is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/songquanpeng/one-api","question":"Is One API open source?","confidence":0.95}]` | `[{"answer":"OpenRouter aggregates 500+ language models from 80+ providers through a single, OpenAI-compatible API interface. It offers automatic fallback routing, cost control, usage analytics, and data policy management for teams deploying AI applications at scale. It is indexed under Llm Gateways.","source":"https://openrouter.ai","question":"What is OpenRouter?","confidence":0.6},{"answer":"OpenRouter offers a free tier, so you can start without paying. Paid plans are also available: Free, Pay-as-you-go and Enterprise. Pricing changes often, so verify at source before relying on it.","source":"https://openrouter.ai/pricing","question":"Is OpenRouter free?","confidence":0.6},{"answer":"OpenRouter supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://openrouter.ai","question":"What platforms does OpenRouter support?","confidence":0.6},{"answer":"We have only confirmed a cloud / SaaS deployment for OpenRouter, so it appears to be vendor-hosted. If a self-hosted option exists we have not found it documented publicly.","source":"https://openrouter.ai","question":"Can OpenRouter be self-hosted?","confidence":0.6},{"answer":"We have confirmed 10 integrations for OpenRouter, including Vercel AI SDK, Claude Code, Cursor, OpenAI SDK, Anthropic, Google, Meta and Mistral, plus 2 more. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://openrouter.ai","question":"What does OpenRouter integrate with?","confidence":0.6},{"answer":"We have independently confirmed GDPR for OpenRouter. Certifications we do not list are ones we have not been able to verify from public sources, which is not the same as OpenRouter not holding them. Always confirm compliance directly before you rely on it.","source":"https://openrouter.ai/privacy","question":"What security certifications does OpenRouter have?","confidence":0.7}]` |
| deployment.options | `{"self_hosted":true}` | `{"cloud":true}` |
| description.long | An open-source system for managing and redistributing API access across multiple large language model providers—including OpenAI, Claude, Gemini, and others—through a single OpenAI-compatible API. Deploys as a self-contained binary or Docker container. | OpenRouter provides a unified, OpenAI-compatible API that consolidates access to over 500 language models from 80+ providers. It features automatic failover for reliability, cost-optimized routing, transparent provider pricing with modest platform fees, and support for multiple deployment and authentication methods. |
| features.capabilities | `{"open_source":true,"pricing_model":"open-source-self-host","rate_limiting":true,"deployment_model":"self-hosted","routing_strategy":"load-based","streaming_support":true,"automatic_failover":true,"budget_spend_controls":true,"openai_compatible_api":true,"virtual_key_management":true,"request_cost_observability":true}` | `{"caching":"exact","open_source":true,"pricing_model":"usage-based-saas","rate_limiting":true,"deployment_model":"managed-SaaS","routing_strategy":"cost-based","streaming_support":true,"architecture_model":"managed_cloud_saas","automatic_failover":true,"budget_spend_controls":true,"openai_compatible_api":true,"virtual_key_management":true,"request_cost_observability":true,"bring_your_own_keys_byok_routing":true,"custom_rate_limiting_by_user_or_tenant_id":true,"streaming_token_support_server_sent_events":true,"universal_api_key_for_100_plus_llm_providers":true,"zero_data_retention_and_prompt_logging_opt_out":true,"auto_fallback_routing_on_rate_limit_or_downtime":true,"organization_wide_cost_tracking_and_chargebacks":true,"semantic_caching_for_repeat_queries_and_cost_savings":false}` |
| integrations.count | 12 | 80 |
| integrations.list | `[{"name":"OpenAI"},{"name":"Azure OpenAI"},{"name":"Anthropic Claude"},{"name":"Google Gemini"},{"name":"DeepSeek"},{"name":"ByteDance Douyin"},{"name":"ChatGLM"},{"name":"Baidu ERNIE Bot"},{"name":"iFLYTEK Spark"},{"name":"Alibaba Tongyi Qianwen"},{"name":"360 Brain"},{"name":"Tencent Hunyuan"},{"name":"Cloudflare Gateway"},{"name":"Alibaba Qwen","native":true},{"name":"Tencent Yuan","native":true},{"name":"Baidu Wenxin","native":true},{"name":"Byte Doubao","native":true},{"name":"360 AI Brain","native":true},{"name":"Claude","native":true,"category":"llm","direction":"bidirectional"},{"name":"Gemini","native":true,"category":"llm","direction":"bidirectional"},{"name":"Doubao","native":true,"category":"llm","direction":"bidirectional"},{"name":"Ernie","native":true,"category":"llm","direction":"bidirectional"},{"name":"Spark","native":true,"category":"llm","direction":"bidirectional"},{"name":"Qwen","native":true,"category":"llm","direction":"bidirectional"},{"name":"360 Smart Brain","native":true,"category":"llm","direction":"bidirectional"},{"name":"Hunyuan","native":true,"category":"llm","direction":"bidirectional"}]` | `[{"name":"Vercel AI SDK"},{"name":"Claude Code"},{"name":"Cursor"},{"name":"OpenAI SDK"},{"name":"OpenAI"},{"name":"Anthropic"},{"name":"Google"},{"name":"Meta"},{"name":"Mistral"},{"name":"Model Context Protocol (MCP)"},{"name":"Terraform"}]` |
| language.primary | JavaScript | - |
| license.spdx | MIT | - |
| market.availability | - | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"web":true}` | `{"cli":true,"web":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://github.com/pricing","retrievedAt":"2026-09-14T09:24:50.525Z"}` | `{"type":"hybrid","plans":[{"free":true,"name":"Free","summary":"Free, 50 requests/day","features":["Chat and API access","25+ free models","4 free providers","50 requests/day rate limit","Community support"],"components":[{"kind":"fixed","amount":0,"currency":"USD"}],"contactSales":false,"includedLimits":{"models":"25+","providers":"4","requests_per_day":"50"}},{"free":false,"name":"Standard","summary":"5.5% platform fee on provider pricing","features":["Pay-as-you-go usage billing","500+ models","80+ providers","Email support","Budgets and spend controls","Activity logs and export","Auto-routing and vendor selection"],"components":[{"kind":"percentage","rate":5.5}],"contactSales":false},{"free":false,"name":"Business","summary":"Custom pricing with volume discounts","features":["Fee discounts available","500+ models","80+ providers","Custom rate limits","Invoicing options"],"contactSales":true},{"free":false,"name":"Enterprise","summary":"Custom enterprise pricing and support","features":["Custom pricing","500+ models","80+ providers","Dedicated support team","Contractual SLAs","SSO/SAML","Custom rate limits"],"contactSales":true}],"summary":"Free tier with 50 requests/day, or pay-as-you-go at 5.5% markup","currency":"USD","freeTier":true,"sourceUrl":"https://openrouter.ai/pricing","retrievedAt":"2026-10-02T10:53:56.899Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | freemium |
| pricing.price_level | free | low |
| pricing.transparent | - | yes |
| release.cadence_days | 19 | - |
| release.history | `[{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.10","date":"2025-02-02T12:29:38Z","type":"stable","version":"v0.6.10"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.9","date":"2024-12-22T10:26:16Z","type":"stable","version":"v0.6.9"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.8","date":"2024-08-06T15:54:14Z","type":"stable","version":"v0.6.8"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.7","date":"2024-06-25T14:59:20Z","type":"stable","version":"v0.6.7"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.6","date":"2024-05-27T17:50:41Z","type":"stable","version":"v0.6.6"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.5","date":"2024-04-19T16:41:28Z","type":"stable","version":"v0.6.5"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.4","date":"2024-03-30T02:50:28Z","type":"stable","version":"v0.6.4"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.3","date":"2024-03-24T15:45:48Z","type":"stable","version":"v0.6.3"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.2","date":"2024-03-15T16:02:51Z","type":"stable","version":"v0.6.2"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.1","date":"2024-03-10T11:53:06Z","type":"stable","version":"v0.6.1"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.6.0","date":"2024-03-01T16:03:46Z","type":"stable","version":"v0.6.0"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.5.11","date":"2024-01-14T06:10:03Z","type":"stable","version":"v0.5.11"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.5.10","date":"2023-12-20T14:01:03Z","type":"stable","version":"v0.5.10"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.5.9","date":"2023-12-10T11:53:49Z","type":"stable","version":"v0.5.9"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.5.8","date":"2023-11-24T12:43:21Z","type":"stable","version":"v0.5.8"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.5.7","date":"2023-11-05T11:21:21Z","type":"stable","version":"v0.5.7"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.5.6","date":"2023-10-02T04:24:07Z","type":"stable","version":"v0.5.6"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.5.5","date":"2023-09-17T10:05:37Z","type":"stable","version":"v0.5.5"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.5.4","date":"2023-08-30T13:48:20Z","type":"stable","version":"v0.5.4"},{"url":"https://github.com/songquanpeng/one-api/releases/tag/v0.5.3","date":"2023-08-26T04:43:30Z","type":"stable","version":"v0.5.3"}]` | - |
| security.gdpr | - | yes |
| security.trust_center | https://github.com/security | https://openrouter.ai/privacy |
| security.vulnerabilities | `{"count":2,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=github.com%2Fsongquanpeng%2Fone-api&per_page=100","last_12m":1,"max_severity":"MODERATE"}` | - |

## Capabilities (Llm Gateways)

| Capability | One API | OpenRouter |
|---|:--:|:--:|
| **Capabilities** |  |  |
| Openai compatible API | ✓ | ✓ |
| Automatic failover | ✓ | ✓ |
| Routing strategy | Load based | Cost based |
| Caching | - | Exact |
| Virtual key management | ✓ | ✓ |
| Budget spend controls | ✓ | ✓ |
| Rate limiting | ✓ | ✓ |
| Guardrails moderation | - | - |
| Request cost observability | ✓ | ✓ |
| Streaming support | ✓ | ✓ |
| Deployment model | Self hosted | Managed SaaS |
| Open source | ✓ | ✓ |
| Pricing model | Open source self host | Usage based saas |

*Source: vioscaleAI. Generated 2026-10-16T20:04:01.839Z. "-" = undocumented, not absent.*
