AI IDE · BRING YOUR OWN KEY

Bring your own Claude key.

By Chris Davidson, founder of yForest · Updated September 26, 2026

Paste an Anthropic API key into Settings and the Ask panel runs on it directly, no markup, no bundled AI plan hiding the real per-question cost.

Start 14-day free trial Download on theMac App Store

No credit card. 14 days. Cancel in one click.

macOS 15+ · Apple Silicon native · 14-day free trial · No credit card

Quick answer: Add your Anthropic API key in Settings → AI Assistant and QueryFlow's Ask panel calls Anthropic's API directly on that key. You pay Anthropic's standard rate, roughly 2¢ a typical question, with no per-question charge from QueryFlow. Switch to Claude Haiku 4.5 for simple questions or stay on Sonnet 5 for anything with a join.

What bring-your-own-key actually buys you

A bundled AI plan hides the real cost of a question behind a flat subscription number, and it locks you into whatever model the vendor picked. Bring-your-own-key flips that: you see Anthropic's actual rate, you pick the Claude model, and switching providers later doesn't mean switching your whole SQL tool.

Setting it up

In Settings → AI Assistant, paste your Anthropic API key into the Anthropic field. That's the whole setup. There's no separate billing relationship with QueryFlow for AI usage, Anthropic bills your account directly at their standard per-token rate.

What it costs in practice

A typical schema question runs about 2¢, mostly driven by how much schema context the panel needs to load and how long the answer runs. Turning on Auto mode routes the exploration step to a cheaper model and the final answer to a stronger one, which tends to lower the average cost per question without a noticeable quality drop for routine work.

Which Claude model to pick

Claude Sonnet 5 is the default and a reasonable choice for most SQL work: fast enough for back-and-forth, capable enough for a multi-table join. Claude Haiku 4.5 is faster and cheaper for simple, single-table questions. See choosing an AI model for SQL for the full comparison across providers, not just within Claude's own lineup.

A worked example of the tradeoff

Say you ask ten schema questions a day, mostly simple row-count and filter checks with the occasional multi-table join. On Haiku for the simple ones and Sonnet for the joins, a rough month lands under $5 in Anthropic usage for most people, well under what a flat per-seat AI add-on would cost on most competing tools, and you can see exactly where that number comes from in Anthropic's own usage dashboard.

What this doesn't include

This page is about the API key and the cost model, not the panel's features themselves. For what Ask can actually do once it's connected, see the AI database IDE overview or the step-by-step tutorial.

Rate limits and what happens when you hit one

Anthropic applies its own rate limits per key, based on your account tier there, not anything QueryFlow adds on top. If you hit one, the panel shows the error Anthropic returned rather than failing silently, and the fix is on Anthropic's side, usually a short wait or a tier upgrade on their console, not a QueryFlow setting.

Comparing the models on one key versus several

Anthropic, OpenAI, Google, and xAI each require their own key; there's no single universal key that spans providers. Most people start with just an Anthropic key since it's what the Ask panel's Settings tab is built around, and add a second provider's key later only if they want to compare Claude's answer against GPT-6 or Gemini on the same question.

Team use, one key at a time

QueryFlow doesn't currently support a shared team key with per-seat usage tracking, each person adds their own key in their own Settings. For a small team, that usually means each person's Anthropic usage dashboard shows their own SQL-related spend clearly, separate from anything else they use the same key for.

Switching models without switching tools

Because the key lives in your own Anthropic account, moving from Claude Sonnet 5 to a future Claude model, or adding a second provider's key alongside it, doesn't require reconfiguring your database connections, your scheduled jobs, or anything else in QueryFlow. The AI layer and the data layer are separate on purpose.

Keeping the key secure

The key lives in Settings on your own Mac and is used only to call Anthropic's API directly; it isn't relayed through QueryFlow's servers. Remove it and Ask stops working immediately, with nothing left calling out on your behalf.

QueryFlow Studio $9.99/mo · $99/yr
QueryFlow Pipelines $29.99/mo · $199.99/yr

Frequently asked

Why bring my own key instead of a bundled plan?

Transparency in cost and no markup. You pay Anthropic directly at their standard rate, roughly 2¢ a typical question, and QueryFlow doesn't add a per-question charge on top of your subscription.

Where do I get an Anthropic API key?

console.anthropic.com. Create an account, generate a key, and paste it into Settings → AI Assistant.

Is my key sent anywhere besides Anthropic?

No. QueryFlow uses it to call Anthropic's API directly from your Mac; it isn't proxied through QueryFlow's own servers.

Can I use Claude alongside other models?

Yes. Add keys for OpenAI, Google, or xAI too, and switch models per question from the panel's model switcher, or let Auto mode pick.

What if I remove my key later?

Ask stops working until you add a new one. Nothing else in QueryFlow depends on it, the editor, explorer, scheduler, and Data Sync all work with no key at all.

Your key. Your cost. Your model.

14-day free trial, no card. Add your Anthropic key and see the difference.

Start 14-day free trial

No credit card. 14 days. Cancel in one click.