Use Your Own AI Key With a Discord Bot: Setup, Groups and Fallback
You can use your own AI key with a Discord bot so its AI features run on your account and your limits. In Noxyr, add a key under AI Limits and every AI feature in that server uses it: AI chat, ticket AI and Build with AI. If keys run out, Noxyr's own AI answers instead.
Why bring your own key
By default Noxyr does not ask for an API key. Its AI uses shared providers, and each server has limits, such as up to 6 AI chat replies a minute. A busy support channel can hit that. With your own key, only your provider's limit applies, and you control the model and the cost.
Which providers
Noxyr supports OpenRouter, Groq, NVIDIA and Token Harbor. Each has a Get a key button on the settings page that opens its key page. You can add as many keys as you like, from one provider or several, and switch each on or off, rename it, test it or delete it.
Provider rules apply to your key. NVIDIA's free keys are meant for testing, not for a busy server.
Add a key
- Open AI Limits. In the dashboard go to AI, then AI Limits.
- Pick a provider. Under Your own AI providers, press Get a key and make a key on the provider's site.
- Paste and name it. Add a name and a group if you like, then press Add key.
- Test it. Press Test to check it answers.
Only the server owner and Administrators can add, change or delete keys.
Groups, models and fallback
| Setting | What it does |
|---|---|
| Groups | Keys in Group 1 are used first and shared between them. Then Group 2, and so on. A limited key is skipped until it is back. |
| Model | Leave it on Auto and Noxyr picks free models that do the job, so it never spends your money. Or pick one model from the provider's list. |
| Usage | Calls and tokens for today and all time, what the provider says is left, and OpenRouter credit. |
| All keys down | Noxyr's own AI answers again, so AI in your server does not stop. Your key is used again as soon as it works. |
A common layout: a free provider in Group 1, a second account as a backup in Group 2, and Noxyr's AI as the last safety net.
What runs on your key
Every AI feature in that server, on Discord and on the dashboard: AI chat, ticket AI (FAQ answers, priority, panel and channel hints, the Close button) and every Build with AI button, including the AI builder. The key is only used for that server.
How your key is protected
- Encrypted. Keys are saved encrypted and the dashboard shows only the last 4 characters.
- One person, one key. A key someone else already saved is refused, because sharing keys breaks most providers' rules.
- Gentle usage. The bot rests a key when the provider says nothing is left, waits when told to slow down, and lets each member send one AI message every few seconds. Nothing pings your key in the background.
- You get told. If a key is rejected or keeps hitting its limit, whoever added it gets one DM a day, plus a phone alert if Phone Alerts is set up.
Set a spending cap at the provider if it offers one. The Auto model setting aims at free models, but your account is still your responsibility.
Is it worth it
It depends on the size of your server. A small community that uses AI chat a few times a day will not hit Noxyr's limits and does not need a key. A support server where many members ask questions at once, or an owner who uses Build with AI often, gets more from a key. Start without one and add it the first time the bot tells members to wait.
Checking that it works
After adding a key, press Test and then ask the bot a question in your AI channel. The usage numbers on the same page should move: calls and tokens for today go up. If they do not, the key may be switched off, in a lower group that is not needed yet, or rejected by the provider. A rejected key triggers the daily DM described above.
Related reading
If the limit was your problem, check whether a better system prompt would cut the number of replies, see AI chatbot for support. The feature page is Discord AI chatbot, and the full reference is Your own AI keys.
Common questions
Can I use my own AI API key with Noxyr?
Yes. Add a key from OpenRouter, Groq, NVIDIA or Token Harbor under AI, then AI Limits. Every AI feature in that server then runs on it.
What happens when my key runs out?
Noxyr's own AI answers again, so AI never just stops. When your key is back, it is used again.
Are my keys stored safely?
Keys are saved encrypted and the dashboard shows only the last 4 characters. Only the owner and Administrators can add, change or delete keys.
Can I add more than one key?
Yes. Add several and put them in groups. Group 1 is used first, then Group 2, and a limited key is skipped until it recovers.