# Configuration for any-llm-gateway # Database connection URL database_url: "postgresql://gateway:gateway@postgres:5432/gateway" # Server configuration - if you want to use a different port, change it here and in the docker-compose.yml file. host: "0.0.0.0" port: 8000 # Master key for protecting key macnagement endpoints master_key: bdab4b5261d6e6ed7173c999ababd7c66066d76d3a06c8506a880ecdcfb41bcd # Pre-configured provider credentials providers: # Uncomment and add your API keys for the providers you want to use: openai: api_key: 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 api_base: "https://api.openai.com/v1" # optional anthropic: api_key: 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 # mistral: # api_key: YOUR_MISTRAL_API_KEY_HERE # Add more providers as needed... # Model pricing configuration (optional but necessary for price tracking) # Format: "provider:model" -> input/output price per million tokens # Database pricing takes precedence - config only sets initial values # Prices are in USD per million tokens pricing: {} # See https://cloud.google.com/vertex-ai/generative-ai/pricing # vertexai:Qwen3-235B-A22B-Instruct-2507: # input_price_per_million: 0.25 # output_price_per_million: 1.00 # openai:gpt-5: # input_price_per_million: 0.25 # output_price_per_million: 1.00