ZuploZuplo
LoginStart for Free
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop in the portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingDynamic MCP Server - Quickstart
    Develop locally with the CLI
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingDynamic MCP Server - Quickstart
Concepts
Development
Policies
Handlers
API Keys
Rate Limiting
Caching
MCP Server
MCP Gateway
AI Gateway
    IntroductionGetting StartedSource ControlUniversal API
    Providers
    Teams
    Apps
    Policies
      OverviewAPI key authenticationModel FilteringFallback ModelBudgets and CostsSemantic cacheAkamai AI FirewallComet Opik tracingGalileo tracing
    Cookbooks
    Integrations
Developer Portal
Monetization
GraphQL
Deploying & Source Control
Analytics
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsVersion Support PolicySecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Policies

AI Gateway policies

The gateway's config/policies.json declares which policies apps may use, and each app picks from that menu in the order it wants. See Policy Chains for how a chain executes and how options and secrets are inherited.

PolicyWhat it does
API key authenticationRequires an app API key and resolves the calling app from it
Model FilteringRestricts the app to an allow list or block list of models, and supplies the default model
Fallback ModelAdds a backup model for provider errors and timeouts, and a cheaper model for when a budget runs out
Budgets and CostsRecords usage and enforces the app's budgets for spend, tokens, and requests
Semantic cacheReturns a cached response when a new prompt is close enough to one already seen
Akamai AI FirewallScans prompts and completions with your Akamai configuration and blocks what it denies
Comet Opik tracingSends a trace of each request and response to Comet Opik
Galileo tracingSends a trace of each request and response to Galileo
Configuration ExecutorLoads the app's configuration and runs its chain—this is what makes app chains work

The Configuration Executor and its companion Configuration Loader sit on the gateway's route rather than in an app's chain. API key authentication runs in an app's chain and protects that app alone. Any custom policy you declare joins the menu alongside these.

Edit this page
Last modified on August 7, 2026
Usage LimitsAPI key authentication