8. šŸ” Bring Your Own Key (BYOK)

Want more control, better pricing, or access to the latest AI models? With Bring Your Own Key (BYOK), you can connect your own LLM provider (like OpenAI) and power your AgenticFlow AI agents with your own credentials.

:key: What is BYOK?

BYOK lets you plug in your own API key from supported providers—such as OpenAI—to use your preferred model, control usage limits, and monitor costs directly through your provider account.

Use BYOK in Workflow Builder

User BYOK in Agent Builder

:white_check_mark: Why Use BYOK?

Benefit Description
Lower Costs Pay only for what you use—billed directly by your LLM provider.
More Flexibility Choose between GPT-4.1, Claude 4, Gemini 2.5 Pro, DeepSeek R1-0528, or future models as they release.
Larger Context Windows Use advanced models with up to 1M token limits (Gemini 2.5 Pro).
No Platform Limits Use your own usage caps instead of relying on AgenticFlow credits.
Improved Privacy BYOK lets you opt out of usage logging on some platforms like OpenAI.

:wrench: How to Set It Up

  1. Go to Connections
  2. Select ā€œOpenAIā€
  3. Paste in your OpenAI API Key (or other supported provider)
  4. Test the connection
  5. Done! Your workflows will now use your personal key

:brain: You can even assign BYOK usage to specific agents or steps in a workflow for maximum flexibility.


:locked_with_key: Privacy Notes

  • Your API KEY will be encrypted and stored using PKCS1_OAEP technology.
  • Requests using BYOK are sent directly to your provider
  • You’re in control of your usage, billing, and data policies

:pushpin: Need Help?
Visit the BYOK Setup Guide → or ask in Need Help? :sos_button: