Groq
Add very fast AI answers to your site with open models like Llama and GPT-OSS, using your own Groq account. Usage is billed to your Groq account.
Connect
- Open Settings > Connectors, click Groq, then Connect.
- console.groq.com/keys opens. Click Create API Key and copy it.
- Come back to WebTwizz. The key is picked up, checked with Groq and connected. You can also paste it into API key yourself.
If Groq rejects the key, you'll see That key was not accepted.
What you see
- Overview:
- The key works with a Working label, checked when you open it. Check again checks it now. Usage opens your usage on Groq. If Groq turns the key down, it reads Not accepted: replace the key or check billing.
- Test message: Send sends one short message to your model and shows how long the reply took, with Requests left a day and Tokens left a minute. It uses a few tokens, so it only runs when you press it. If it fails, it says why, like no credit left, a rate limit or a model the key can't use.
- Model: the model you picked, with its Input limit and Reply limit in tokens. If your key can't reach it, it says so: pick another under Settings.
- Live site errors: when your published site logs errors that mention Groq, the latest ones, each with the page and when. Ask the AI to fix starts a new chat that asks the AI to find the cause and fix it. Show more loads older ones.
- Account: the key, shown by its last four characters, with Replace key.
- Settings: Model, used whenever your app doesn't ask for a specific one. The list shows the chat models your key can use, newest first, with the recommended one marked. Speech and safety models are left out.
What the AI can do
The AI checks that your key works and which models it reaches, then uses those exact model names in your code.
Secrets
GROQ_API_KEY: your Groq API key, server-side onlyGROQ_MODEL: the default model,openai/gpt-oss-120bunless you pick another
Good to know
- Replacing the key under Account switches every project that uses it.
- Removing Groq from a project takes both secrets out. Your Groq account is untouched.