You can now bring your own key (BYOK) on the Kilo Gateway across 20 providers: Pay-as-you-go API keys work for: Anthropic, AWS Bedrock, Chutes, DeepSeek, Fireworks, Google AI Studio, Inception, MiniMax, Mistral AI, Moonshot AI, Novita, Ollama Cloud, OpenAI, Perplexity, xAI, Xiaomi, and Z.ai.
Coding-focused subscriptions work with: BytePlus Coding Plan, Kimi Code, Mistral Codestral, Neuralwatt, Xiaomi Token Plans (Europe and Singapore), and the Z.ai Coding Plan.
By bringing your own key to Kilo, you get more than you would by using your provider directly: advanced usage and cost analytics, access across the full Kilo product suite, and more. In this tutorial, we’ll show you how to set it up.
Important: Kilo Gateway adds 0% markup on top of your provider’s rates. You bring your own key and get billed directly by the provider.
Go to the Bring Your Own Key (BYOK)
[page](https://app.kilo.ai/byok)
To add a key, click the “Add Key” button in the top right
You will see a new “Add API key” window. Click the “Provider” dropdown to select a provider.
After you select a provider, add the corresponding API key. Then click “Save”.
To test the connection with the provider, click the lab icon. If you hover over it for a few seconds, you’ll see the “Test API key” tooltip.
If the connection fails, you’ll see this message:
If the connection is successful, you’ll see this message:
Here’s a video version of the whole process:
Hope you found this useful!