Pular para o conteúdo principal
ALTERNATIVE COMPARISONLLM Routers & AI Gateways

Melhor alternativa ao Cloudflare AI Gateway para agentes de código sem censura

Edge proxy adding caching, rate limiting, and fallback routing in front of external LLM APIs. Start with $0.20 free trial credit — no subscription required.

bf16.ai vs Cloudflare AI Gateway: Side-by-Side Specs

Capabilitybf16.aiCloudflare AI Gateway
Uncensored WeightsUncensored / weight-edited catalogStandard aligned weights (refusals active)
Anthropic /v1/messagesYes (native /v1/messages + OpenAI /v1)OpenAI-only or vendor-proprietary
Context Window1M tokens across all 5 live modelsBYOK upstream dependent
Privacy / RetentionStrict zero data retention (default)Configurable logging off at the edge
Billing ModelPay-as-you-go prepaid USD (from $0.26/1M, non-expiring, no subscription)Free/paid Cloudflare Workers edge proxy + BYOK upstream costs

Pontos fortes do Cloudflare AI Gateway

Apps already deployed on Cloudflare Workers wanting edge-level analytics and response caching.

Domain: cloudflare.com

Por que desenvolvedores migram do Cloudflare AI Gateway para o bf16.ai

  • Cloudflare AI Gateway still requires you to buy expensive tokens from censored upstreams; bf16.ai supplies uncensored models directly below official prices.
  • Native prompt caching built into the inference layer saves 80%+ on repeated coding context without exact-match edge cache misses.
  • Single API key covers OpenAI Chat, OpenAI Responses, and Anthropic Messages endpoints.
Recommended bf16.ai Model

DeepSeek V4.1 Flash Uncensored

deepseek/deepseek-v4.1-flash-uncensored · 1M tokens · ~155 tok/s · text + vision

Input / 1M
$0.26
Cached / 1M
$0.045
Output / 1M
$1.00

Drop-In Migration Snippet

Call https://api.bf16.ai/v1 directly from your Workers or configure bf16.ai as a custom upstream target.

OpenAI-compatible drop-in migration from Cloudflare AI Gateway
curl https://api.bf16.ai/v1/chat/completions \
  -H "Authorization: Bearer $BF16_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash-uncensored",
    "messages": [
      { "role": "user", "content": "Audit this auth middleware for race conditions and patch it." }
    ]
  }'

Perguntas frequentes

Does bf16.ai run well from Cloudflare Workers and edge runtimes?

Yes. Standard fetch() calls to https://api.bf16.ai/v1/chat/completions or https://api.bf16.ai/v1/messages stream SSE cleanly on edge runtimes.

Is bf16.ai a drop-in replacement for Cloudflare AI Gateway?

Yes for any tool using OpenAI Chat Completions (/v1/chat/completions), OpenAI Responses (/v1/responses), or Anthropic Messages (/v1/messages). Switching from Cloudflare AI Gateway typically takes changing one base URL, one API key, and one model ID.

How does bf16.ai pricing compare to Cloudflare AI Gateway?

bf16.ai uses pure prepaid pay-as-you-go billing with non-expiring credits and no monthly subscription lock-in. For example, DeepSeek V4.1 Flash Uncensored runs at $0.26 in / $1.00 out per 1M tokens with discounted prompt caching, avoiding both fixed seat caps and Cloudflare AI Gateway markup or tier limits.

Guias e comparações relacionadas

Todas as alternativas

Not affiliated with Anthropic, OpenAI, Google, Z.ai, Moonshot AI, DeepSeek, or any third-party provider listed on this page. All trademarks belong to their respective owners. "bf16" is a brand name, not a statement about numeric precision. Third-party reference rates are public approximations; check official pricing pages for exact current terms.