# Groq (BYOK)

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


# Groq — Bring Your Own Key

Route requests through your own Groq account ([BYOK](/features/byok)); no platform credits are charged. You need a API key string.
This provider has a free tier or free credits.

## Get your API key

1. Log in to the [Groq Console](https://console.groq.com/).
2. Open **API Keys** in the sidebar.
3. Click **Create API Key**, enter a name, **Create**, and copy it immediately (`gsk_...`).

## Gotchas

Groq has a free tier; keys begin with `gsk_`.

## Add it to AnyRouter

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

- Create key: [Groq console](https://console.groq.com/keys)
- Default base URL (editable on the key form): `https://api.groq.com/openai/v1`



## Related

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