Using your own API key for AI chatbots

Deskwoot lets you bring your own API key from OpenAI or Anthropic. This means you pay your provider's standard rates with no per-message fees from Deskwoot.

Updated September 30, 2026Also available in: Deutsch, Português

Bring your own OpenAI or Anthropic API key (BYOK) and pay zero to Deskwoot for AI usage. Available on Startup and above. Paste your key in Settings → Bots, pick the model, done — every AI conversation now bills directly to your account at the provider, bypassing our prepaid balance entirely. No quotas, no overage, no auto-recharge. The only limits are your own provider's rate limits.

Deskwoot lets you bring your own API key from OpenAI or Anthropic, giving you direct control over your AI chatbot costs. Instead of paying per-message fees to a third party, you pay your provider's standard rates,often resulting in significant savings. This approach is ideal for businesses that want transparency and predictable pricing as their support volume scales.

Supported providers

Deskwoot currently supports API keys from two leading AI providers:

  • OpenAI: GPT-4o, GPT-4, and GPT-3.5 models
  • Anthropic: Claude Sonnet and Claude Opus models

You can enter your API key directly in the bot settings within your Deskwoot dashboard. Once configured, your chatbot will use your account for all AI-powered responses.

How to set up your API key

  1. Obtain an API key from OpenAI or Anthropic by creating an account on their platform and navigating to the API section.
  2. Log in to your Deskwoot account and go to the bot settings page.
  3. Paste your API key into the designated field and select your preferred model.
  4. Save your settings. Your chatbot will now use your own API key for all conversations.

Cost comparison

When you use your own API key, typical costs range from $0.001 to $0.01 per message, depending on the model you choose and the complexity of the conversation. This is significantly cheaper than competitors who charge $0.99 to $2.00 per AI resolution. For high-volume support teams, this can translate to thousands of dollars in monthly savings.

Best practices

  • Start with a cost-effective model like GPT-3.5 or Claude Sonnet to test performance before upgrading to more advanced options.
  • Monitor your API usage through your provider's dashboard to track spending and set budget alerts.
  • Review your chatbot's conversation logs regularly to ensure the AI is providing accurate and helpful responses.

Common troubleshooting

If your chatbot stops responding, verify that your API key is still valid and that your provider account has sufficient credits. API keys can expire or be revoked if billing information is outdated. Also check that you've selected a supported model in your bot settings.

Frequently asked questions

Can I switch providers after setting up my API key?

Yes, you can change your API key and provider at any time in the bot settings. Your chatbot will immediately start using the new configuration.

Will I be charged by both Deskwoot and my AI provider?

No. When you use your own API key, you only pay your AI provider's standard rates. Deskwoot does not add per-message fees on top of that.

What happens if my API key runs out of credits?

Your chatbot will stop responding until you add credits to your provider account. It's a good idea to set up billing alerts with your provider to avoid interruptions.

BYOK and AI conversation metering

When your live chat bot runs on your own OpenAI or Anthropic key, the conversations it serves do not count against the monthly AI conversations included with your plan. You pay your provider directly and Deskwoot does not meter those calls.

The Copilot tools an agent uses on the same conversation (suggest reply, summarize, translate, detect language) always run on Deskwoot-managed AI and count normally. If both the BYOK bot and Copilot touch the same conversation in the same month, that conversation counts once (because of the agent-side Copilot action) rather than twice.

Frequently asked questions

Why would I use BYOK instead of Deskwoot-managed?
Cost at scale. If your team is doing thousands of AI conversations per month, the per-call cost on your direct OpenAI/Anthropic account is often lower than our managed pricing. Also: lets you choose exact model versions.
Where do I get an OpenAI API key?
platform.openai.com → API keys → 'Create new secret key'. Copy and paste into Settings → Bots. Same flow for Anthropic at console.anthropic.com.
Can I use both BYOK and Deskwoot-managed at the same time?
Yes, per inbox. One inbox can use your key, another can use ours. Useful for testing or for routing premium customers through a more expensive model.
Which providers are supported?
OpenAI or Anthropic. Pick one when configuring the bot and pass any model name your API key can call (a free-text string). Whatever model your provider exposes to your key, you can use here. Deskwoot-managed bots are powered by Claude on our side and aren't affected by the BYOK setting.
Is my API key stored securely?
Yes, encrypted at rest with envelope encryption and decrypted only at the moment of an outbound LLM call. Key never logged, never leaves our EU region, never visible after first save (only the last 4 chars shown).
What happens if my BYOK key gets rate-limited?
The current request fails with a clear error and the agent or visitor sees a retry prompt. We don't fall back to our managed key automatically — that would create surprise bills.
Can I rotate the key without downtime?
Yes. Add a new key under the same setting; the next request uses it immediately. Revoke the old key on your provider's side afterwards.
Does BYOK count against my AI conversation quota?
No. BYOK calls bypass our quota entirely. Your dashboard shows the count for reference but doesn't deduct from the prepaid balance.
Can I see my own usage in OpenAI / Anthropic?
Yes, on the provider's own dashboard. OpenAI usage shows up at platform.openai.com/usage; Anthropic equivalent on console.anthropic.com. We don't surface a per-call cost ourselves under BYOK because the actual billing happens entirely on their side; their dashboard is the source of truth.
What if I cancel my OpenAI / Anthropic account?
All AI features stop working until you add a new key or switch back to Deskwoot-managed (which requires a paid plan with prepaid balance). Visitors and agents see a polite 'AI temporarily unavailable' message.
Is BYOK available on the Hacker plan?
No. Hacker uses our Deskwoot-managed setup with the 10-conversation included quota. BYOK starts on Startup plan.

Deskwoot interactive demo