Skip to main content
FlowFn
IntegrationsTemplatesPricingDocsBlogSign inStart free
All posts
AIByokGovernanceTutorial

Your AI, Your Key — BYOK & Model Governance in FlowFn

FlowFn's AI features run on a model — the AI chat, the agent, the "generate with AI" buttons. By default that's FlowFn's shared key, billed against your credits. But you can also point them at your own OpenAI, Anthropic, Gemini, or Grok key, so your provider bills you directly and your usage isn't metered. And on the plan side, admins can govern which models run on the shared key. This is where you choose the AI, and who pays for it.

FlowFn Team · Product

16 Jul 2026 · 4 min read

Every AI feature in FlowFn resolves to a provider + model + key source, and you control all three from one place — My Account → AI assistant:

The AI assistant preferences: provider, model, and where the key comes from

Pick a provider (OpenAI, Google Gemini, Anthropic Claude, or xAI Grok) and a model (the code-preferred one is flagged ★ best for code), then choose where the API key comes from — the crux of the whole feature:

  • Use FlowFn's AI — the default. The model runs on FlowFn's shared key, and usage is billed against your team's credits. Nothing to set up.
  • Use team's default AI — your team's connected key for that provider. No credits charged; it falls back to FlowFn's AI if the team hasn't set one.
  • Use my own API keyBYOK. Paste your provider key and it runs on that. No FlowFn credits charged — your provider bills you directly. You can cap max tokens per message and Test connection before saving.

That's it: the same AI features, but you decide whether they run on FlowFn's key (convenient, metered) or your own (bring your own billing).


Why BYOK

Two reasons teams reach for their own key:

  1. Billing. BYOK usage doesn't consume FlowFn credits — your OpenAI/Anthropic/etc. invoice covers it. If you already have committed spend with a provider, this puts your FlowFn AI on it.
  2. Freedom. BYOK bypasses the plan's AI restrictions entirely — because FlowFn only governs what it pays for. Which brings us to governance.

Governance: what the plan controls

On the shared (FlowFn) key, a plan can restrict which providers and models are available — an allow-list of models, or an excluded-provider list. When a provider is restricted on your plan, the pane says so plainly:

The AI assistant pane showing a provider that's BYOK-only on the plan

Here Google Gemini is "BYOK only on your plan" — the Use FlowFn's AI option is blocked for it, and the pane nudges you to pick another provider or bring your own key. The key thing to understand: these gates are system-key only. A model that's restricted on FlowFn's key still works the moment you switch that provider to your own key. You govern the shared key; BYOK is always yours.

There's also a global kill-switch an admin can flip to turn all AI off across the platform — and that one stops everything, BYOK included, since it's a hard "AI is off right now" at the top of the stack.


How billing works (the short version)

  • FlowFn key (system): metered. Chat and code usage is charged by tokens (times your plan's AI multiplier); a workflow's AI-model task is charged a flat per-call credit. All of it debits the team owner's credits.
  • Team or your own key (BYOK): for the AI assistant (chat, agent, "generate with AI"), not metered — your provider bills you, no credits, no plan model-gates. (A workflow's AI-model task on a BYO key still costs a small flat orchestration credit, but no token-based charge and no model tiering.)

So "should I BYOK?" comes down to: happy to spend FlowFn credits and stay on the models your plan allows → use FlowFn's AI; want your own billing and any model → bring your own key.


Wrap-up

FlowFn's AI meets you where you are: use its shared key and pay in credits, use your team's key, or bring your own and pay your provider directly — chosen per user, per provider, in one settings pane. Plan-level governance (allowed models, excluded providers, a global kill-switch) keeps the shared key in bounds, while BYOK stays entirely under your control — and off the meter for AI-assistant usage.

If you have a provider account already, set your AI source to your own key and hit Test connection — your agents and AI features keep working, now on your billing. Finally, we'll pull the money story together: Billing, credits & cost guards. Own the key, own the bill — and the model choice comes with it.

Read next

Use-Case
AI
Analytics

Build a Feedback & NPS Pipeline with FlowFn

Most feedback dies in a spreadsheet nobody reads. The value isn't in collecting responses — it's in knowing, this week, what people love, what they're frustrated by, and which unhappy customer needs a call today. FlowFn turns raw survey answers into that: a form collects responses, an AI step scores each one's sentiment and tags its theme, detractors trigger an alert, and a live dashboard shows the trend.

FlowFn Team · 16 Jul 2026 · 3 min read

Use-Case
AI
Support

Build an AI Help Chatbot from Your Docs with FlowFn

Your help center already has the answers — customers just won't read it. An AI assistant that reads your docs for them, answers in plain language, cites the source article, and hands off to a human when it's stumped will deflect most of your repetitive tickets. You can build one in FlowFn without training a model or wiring up a vector database: put your articles in a Data Sheet, point an Agent at them, and embed the widget.

FlowFn Team · 16 Jul 2026 · 3 min read

Use-Case
Sales
AI

Build a Lead-Scoring Pipeline with FlowFn

Marketing sends over a pile of leads; sales works the loud ones and the good ones go cold. The fix isn't a bigger CRM — it's a pipeline that captures every lead, scores it the moment it lands, and puts the hot ones in front of a rep while they're still warm. You can build exactly that in FlowFn: a landing page, an AI-scoring workflow, a leads database, and a live pipeline dashboard — no CRM subscription required.

FlowFn Team · 16 Jul 2026 · 3 min read

Build your first workflow today

Start free — connect your apps, add AI, and ship an automation you can actually maintain. No credit card required.

Get started free