Your AI key (BYOK)
NashHQ does not pick or pay for the AI. You bring your own key (BYOK) from an AI provider, and that provider bills you for your agent's replies. NashHQ charges nothing for the AI.
Providers#
| Provider | Default model in the app | Base URL |
|---|---|---|
| OpenRouter (recommended) | google/gemini-2.5-flash |
https://openrouter.ai/api/v1 |
| OpenAI | gpt-4o-mini |
https://api.openai.com/v1 |
| Anthropic | claude-sonnet-5-5 |
https://api.anthropic.com/v1 |
| Google Gemini | gemini-2.5-flash |
https://generativelanguage.googleapis.com/v1beta/openai |
| DeepSeek | deepseek-flash |
https://api.deepseek.com |
The server adds /chat/completions to the base URL. These were checked against each provider's own documentation on
2026-11-28. Anthropic describes its OpenAI-compatible route as meant for testing, not as a long-term production route.
You can type any model name your provider offers. OpenRouter is the default because one key reaches many models.
What happens to your key#
- In your browser. When you press Save in this browser, the key is kept in this browser's local storage. It is not encrypted there, so anyone with access to this browser profile can read it. Forget the key removes it.
- With each message. The key travels over HTTPS to the NashHQ server in the
x-llm-keyheader of that one chat request. - On the server. The server passes the key to your provider for that one reply. It never logs the key and never writes it to disk or to the agent's memory.
- Only to known providers. The app tells the server which of the five providers you picked, and the server sends your key only to that provider's fixed URL above. A request cannot name any other URL.
Warning
Use a key with a spending limit set at your provider, and one you use only for NashHQ. If you think the key has leaked, delete it at your provider. That stops it everywhere at once.
Why BYOK#
- You choose the model and you see the cost on your provider's bill.
- NashHQ never holds a pool of AI credit that could be drained.
- Your agent keeps working with a different model or provider; its memory does not depend on the model.