How to Set Up BYOK in Chapeta
Set up Bring Your Own Key in Chapeta in under 5 minutes. Get your OpenRouter API key, paste it in, and start using 300+ AI models at cost.
BYOK (Bring Your Own Key) lets you use your own API key with the Chapeta agent. You pay $20/month for the Chapeta plan, and OpenRouter bills the tokens you consume to your key. Most users spend $3-8/month on tokens.
This guide walks through the complete setup from download to first message.
Step 1: Download Chapeta and Unlock BYOK
- Download Chapeta - no account needed
- Open Chapeta from the menu bar (look for the icon in your top menu bar)
- Go to Settings and select the Chapeta plan
- Subscribe for $20/month
The Chapeta plan unlocks the bundled Chapeta agent: all 300+ OpenRouter models, 11 built-in Mac tools and 15 built-in skills. You supply your own OpenRouter key, and model usage is billed to it.
Step 2: Create an OpenRouter Account
OpenRouter is a unified API gateway. One account, one key, one balance, with access to models from OpenAI, Anthropic, Google, Meta, DeepSeek, Mistral, and dozens more.
- Go to openrouter.ai and click Sign Up
- Create an account with Google, GitHub, or email
- Navigate to Credits in the dashboard
- Add $5-10 to start
How far does $5 go? It depends on the model, but roughly:
- 500+ GPT questions with short answers
- 1,000+ Claude questions
- 5,000+ questions with lightweight models like Llama
For a deeper look at OpenRouter, see How to Use OpenRouter on Mac.
Step 3: Create and Copy Your API Key
- In the OpenRouter dashboard, go to Keys
- Click Create Key
- Name it something recognizable like “Chapeta”
- Copy the key - it starts with
sk-or-
Keep this key private. Anyone who has it can spend your credit.
Optional: set a credit limit on the key. OpenRouter lets you cap how much a single key can spend. This is a good safety net if you want to make sure a runaway conversation does not burn through your balance.
Step 4: Paste Your Key in Chapeta
- Open Chapeta from the menu bar
- Go to Settings (gear icon)
- Paste your OpenRouter API key
- Done - Chapeta stores it in macOS Keychain, encrypted by the OS
Your key never leaves your Mac unencrypted. When you send a message, the key is transmitted through a secure connection to authenticate with OpenRouter.
Step 5: Pick a Model and Start Chatting
Click the model selector in Chapeta. You will see models organized by provider. A few starting points:
- Everyday questions: Claude Haiku, Gemini Flash, or Llama - fast and cheap
- Complex reasoning: Claude Opus, GPT, or o1 - for deep analysis
- Coding: DeepSeek or Claude Sonnet - strong at code generation and review
- Long documents: Claude (200K context), Gemini Pro (1M context) - for reading entire files
You can switch models between messages in the same conversation. Start with a cheap model and switch to a premium one when the question demands it.
Managing Your Costs
With BYOK you pay per-token, so here are a few habits that keep costs predictable:
- Match model to task. Do not use a premium model for a yes/no question. Use a lightweight model for simple tasks.
- Start fresh conversations. Long conversations send the entire history with each message, increasing token usage. Start a new chat when you switch topics.
- Set a key credit limit. In the OpenRouter dashboard, you can cap spending per key. Set it to $10-20/month and adjust as you learn your usage pattern.
- Check the OpenRouter dashboard. It shows real-time usage, per-model costs, and remaining balance. Check it weekly until you get a feel for your spend.
Typical BYOK users spend $3-8/month. Light users (a few questions per day) often spend under $2/month. Heavy users who run long coding sessions or analyze documents may spend $10-15/month. OpenRouter bills this to your key, on top of the $20/month Chapeta plan.
Free vs Chapeta: Which Plan to Pick
Not sure if BYOK is right for you? Here is the quick comparison:
- Free ($0): The whole app and every ACP agent (Codex, Claude, Cursor, GitHub Copilot, Gemini, Grok, OpenCode, Cline, Devin). You sign in to each agent with your own account. Best if you already pay for one of those agents.
- Chapeta ($20/month): The bundled Chapeta agent on your own OpenRouter key and credit. Best if you want 300+ models from every provider in one place.
Both plans give you the same app: hotkey panel, tabs, history, skills and voice input. The difference is which agent does the work.
If you want zero setup, start on Free with an agent account you already have. If you want every model on one key, go to the Chapeta plan with a small amount of OpenRouter credit.
Troubleshooting
“Invalid API key”: Make sure you copied the full key including the sk-or- prefix. Re-copy it from the OpenRouter dashboard.
“Insufficient credits”: Your OpenRouter balance is empty. Add more credit in the OpenRouter dashboard.
“Model unavailable”: Some models hit capacity limits during peak hours. Try again in a moment, or switch to an alternative model from the same provider.
Key not saving: Chapeta stores the key in macOS Keychain. If Keychain access is restricted (for example, by a corporate MDM policy), the save may fail. Check System Settings > Privacy & Security > Keychain Access.