# Cloudflare AI Gateway vs One API

| Attribute | Cloudflare AI Gateway | One API |
|---|---|---|
| **vioscaleAI score** | 65.6 (33% (low)) | 46.2 (53% (medium)) |
| activity.commits_last_30d | - | 0 |
| adoption.dependent_repos | - | 0 |
| adoption.github_stars | - | 37,484 |
| content.faq | `[{"answer":"A platform providing visibility into AI API usage through analytics and logging, with controls for caching, rate limiting, and request management across multiple AI providers. It is indexed under Llm Gateways.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"What is Cloudflare AI Gateway?","confidence":0.6},{"answer":"Cloudflare AI Gateway offers a free tier, so you can start without paying. Paid plans start at $0.05. Prices are published openly on the vendor's own pricing page. Pricing changes often, so verify at source before relying on it.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"Is Cloudflare AI Gateway free?","confidence":0.6},{"answer":"We have confirmed browser-based access to Cloudflare AI Gateway. That is the extent of what we could verify from public sources, so it may well offer desktop or mobile clients we have not indexed.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"What platforms does Cloudflare AI Gateway support?","confidence":0.6},{"answer":"We have only confirmed a cloud / SaaS deployment for Cloudflare AI Gateway, so it appears to be vendor-hosted. If a self-hosted option exists we have not found it documented publicly.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"Can Cloudflare AI Gateway be self-hosted?","confidence":0.6},{"answer":"We have confirmed 10 integrations for Cloudflare AI Gateway, including Workers AI, Vectorize, MCP (Model Context Protocol), Third-party LLM models, OpenAI, Anthropic, Google Gemini and Replicate, plus 2 more. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","question":"What does Cloudflare AI Gateway integrate with?","confidence":0.6}]` | `[{"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}]` |
| deployment.options | `{"cloud":true}` | `{"cloud":true,"on_prem":true,"self_hosted":true}` |
| description.long | A Cloudflare service that enables running AI models and building AI agents globally through API calls, with integrated data search capabilities and no infrastructure management required. | A system that consolidates access to various large language models (such as OpenAI, Claude, Gemini, and others) under one API endpoint, enabling centralized key management and request routing. |
| features.capabilities | `{"caching":"exact","open_source":false,"pricing_model":"usage-based-saas","rate_limiting":true,"deployment_model":"managed-SaaS","streaming_support":true,"architecture_model":"global_edge_network","automatic_failover":true,"guardrails_moderation":"built-in","openai_compatible_api":true,"request_cost_observability":true,"bring_your_own_keys_byok_routing":true,"pii_redaction_and_data_masking_in_flight":true,"universal_api_key_for_100_plus_llm_providers":true,"zero_data_retention_and_prompt_logging_opt_out":false,"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}` | `{"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}` |
| integrations.count | 6 | 12 |
| integrations.list | `[{"name":"Workers AI"},{"name":"Vectorize"},{"name":"MCP (Model Context Protocol)"},{"name":"Third-party LLM models"},{"name":"OpenAI"},{"name":"Anthropic"},{"name":"Google Gemini"},{"name":"Replicate"},{"name":"Cloudflare Workers"},{"name":"Agent Memory"},{"name":"Cloudflare Workers AI","native":true,"category":"ai"},{"name":"Cloudflare Vectorize","native":true,"category":"database"},{"name":"Claude Code","native":true,"category":"coding_agent"},{"name":"Claude Desktop","native":true,"category":"coding_agent"},{"name":"GitHub Copilot CLI","native":true,"category":"coding_agent"},{"name":"OpenAI Codex","native":true,"category":"coding_agent"},{"name":"OpenCode","native":true,"category":"coding_agent"},{"name":"Pi","native":true,"category":"coding_agent"}]` | `[{"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":"ByteDance Dou Bao","category":"llm"},{"name":"Baidu Ernie","category":"llm"}]` |
| language.primary | - | JavaScript |
| license.spdx | - | MIT |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | - |
| platform.support | `{"web":true}` | `{"web":true}` |
| pricing | `{"type":"hybrid","plans":[{"free":true,"name":"Free","features":["dashboard analytics","caching","rate limiting","DLP scanning"],"description":"Core AI Gateway features: dashboard analytics, caching, rate limiting, and DLP scanning"},{"free":false,"name":"Workers Paid","features":["10M log storage per gateway","Logpush available"],"components":[{"per":{"qty":1,"unit":"million requests"},"kind":"metered","amount":0.05,"currency":"USD","description":"Logpush requests after 10 million/month"}],"description":"Higher log storage limits and Logpush available","includedLimits":{"log_storage":"10,000,000 logs per gateway"}}],"summary":"Free for core features (caching, rate limiting, analytics). Paid log storage and Logpush available on Workers Paid plan.","currency":"USD","freeTier":true,"sourceUrl":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","retrievedAt":"2026-10-02T16:15:28.076Z","startingPrice":{"unit":"million requests","amount":0.05,"currency":"USD"}}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://github.com/pricing","retrievedAt":"2026-09-14T09:24:50.525Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | freemium | commercial |
| pricing.price_level | low | free |
| pricing.starting_price | `{"amount":0.05,"currency":"USD"}` | - |
| 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.trust_center | - | https://github.com/songquanpeng/one-api/security |
| 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 | Cloudflare AI Gateway | One API |
|---|:--:|:--:|
| **Capabilities** |  |  |
| Openai compatible API | ✓ | ✓ |
| Automatic failover | ✓ | ✓ |
| Routing strategy | - | Load based |
| Caching | Exact | - |
| Virtual key management | - | ✓ |
| Budget spend controls | - | ✓ |
| Rate limiting | ✓ | ✓ |
| Guardrails moderation | Built in | - |
| Request cost observability | ✓ | ✓ |
| Streaming support | ✓ | ✓ |
| Deployment model | Managed SaaS | Self hosted |
| Open source | ✗ | ✓ |
| Pricing model | Usage based saas | Open source self host |

*Source: vioscaleAI. Generated 2026-11-29T11:37:57.552Z. "-" = undocumented, not absent.*
