Skip to main content
The ABV Gateway provides an OpenAI-compatible API that routes requests to multiple LLM providers (OpenAI, Anthropic, Google)

Basic Chat Completion


Switch Providers

Use the same code with different providers by changing provider and model.

Streaming Responses


Gateway with Tracing Context

Combine gateway calls with tracing for full observability.

Cost Tracking

Gateway calls automatically track token usage and costs. Access via the trace.

Model Parameters

Full OpenAI-compatible parameter support.

Provider Fallback Pattern

Implement fallback logic when a provider fails.

Using Managed Prompts with Gateway

Fetch prompts from ABV and use them with the gateway.

Guardrails Patterns

Next: Content validation and safety

LLM Gateway Guide

Reference: Full gateway documentation