Skip to main content

Configuration Overview (File Based)

You can directly use the UI (http://localhost:{port}/providers) to configure the providers.
Provider configuration in config.json defines:
  • API credentials and key management
  • Supported models for each provider
  • Network settings and retry behavior
  • Concurrency controls and performance tuning
  • Provider-specific metadata (regions, endpoints, etc.)

Basic Provider Setup

OpenAI

Anthropic


Advanced Provider Configuration

AWS Bedrock

Azure OpenAI

Google Vertex AI


Key Management

Multiple API Keys

Balance load across multiple keys:

Model-Specific Keys

Different keys for different models:

Network Configuration

Custom Headers and Timeouts

Proxy Configuration


Performance Tuning

Concurrency Controls

High-Volume Configuration

For production workloads:

Multi-Provider Setup

Production Configuration


Environment Variables

Required Variables

Set these environment variables before starting Bifrost:

Docker Environment


Testing Configuration

Validate Provider Setup

Configuration Validation

Architecture: For provider selection algorithms and load balancing, see Architecture Documentation.