Step 7 of 12
Your own API keys
You can run PromptPrinter on your own model access. Then everything goes through your own provider account, without message limits.
By Kasum BajramiUpdated
Why use your own API key?
Without a key, your first three prompts run on my model access, but not after that: for everyone and without end, that would simply be unaffordable for a one-person project. If you add your own key, you pay for the model directly with your provider, and there's no message limit.
That's also why PromptPrinter can stay free and isn't a trial: with your own key, it costs you nothing.
How do I get a free Gemini key?
If you don't have a key yet, Google's is the easiest way. Here's how to get one:
- Open Google AI Studio and sign in with your Google account.
- Click Create API key and copy the key.
- Paste it into PromptPrinter, as described in the next section.
Google's free access has limits, which you can see in AI Studio. About your data: according to Google's terms, in the EU, Switzerland and the UK the rules of its paid services apply to the free access too. Elsewhere, Google may use input from the free access to improve its products.
How do I set up my API key?
Under Settings → Your own API keys, just paste your key; I recognise which provider it's from by the key itself. Before it's saved, it's used once as a test, so a typo or an expired key shows up straight away and not in the middle of your work.
Which providers are supported?
- Anthropic (Claude)
- OpenAI
- Google Gemini
- Your own endpoint, for anything that speaks the OpenAI-compatible API: Z.ai, DeepSeek, Groq, OpenRouter, your own gateway. Here you also enter the address and the model name.
How is my API key stored?
Encrypted, with AES-256-GCM. The encryption key is kept on the server, outside the database, so a copy of the database alone doesn't yield usable keys. Your key is never shown again after saving; you can only replace or remove it.
What changes with your own key?
- Your requests run through your provider account, not mine.
- After the three free prompts, you keep chatting without a message limit, see Plans and limits.
- The hourly abuse protection stays in place; it protects the server, not the budget.
- The model costs appear on your bill from the provider.
What is checked for your own endpoint?
If you enter your own address, it must use https and point to a publicly reachable destination. Addresses that point into internal networks are rejected. This is a security measure against misuse of the server and can't be bypassed.
How do I remove my key?
You can delete a key at any time in the same settings. If you delete the last one, you only have the three free prompts left, as far as you haven't used them up; after that, no chat runs without a key. Your chats and projects are kept, and you can add a new key again at any time.