# How to set up BYOK in Kilo Gateway for DeepSeek, AWS Bedrock, MiniMax, Z.ai, and 15+ more providers

> Source: <https://blog.kilo.ai/p/how-to-set-up-byok-in-kilo-gateway>
> Published: 2026-06-03 12:56:14+00:00

# How to set up BYOK in Kilo Gateway for DeepSeek, AWS Bedrock, MiniMax, Z.ai, and 15+ more providers

[You can now](https://blog.kilo.ai/p/kilo-gateway-now-supports-byok-20-providers) 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](https://blog.kilo.ai/p/why-use-byok-through-kilo-gateway) 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.

# How to set up BYOK in Kilo Gateway

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!
