ProvidersGroqAPI Key
This page is about creating an API key with Groq. For an All AI Ask key, see /api-keys.

How to Get a Groq API Key

How do I get a Groq API key?

Sign in to Groq's console, create a new API key, and copy it immediately — it is shown only once. No payment method is required to generate the key itself. Set it as GROQ_API_KEY in your environment; full steps below.

Verified 2026-08-09 source

Steps

  1. Sign in at console.groq.com and open API Keys.
  2. Click "Create API Key", name it, and confirm.
  3. Copy the key immediately — Groq shows the full value exactly once.
  4. No payment method is required to start: Groq's free tier covers initial testing under its per-minute and per-day token caps.
  5. Set it as GROQ_API_KEY in your environment, never committed to source control.

Key facts

Env varGROQ_API_KEY
Payment required before first callNo
Scoped to project/orgNo
Shown onceYes
Revoke a key →

FAQ

Do I need a credit card to get a Groq API key?

No — you can generate the key without a payment method, though usage limits stay low until you add one.

Can I see my Groq API key again after closing the page?

No — Groq shows the full key value exactly once. If you lose it, revoke it and create a new one.

Is this the same as an All AI Ask API key?

No. This page is about creating an API key with Groq directly, for calling their API yourself. For an All AI Ask key — one key that routes to Groq and every other provider we support — see /api-keys.

Groq provider hubGroq rate limits