Skip to content

Get AI keys (Gemini, OpenAI, Claude, Groq)

Where to create API keys in Google AI Studio, OpenAI and Anthropic, plus billing and limit tips.

HiveChat supports four AI providers: Google Gemini, OpenAI, Anthropic Claude and Groq. Add several keys per provider — same-priority keys share the load, and the newest active model is picked automatically (Auto). You bring your own keys, so you pay providers directly and stay in control of cost.

Google Gemini

  1. Open Google AI Studio and sign in.
  2. Click Get API key → Create API key and choose a Google Cloud project.
  3. Copy the key (it starts with AIza).

Gemini has a free tier for testing; enable billing on the Cloud project for production traffic.

OpenAI (ChatGPT)

  1. Open platform.openai.com → API keys.
  2. Click Create new secret key, name it “HiveChat”, and copy it (it starts with sk-).
  3. Add a payment method and credits under Billing — keys without credit fail with “no quota”.

Anthropic (Claude)

  1. Open console.anthropic.com → API keys.
  2. Click Create key and copy it (it starts with sk-ant-).
  3. Buy credits under Plans & billing.

Groq (fast, free tier)

  1. Open console.groq.com → API Keys.
  2. Click Create API Key and copy it (it starts with gsk_).

Groq is very fast and has a generous free tier, so it makes a great first or backup key.

Add keys to HiveChat

Open AI keys → Add key, choose the provider, give it a label, paste the key, optionally pick a model, and save. We make a tiny test call to validate it, then store it encrypted. Afterwards you only ever see a masked hint.

Drag keys to set the failover order (or use the arrow buttons). See How AI failover works.

Billing & limits tips

  • Add two providers so a quota problem never stops your bot.
  • Set a monthly spending limit in each provider's console.
  • Use fast, affordable models (for example Gemini Flash, GPT-4.1 mini or Claude Haiku) for chat — they're plenty for sales conversations.
  • Watch Est. AI cost on the dashboard; it's an estimate — your provider's bill is the source of truth.
  • Rotate keys if you suspect a leak: add the new key first, then delete the old one.

Was this guide helpful?