# OpenGateway (BYOK)

> Create an API key for OpenGateway and add it to AnyRouter.


# OpenGateway — Bring Your Own Key

Route requests through your own OpenGateway account ([BYOK](/features/byok)); no platform credits are charged. You need a API key string.

## Get your API key

1. Sign in to the OpenGateway console.
2. Create a new API key and copy it now; most providers show it once.

## Add it to AnyRouter

1. Open **[Dashboard → BYOK](https://anyrouter.dev/dashboard/byok)**, find **OpenGateway** under **Available** and click **Add key**.
2. Paste the key.
3. Click **Save**. AnyRouter validates the key against OpenGateway first; on failure the dialog shows the upstream error and nothing is saved.

- Create key: [OpenGateway console](https://opengateway.ai)
- Default base URL (editable on the key form): `https://apis.opengateway.ai/v1`



## Related

- [BYOK Provider Setup Guide](/docs/features/byok-providers.md)
- [Bring Your Own Key (BYOK)](/docs/features/byok.md)
