AI GATEWAY

1

Overview

What Is AI Gateway?

Cloudflare AI Gateway lets you observe and control your AI applications. With a single line of code, get complete visibility into requests, tokens, costs, and errors.

A Smart Toll Booth

Imagine a smart toll booth for AI calls. Every car (request) passes through it, gets inspected, counted, and can even take a shortcut (cache).

Features

  • Real-time observability
  • Smart caching
  • Rate limiting
  • Automatic fallback
1/10
DESENVOLVEDORESAppsAPIsSDKsCLIPLATAFORMAS SAASVercelNetlifySupabaseRenderAI AGENTSLangChainCrewAIAutoGenDifyCLOUDFLARE AI GATEWAY🌐 UNIVERSAL ENDPOINTgateway.ai.cloudflare.com/v1⏱️RATE LIMITSliding Window429 Protection🔄FALLBACKAuto RetryProvider Switch🗄️CACHESemantic CacheEdge Storage🛡️GUARDRAILSContent FilterPII Detection📊ANALYTICSReal-time MetricsCost Tracking📝LOGGINGLogpushRequest/ResponseINTELLIGENT ROUTINGLoad BalanceGeo RoutingCost OptimizeModel Router📈 OBSERVABILITY• Dashboard em tempo real• Alertas configuráveis• SIEM exportOPENAIGPT-4oGPT-4o1o1-miniANTHROPICClaude 4OpusSonnetHaikuGOOGLE AIGemini 2.0FlashProThinkingWORKERS AILlama 3.3MistralQwenDeepSeek