# Bring Your Own Key (BYOK)

> Bring your own key (BYOK) lets a Taskade workspace run AI agents, Taskade EVE and automation steps on your own AI provider account. Pro and up for OpenAI, Anthropic and Google keys.

- Source: https://www.taskade.com/wiki/platform/bring-your-own-key
- Section: Platform
- Index of all pages: https://www.taskade.com/wiki/llms.txt

**Bring your own key (BYOK) is the option to run Taskade AI on an AI provider account that you already pay for.** You paste an API key from a provider such as OpenAI, Anthropic or Google into your workspace. Then your AI agents, [Taskade EVE](https://www.taskade.com/wiki/genesis/eve) and your automation steps can send their requests to that account. Your provider bills you for each model call.

> **TL;DR:** On Pro and up, add an OpenAI, Anthropic or Google key under **Connections**, then **AI Model Keys**. Business and up can also add keys from more AI providers. A request runs on your key when its model comes from that provider. Taskade EVE steps and automation steps on your key use a fixed step fee in Taskade credits. [Learn: Bring your own AI keys](https://www.taskade.com/learn/account/enterprise-byok)

## What Is Bring Your Own Key?

Bring your own key splits the AI bill in two parts. Your provider bills the model call on your own account, with your own rate limits. Taskade still runs the workspace: the agents, the memory, the automations and the apps. A key does not give you unlimited AI in Taskade. Some steps on your key use a step fee in credits.

| Where your key works | Plan | What Taskade charges |
|---|---|---|
| Custom AI agents | Pro and up | Agent steps on your key are included each month, then a step fee in credits applies. A daily cap applies |
| Taskade EVE, when you pick a model under **Your keys** | Pro and up | A fixed step fee in credits for each step |
| Built-in AI steps in automations | Pro and up | A fixed step fee in credits for each step |
| Keys from more AI providers, such as xAI and Groq | Business and up | Each provider serves different places. Many of these keys work only on an agent where you pick the key. See the Learn guide |

## How Bring Your Own Key Works

The model decides which key Taskade uses. If you pick a model from a provider that you added, the request goes to your account. **TSK-Auto** and the TSK tiers are the exception for Taskade EVE and for automation steps: they use Taskade credits, even when you added a key. An agent on **Auto** can use your key when Auto picks a model from your provider.

```text
  AI request (agent, Taskade EVE or automation step)
          │
          ▼
  which provider makes this model?
          │
          ├─ a provider you added ──► your key
          │     ├──► your provider bills the call
          │     └──► step fee in credits, if one applies
          │
          └─ TSK-Auto, other provider ──► Taskade credits
```

1. Get an API key from your AI provider.
2. In Taskade, open **Connections**, then **AI Model Keys**, and add the key for the space.
3. Pick a model from that provider on an agent, under **Your keys** in the Taskade EVE model menu, or on an automation step. Do not leave the step on **TSK-Auto**.

## What Happens When a Key Fails

A key can fail when the provider refuses it or when the provider account runs out of funds. The **AI Model Keys** panel has a switch named **Use Taskade credits when a key fails**. The switch is on by default. If it is on, the reply runs on Taskade credits and shows a short notice. If it is off, the reply stops and asks you to fix the key. Public agents never fall back to credits.

## When to Use Bring Your Own Key

Use your own key when your company already has an AI provider contract, when you need your own rate limits, or when you want AI costs on the bill of your provider. Use Taskade credits when you want one bill and the model choice of [TSK-1](https://www.taskade.com/wiki/genesis/tsk-1). The [TSK-1 benchmark](https://www.taskade.com/wiki/genesis/tsk-1-benchmark) shows how models compare on real app builds.

## Related Concepts

- [TSK-1 (Taskade System Kernel)](https://www.taskade.com/wiki/genesis/tsk-1)
- [Model Routing](https://www.taskade.com/wiki/platform/model-routing)
- [Model Access](https://www.taskade.com/wiki/ai-agents/model-access)
- [Automation Runs](https://www.taskade.com/wiki/automation/automation-runs)

## Frequently Asked Questions About Bring Your Own Key

### What is BYOK in Taskade?

BYOK means bring your own key. You add an API key from your AI provider to your Taskade workspace. Agents, Taskade EVE and automation steps on a model from that provider then run on your provider account.

### Which Taskade plans support bring your own key?

Pro and up can add OpenAI, Anthropic and Google keys. Business and up can also add keys from more AI providers. The Free and Starter plans do not include bring your own key.

### Does my own key make Taskade AI free?

No. Your provider bills each model call. Taskade EVE steps and built-in automation AI steps on your key also use a fixed step fee in Taskade credits. Agent steps on your key are included up to a monthly amount, and then the step fee applies.

### What happens if my AI key stops working?

By default, the reply runs on Taskade credits and shows a short notice. Turn off **Use Taskade credits when a key fails** to stop the reply instead. Public agents never fall back to credits.

## Further Reading

- [Learn: Bring your own AI keys (BYOK)](https://www.taskade.com/learn/account/enterprise-byok)
- [Learn: Bring your own AI key in automations](https://www.taskade.com/learn/connect/byok-ai-integration)
- [AI model key providers](https://www.taskade.com/models/providers)
- [Developer docs: Models](https://www.taskade.com/docs/models)
- [Update: Introducing TSK-Bench](https://www.taskade.com/blog/tsk-bench-leaderboard)
