# Cloudflare AI Gateway vs TensorZero

**Leader by Vioscale score:** Cloudflare AI Gateway

| Attribute | Cloudflare AI Gateway | TensorZero |
|---|---|---|
| **Vioscale score** | 81.4 (37% (low)) | 46.6 (21% (low)) |
| adoption.dependent_repos | - | 0 |
| adoption.github_stars | - | 11,719 |
| deployment.options | `{"cloud":true}` | `{"self_hosted":true}` |
| description.long | 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. | A unified operations platform for LLM applications that provides infrastructure for routing API calls, tracking performance metrics, running experiments, and optimizing model and prompt configurations. Built as self-hosted open-source software designed for production-scale deployments. |
| features.capabilities | `{"caching":"exact","open_source":false,"pricing_model":"usage-based-saas","rate_limiting":true,"deployment_model":"managed-SaaS","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","deployment_model":"self-hosted","openai_compatible_api":true,"virtual_key_management":true,"request_cost_observability":true}` |
| integrations.count | 8 | 3 |
| 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":"OpenAI"},{"name":"Ollama"},{"name":"Slack"}]` |
| language.primary | - | Rust |
| license.spdx | - | Apache-2.0 |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | - |
| platform.support | `{"cli":true,"web":true}` | `{"web":true}` |
| pricing | `{"type":"hybrid","plans":[{"free":true,"name":"Free","summary":"Free - core features with limited logging","features":["Dashboard analytics","Caching","Rate limiting","Request retries","Model fallback","DLP scanning (2 predefined profiles)"],"includedLimits":{"logs":"100,000 total","dlp_profiles":"2 predefined"}},{"free":false,"name":"Workers Paid","summary":"$0.05 per million requests after 10M/month included","features":["All free features","10M logs per gateway","Logpush","DLP with full profiles (if Zero Trust included)"],"components":[{"per":{"qty":1,"unit":"million requests"},"kind":"metered","amount":0.05,"currency":"USD"}],"includedLimits":{"logs":"10,000,000 per gateway","requests":"10 million per month"}},{"free":false,"name":"Enterprise","summary":"Custom pricing","contactSales":true}],"summary":"Free core features; usage-based pricing for requests on paid plans. Inference costs passed through at provider rates with no markup.","currency":"USD","freeTier":true,"sourceUrl":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","retrievedAt":"2026-08-21T12:43:26.398Z","startingPrice":{"unit":"million requests","amount":0.05,"currency":"USD"}}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://www.tensorzero.com","retrievedAt":"2026-08-21T11:02:53.667Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | freemium | open_source |
| pricing.price_level | low | free |
| pricing.starting_price | `{"amount":0.05,"currency":"USD"}` | - |
| pricing.transparent | yes | - |
| release.cadence_days | - | 6 |
| release.history | - | `[{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.6.0","date":"2026-06-04T15:15:42Z","type":"stable","version":"2026.6.0"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.5.2","date":"2026-05-20T13:48:00Z","type":"stable","version":"2026.5.2"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.5.1","date":"2026-05-15T19:09:30Z","type":"stable","version":"2026.5.1"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.5.0","date":"2026-05-08T20:45:55Z","type":"stable","version":"2026.5.0"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.4.1","date":"2026-04-24T17:46:47Z","type":"stable","version":"2026.4.1"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.4.0","date":"2026-04-02T17:00:15Z","type":"stable","version":"2026.4.0"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.3.4","date":"2026-03-26T14:27:42Z","type":"stable","version":"2026.3.4"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.3.3","date":"2026-03-18T16:23:28Z","type":"stable","version":"2026.3.3"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.3.2","date":"2026-03-13T16:09:19Z","type":"stable","version":"2026.3.2"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.3.1","date":"2026-03-05T22:13:25Z","type":"stable","version":"2026.3.1"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.3.0","date":"2026-03-04T20:40:09Z","type":"stable","version":"2026.3.0"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.2.2","date":"2026-02-26T18:47:41Z","type":"stable","version":"2026.2.2"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.2.1","date":"2026-02-16T21:54:07Z","type":"stable","version":"2026.2.1"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.2.0","date":"2026-02-05T19:42:51Z","type":"stable","version":"2026.2.0"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.1.8","date":"2026-01-30T22:37:46Z","type":"stable","version":"2026.1.8"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.1.7","date":"2026-01-30T19:29:46Z","type":"stable","version":"2026.1.7"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.1.6","date":"2026-01-30T17:42:01Z","type":"stable","version":"2026.1.6"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.1.5","date":"2026-01-24T17:25:58Z","type":"stable","version":"2026.1.5"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.1.2","date":"2026-01-15T19:33:47Z","type":"stable","version":"2026.1.2"},{"url":"https://github.com/tensorzero/tensorzero/releases/tag/2026.1.1","date":"2026-01-14T18:46:55Z","type":"stable","version":"2026.1.1"}]` |
| security.vulnerabilities | - | `{"count":1,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=tensorzero&per_page=100","last_12m":1,"max_severity":"HIGH"}` |

## Capabilities (Llm Gateways)

| Capability | Cloudflare AI Gateway | TensorZero |
|---|:--:|:--:|
| **Capabilities** |  |  |
| Openai compatible API | ✓ | ✓ |
| Automatic failover | ✓ | - |
| Routing strategy | - | - |
| 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: Vioscale. Generated 2026-09-01T15:12:58.890Z. "-" = undocumented, not absent.*
