Use Groq in your terminal
Groq is known for very fast answers and has a free tier, which makes it a good first provider.
Set up
Section titled “Set up”- Create an API key at https://console.groq.com/keys.
- Run
kunji keys add groqand paste the key. kunji checks it works, then stores it in your OS keychain. - Pick a default model from the list (type to search).
- Run
kunjiand start chatting.
Details
Section titled “Details”| Provider id | groq |
| Type | OpenAI-compatible API |
| API address | https://api.groq.com/openai/v1 |
| Key variable | GROQ_API_KEY |
Use it
Section titled “Use it”kunji models groq # see available modelskunji use groq:<model> # make one your defaultkunji chat -m groq:<model> # or chat with it onceInside a chat, switch to it with /model groq:<model>; the conversation carries over.
Use an environment variable instead
Section titled “Use an environment variable instead”For CI or scripts you can skip the keychain:
export GROQ_API_KEY=your-key-herekunji ask -m groq:<model> "Hello"