Skip to main content
idapt
HomeAI ModelsPricing
Sign inStart free
Blog

Bring Your Own Keys: BYOK in Practice

Richard Morel· Founder·July 16, 2026·Last reviewed July 16, 2026

BYOK (bring your own key) means your OpenAI, Anthropic, Google, or other provider keys plug into idapt, and matching requests bill straight to your provider accounts. You get the workspace; the tokens stay on your terms.

When BYOK is the right call

  • You have provider credits or committed spend to use up.
  • Your organization requires its own data agreements on model traffic.
  • You want provider-level rate limits and billing visibility for a workload.

And when it is not: if you just want simplicity, platform billing (one meter, prices shown in the app, no keys to rotate) is less to manage. The point is that it is a per-request routing decision, not a product choice.

Setting it up

  1. Open the Gateway settings and add a provider connection with your key. Keys live in the encrypted secrets vault: never logged, never shown back.
  2. Matching models route on your key from then on; replies attribute which lane served them.
  3. Repeat per provider as needed. Local models via Ollama are the third lane: free and on your hardware.

The three lanes, together

A realistic setup: Anthropic traffic on your corporate key (data agreement), everything else on platform billing (simplicity), extraction jobs on a local model (free volume). One workspace, three billing realities, chosen per request by routing rules rather than by juggling apps.

Good to know

  • BYOK requests are not metered against platform usage; your provider's own limits apply instead.
  • Custom OpenAI-compatible endpoints connect the same way, including self-hosted servers.
  • The gateway's OpenAI-compatible API works with BYOK too: your code, your keys, the whole catalog's interface.
  • What is BYOK covers the concept; the AI Gateway feature page covers governance (allow-lists, workspace ceilings).

If you already pay a provider directly, connect that key first and watch the attribution on your next few replies: the routing is visible, which is what makes it trustworthy.

GuideAPIModels

Found this helpful? Share it:

  • When BYOK is the right call
  • Setting it up
  • The three lanes, together
  • Good to know

Continue reading

  • Capability-Matched Cost Cutting: Pay for the Ceiling You Use

    Most AI spend goes to flagship models doing non-flagship work. How to match benchmark tier to task tier, verify the swap, and keep quality where it matters.

  • One Prompt, Five Models: Comparing Side by Side

    How to run the same prompt across several models in idapt with parallel tabs, when triangulation beats trusting one answer, and how to pick a keeper.

  • Generate Images Side by Side

    How to run one image brief across two models in idapt, which model fits which job, and how iteration works when generation lives inside your chats.

  • How the Auto-Router Picks Your Model

    What idapt's Auto mode actually does: how it matches a prompt to a model tier, when it escalates, what it costs, and when to pin a model instead.

Explore idapt

  • Best of: the picks by job

    Data-backed model picks for coding, writing, research, and media.

  • One API key for every model.

    OpenAI-, Anthropic-, and OpenRouter-compatible endpoints with routing you control.

  • One chat. Every model.

    GPT, Claude, Gemini, Grok, Llama: pick mid-conversation, cheapest-first.

  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Secrets
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • Code Execution
  • Computers
  • Computer Use
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Learn
  • Free tools
  • Prompts
  • Templates
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)