---
title: Configuration
description: Configure AI Gateway settings including authentication, fallbacks, custom providers, and request handling.
image: https://developers.cloudflare.com/dev-products-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/ai-gateway/llms.txt  
> Use this file to discover all available pages before exploring further.

[Skip to content](#%5Ftop) 

# Configuration

Configure your AI Gateway with multiple options and customizations.

* [ BYOK (Store Keys) ](https://developers.cloudflare.com/ai-gateway/configuration/bring-your-own-keys/)
* [ Custom costs ](https://developers.cloudflare.com/ai-gateway/configuration/custom-costs/)
* [ Custom Providers ](https://developers.cloudflare.com/ai-gateway/configuration/custom-providers/)
* [ Manage gateways ](https://developers.cloudflare.com/ai-gateway/configuration/manage-gateway/)
* [ Request handling ](https://developers.cloudflare.com/ai-gateway/configuration/request-handling/)
* [ Fallbacks ](https://developers.cloudflare.com/ai-gateway/configuration/fallbacks/)
* [ Authenticated Gateway ](https://developers.cloudflare.com/ai-gateway/configuration/authentication/)

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/ai-gateway/","name":"AI Gateway"}},{"@type":"ListItem","position":3,"item":{"@id":"/ai-gateway/configuration/","name":"Configuration"}}]}
```
