> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# BYOKKeyDeclaredRegion

Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, only Azure accepts `europe` or `us`.

## Example Usage

```python theme={null}
from openrouter.components import BYOKKeyDeclaredRegion

# Open enum: unrecognized values are captured as UnrecognizedStr
value: BYOKKeyDeclaredRegion = "global"
```

## Values

This is an open enum. Unrecognized values will not fail type checks.

* `"global"`
* `"europe"`
* `"us"`
