Pydantic AI Gateway

Pydantic AI GatewayBETA

Introducing enterprise-ready AI model routing (that developers love)

One key for all your models with real-time monitoring and budget control that works.

AI Gateway Diagram

Intelligent AI Workflows without the middleware bloat

Start with a few lines of code

from pydantic_ai import Agent

agent = Agent(
    'gateway/openai:gpt-5',
    instructions='Be concise, reply with one sentence.'
)

result = agent.run_sync('Hello World')
print(result.output)

You can access multiple models with the same API key.

To use different models, change the model string gateway/<api_format>:<model_name> to other models offered by the supported providers.

Available Providers

Provider

Model families

AnthropicAnthropic
Available: Yes
Build-in: Yes
BYOK: Yes
Claude
AWS BedrockAWS Bedrock
Available: Yes
Build-in: Yes
BYOK: Yes
Nova, Claude, etc...
Google VertexGoogle Vertex
Available: Yes
Build-in: Yes
BYOK: Yes
Gemini, Claude
GroqGroq
Available: Yes
Build-in: Yes
BYOK: Yes
Open Source models
OpenAIOpenAI
Available: Yes
Build-in: Yes
BYOK: Yes
GPT
Chat & ResponsesChat & Responses
Available: Yes
Build-in: No
BYOK: Yes
Any compatible provider
AzureAzure
Available: Soon...
Build-in: No
BYOK: Yes
GPT

Cost control for AI Models, Native APIs underneath

What is the Pydantic AI Gateway?

Pydantic AI Gateway gives you cost control and intelligent routing without the abstraction overhead. Unlike traditional AI gateways that wrap providers in a universal schema, PAIG passes requests through in their native format. When providers like OpenAI, Anthropic, or Google ship new features, you can use them immediately.

The core is open source (AGPL-3.0) with a cloud dashboard (SaaS), or self-host for enterprise. Start with BYOK or use our built-in providers for single-key access to all models. PAIG comes with smart routing defaults you can fully customize. Use with Pydantic AI for one-line integration or point any existing provider SDK at the gateway, your code stays the same.

1 user

U

Projects

View all

3 projects

AI Gateway

Unified access to LLM providers

OpenAI
Anthropic
Google Vertex
AWS Bedrock
Groq

API Keys

View all

5 keys

Top keys by usage
key_vuc...4E
key_Gnk...03
key_Q1Q...Mr

Providers

View all

8 providers

+ 5 more providers

Why use Pydantic AI Gateway?

One API, every model

One key, multiple models

Connect to models on OpenAI, Anthropic, Google, Groq, and AWS Bedrock with one API key. Access multiple providers instantly without swapping credentials.

Spend control that actually works

Flexible spend control

Set limits on your terms. Choose your level of control: project, user, or API key. Pick your timeframe: daily, weekly, monthly, or total.

Zero translation, full speed requests

No schema translation

Requests flow in each provider's native format. New model features are accessible as soon as they are released by providers.

Complete visibility

Send OpenTelemetry traces for full visibility

Log every request through Pydantic Logfire or any OTel backend. Create a centralized audit trail where no API usage can hide.

Your deployment, your choice

Self-hosting available immediately

Deploy to your Cloudflare account, or run on-premises with our consulting support. control the data and the infrastructure.

Enterprise without the wait

Enterprise without the wait

SSO with OIDC, granular permissions, and flexible deployment—ready now (not a roadmap promise).

No credit card required

Free while in Beta

Zero margin on built-in provider inference (we’ll eat the card fee for now)

Free for BYO key

Full pricing coming soon