How to get a Brave Search API key, and what it costs

Updated · 7 min read

To get a Brave Search API key, create an account in the Brave Search API dashboard, activate the Search plan with a credit card, and click Add API Key in the API Keys section. There is no free plan any more, but every plan includes $5 of credit each month. On the Search plan, which costs $5 per 1,000 requests, that is about 1,000 searches a month, and you can set your prepaid amount to $0 so nothing is ever charged. AI apps use the key for live web search: Open WebUI, OpenClaw, n8n and Brave's own MCP server all accept it.

Step by step

  1. Create an account at api-dashboard.search.brave.com with an email address and a password, then click the confirmation link Brave emails you.
  2. Activate a plan. Open the Plans page, pick Search and enter a credit card. The Search plan includes both LLM Context (search results prepared for AI models) and Web Search. To use only the free credit, set the prepaid amount to $0. Brave places a $0 or $1 hold on the card as a fraud check and refunds it right away.
  3. Create the key. Go to API Keys, click Add API Key and give the key a name such as the app it is for. Each plan can have up to 10 keys, and a key works only for the plan it was created under.
  4. Copy the key and paste it into your app. Apps send it in the X-Subscription-Token header.

Free credits, and the old free plan

Brave's FAQ says: "We do not offer a standalone free plan." Instead, every plan gets $5 of credit each month, and the free credit does not carry over: unused credit is replaced the next month. There are four self-serve plans (Search, Answers, Autosuggest and Spellcheck), which is why brave.com advertises "up to $20 in free calls every month". For an AI app, only the Search plan's $5 matters, and that covers about 1,000 searches.

Older tutorials, and some apps' setup pages, still describe a free plan with 2,000 queries a month. That plan is gone. Accounts that already had an older postpaid plan keep it, but new sign-ups only get the prepaid plans.

On a prepaid plan, billing works like this:

  • Free credit is used first, then your prepaid balance. When the balance reaches $0, the API stops answering until you add funds.
  • Auto-reload tops up a fixed amount when the balance falls below a threshold you choose. If you don't set a monthly auto-reload limit, it is uncapped.
  • The usage limit you set is added to the $5 of free credit, so the dashboard shows a higher figure than the one you typed.
  • Only successful requests count. Requests that return an error are not billed.
  • Credits you buy don't expire, and Brave doesn't refund unused credit.

Brave Search API pricing

These were the self-serve plans in Brave's docs on 2026-11-24:

Plan Price Free credit Capacity
Search (web, news, images, videos, LLM Context) $5 per 1,000 requests $5 a month 50 requests per second
Answers (AI answers with citations) $4 per 1,000 queries + $5 per million input tokens + $5 per million output tokens $5 a month 2 requests per second
Autosuggest $5 per 10,000 requests $5 a month 100 requests per second
Spellcheck $5 per 10,000 requests $5 a month 100 requests per second

An Enterprise plan with custom terms and zero data retention is priced on request. On every plan, Brave's terms forbid storing or caching search results beyond what your app needs to run. Storing results or training models on them needs a custom plan.

An agent that runs 20 searches per research task uses up the monthly free credit in about 50 tasks, and each further 1,000 searches costs $5. A chat app that searches only when you ask lasts much longer.

Use the key in AI apps

Open WebUI

Open WebUI has two Brave engines that share one key: brave, which returns short snippets and then fetches each result page, and brave_llm_context, which returns ready-made page passages from Brave's LLM Context endpoint, so Open WebUI can skip fetching the pages. Pick one in the admin Web Search settings and paste the key, or set these environment variables:

ENABLE_WEB_SEARCH: True
WEB_SEARCH_ENGINE: "brave"   # or "brave_llm_context"
BRAVE_SEARCH_API_KEY: "YOUR_API_KEY"

BRAVE_SEARCH_CONTEXT_TOKENS sets how much text brave_llm_context pulls in (default 8,192). Open WebUI's docs still describe a free tier limited to 1 request per second. If you get HTTP 429 errors, set Concurrent Requests to 1 as those docs suggest; Open WebUI also retries once after a 429 on its own.

MCP clients

Brave publishes an official MCP server, which works in any client that runs MCP servers, such as Claude Desktop, VS Code or Cursor. Add it to the client's MCP config:

{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": ["-y", "@brave/brave-search-mcp-server", "--transport", "stdio"],
      "env": { "BRAVE_API_KEY": "YOUR_API_KEY_HERE" }
    }
  }
}

It also comes as the Docker image mcp/brave-search. The server adds tools for web, local, news, image, video and place search and LLM Context, all covered by the Search plan, plus brave_answers, which needs the Answers plan. Zed has a Brave Search MCP Server extension in its extension gallery.

Agents and automation

  • OpenClaw checks for BRAVE_API_KEY first when it picks a web search provider automatically, so setting that variable is enough (OpenClaw docs).
  • n8n has a Brave Search integration built by Brave and verified by n8n.
  • Dify has a Brave plugin in its marketplace, usable in chatbots, workflows and agent nodes.
  • Brave's integrations page also lists LangChain, LlamaIndex, CrewAI and Flowise.

Chat apps

  • BoltAI: Settings → Plugins, then Brave Search under the third-party tools. Turn the tool on per chat with the Tools button.
  • MindMac: Brave Search is one of the Internet Browsing options.
  • ChatWise: Brave Search (API) is a web search option in settings. Its page still mentions the old 2,000 free queries.
  • Witsy: Brave is one of its search engines, along with Perplexity, Tavily and Exa.

LibreChat's built-in web search doesn't take a Brave key; it searches with Serper, SearXNG, Tavily or Keenable. To use Brave there, add Brave's MCP server, since LibreChat supports MCP servers.

Brave vs Tavily, Exa, SerpApi and Firecrawl

AI apps often ask for one of these other search keys instead. These were their free allowances and entry prices on 2026-11-24:

API Free each month Paid price
Brave Search $5 of credit, about 1,000 searches (card required) $5 per 1,000 searches
Tavily 1,000 credits, no card; a basic search costs 1 credit, an advanced one 2 $0.008 per credit pay-as-you-go, or $30 a month for 4,000 credits
Exa $10 of credit plus a $10 bonus, no payment method Search from $4 per 1,000 requests (Lite) or $7 (Auto), up to 10 results
SerpApi 250 searches $25 a month for 1,000 searches
Firecrawl 1,000 credits, no card; a search costs 2 credits per 10 results, so about 500 searches $19 a month for 5,000 credits ($16 billed yearly)

Brave answers every query from its own index, with no fallback to Google or Bing. SerpApi returns results scraped from Google and other search engines. Tavily, Exa and Firecrawl are built for AI agents and also fetch and extract page content. That makes them closer to Brave's LLM Context endpoint than to plain web search. Pick whichever your app supports. Tavily, Exa and Firecrawl have the free tiers that need no card.

Keep the key safe

  • Never put the key in a website's front-end code or a public repository. Brave recommends storing it in an environment variable such as BRAVE_API_KEY.
  • Use one key per app, so you can revoke a single key from the dashboard if it leaks.
  • Set a usage limit, and a monthly limit on auto-reload, before you give the key to an agent that can search in a loop.

Apps that take a Brave Search API key

  • Open WebUI

    Free to self-host; enterprise plans · Self-hosted, Web · Open source

    Visit

    Self-hosted, open-source AI chat platform for Ollama and any OpenAI-compatible API, including Anthropic and Azure.

    Works with:OllamaOpenAIAnthropicAzure OpenAI

  • BoltAI

    One-time purchase, free trial · macOS, iOS

    Visit

    Native Mac and iOS AI app that connects to OpenAI, Claude, Gemini, Mistral, Bedrock and local models with your own keys.

    Works with:OpenAIAnthropicGoogle GeminiMistral+6 more

  • MindMac

    One-time from $29 · macOS

    Visit

    Seamlessly chat with ChatGPT on macOS with MindMac, boosting performance via custom features. No account needed.

    Works with:OpenAIAzure OpenAIGoogle GeminiMistral+4 more

  • ChatWise

    macOS, Windows

    Visit

    Desktop AI chat app for many LLMs with your own API keys, local data storage, web search and MCP tools.

    Works with:OpenAIAnthropicGoogle GeminiDeepSeek

  • Witsy

    Free, open source · macOS, Windows, Linux · Open source

    Visit

    Open-source desktop AI assistant and universal MCP client for macOS, Windows, and Linux. BYOK app supporting 15+ AI providers including local models via Ollama.

    Works with:OpenAIAnthropicGoogle GeminixAI+8 more

  • n8n

    Free to self-host; paid cloud plans · Self-hosted, Web

    Visit

    Workflow automation platform for building AI agents with 500+ integrations, using your own model credentials. Self-host or cloud.

    Works with:OpenAIAnthropicGoogle GeminiMistral+6 more

  • Dify

    Free self-hosted Community Edition; paid cloud plans · Self-hosted, Web · Open source

    Visit

    Open-source platform for building AI workflows, agents and RAG apps with your own model provider keys. Cloud or self-hosted.

    Works with:OpenAIAnthropicGoogle GeminiAzure OpenAI+1 more

  • Zed

    Free editor; paid plans for Zed-hosted AI · macOS, Windows, Linux · Open source

    Visit

    Fast open-source code editor with an AI agent that works with your own Anthropic, OpenAI, Gemini, OpenRouter or local model keys.

    Works with:AnthropicOpenAIGoogle GeminiMistral+5 more

Other options

For search-backed answers from a model, rather than raw results, see the Perplexity API key guide. To run the model that uses the search results on your own computer, see local LLM apps, and for model keys that cost nothing, see free AI API keys.

Questions

Is the Brave Search API free?

There is no free plan, but every plan comes with $5 of credit each month. On the Search plan ($5 per 1,000 requests) that covers about 1,000 searches a month. You still need a credit card, and you can set your prepaid amount to $0 so you are never charged.

How much does the Brave Search API cost?

On 2026-11-24 the Search plan cost $5 per 1,000 requests and covered web, news, image and video search and the LLM Context endpoint. The Answers plan cost $4 per 1,000 queries plus $5 per million input tokens and $5 per million output tokens.

Why does Brave ask for a credit card?

Brave says the card is an anti-fraud check. With a $0 prepaid amount you use only the free monthly credit; Brave places a $0 or $1 hold on the card when you sign up and refunds it right away.

Where do I put a Brave Search API key in Open WebUI?

Set the web search engine to brave or brave_llm_context in the admin Web Search settings and paste the key, or set ENABLE_WEB_SEARCH, WEB_SEARCH_ENGINE and BRAVE_SEARCH_API_KEY as environment variables.

Which plan does the Brave MCP server need?

The Search plan covers the web, news, image, video and LLM Context tools. The brave_answers tool needs the Answers plan, which has its own key and its own $5 monthly credit.

Can I store Brave Search results?

Not on the standard plans. Brave's terms forbid storing or caching results beyond what an app needs to run, and its FAQ says storing results or training models on them requires a custom plan.

Sources

Checked against the providers' own documentation on 2026-11-24. Prices and limits change; the links below have the current figures.

Related guides