# InferX (BYOK)

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


# InferX — Bring Your Own Key

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

## Get your API key

1. Sign in to the [InferX console](https://model.inferx.net/catalog/endpoints?tenant=public).
2. Open **Admin → Apikeys** and create an inference API key.
3. Copy the key and keep it for the **API key** field below.

## Gotchas

Use a tenant-restricted key, or set a default tenant on your InferX account. A key with no tenant context is rejected with `no tenant context`. AnyRouter calls the shared token-billed endpoint at `https://model.inferx.net/endpoints/v1`.

## Add it to AnyRouter

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

- Create key: [InferX console](https://model.inferx.net/catalog/endpoints?tenant=public)
- Default base URL (editable on the key form): `https://model.inferx.net/endpoints/v1`



## Related

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