What is a Gate?
A gate is the core building block of Verlon AI. It’s a configuration that sits between your application and AI providers, controlling how requests are routed, which models are used, and how failures are handled. When you make a request through Verlon, you reference a gate by its ID (a UUID). The gate determines:- Which model handles the request
- What happens if that model fails
- What parameters are applied (temperature, max tokens, etc.)
- Whether spending limits are enforced
- What system prompt is prepended
Gate Types
Verlon supports two gate types:Task Types
Every gate is configured for a specific task type, which determines which models are available:
Chat gates also support optional subtypes for specialized models:
- Reasoning — o3, o4-mini, Gemini 2.5 Pro
- Code — Codestral, Devstral
- Realtime — gpt-4o-realtime
Routing Strategies
Gates support three strategies for handling requests:Single (Default)
Use only the primary model. No fallbacks. Simplest and most predictable.Fallback
Try the primary model first. If it fails (provider outage, rate limit, etc.), try each fallback model in order until one succeeds.Round-Robin
Randomly distribute requests across the primary model and all fallback models. Useful for load balancing or informal cost distribution across providers.Creating a Gate
From the Dashboard
- Go to Dashboard → Gates → Create New Gate
- Fill in the required fields:
- Name — A human-readable label for the gate (e.g.,
customer-support). The gate ID (UUID) is what you use in API calls. - Task Type — What kind of requests this gate handles
- Model — The primary model to use
- Name — A human-readable label for the gate (e.g.,
- Optionally configure:
- Fallback models and routing strategy
- System prompt applied to all requests
- Temperature, max tokens, and top P defaults
- Spending limits with alert or block enforcement
- Structured output (JSON schema) for consistent response formats
Via the API
Using a Gate
Once created, reference the gate in your requests:- Verlon SDK
- OpenAI SDK
- cURL
Gate Configuration Reference
The full gate configuration interface. Fields marked required must be provided when creating a gate. All other fields are optional.Core Fields
Model Routing
Request Parameters
Defaults applied to all requests through the gate. Can be overridden per-request ifallowOverrides is configured.
Smart Routing (Architect)
Verlon’s AI agent (the Architect) analyzes your gate’s description and usage patterns to recommend optimal models.Structured Output
Force responses into a consistent format. Native JSON schema support for OpenAI models; prompt-injected for other providers.Spending Limits
Control costs at the gate level. See Spending for account-level controls.Agent gates are created with identity only (name + description) — their control surface is per-task model config. See Agent Gates.
Read-Only Fields
These fields are returned by the API but cannot be set directly.Dashboard Tabs
When editing a gate in the dashboard, configuration is organized into tabs:Basic Info
Name, description, task type, subtypes, and tags. Includes an Auto-enhance description toggle — when enabled, the Architect generates an improved version of your description optimized for smart routing analysis. If you accept the suggestion, it replaces your gate’sdescription field with the enhanced version.

