Skip to the page

Open WebUI

Google PSE stops on January 1, 2027. The setting to change.

Open WebUI's Google PSE engine calls Google's Custom Search JSON API, which is closed to new customers and ends for existing customers on January 1, 2027. Open WebUI fixes that address in its code, so no field moves it.

Change one setting. In Admin Settings, Web Search, set Web Search Engine from google_pse to external, External Web Search URL to https://api.specstream.ai/openwebui/search, and paste a SpecStream key in External Web Search API Key.

SpecStream scores 97.9 F-score on all 1,000 SimpleQA Verified questions and costs $5 per 1,000 searches, with no daily limit. A new account gets $10 of credit, no card, which covers 2,000 searches.

New accounts get $10 of credit, no card. It covers 2,000 searches.

Google PSE and the engines that replace it in Open WebUI, from each company's own pages on Nov 10, 2026

SpecStreamGoogle PSEBrave Search APITavily
What you set in Open WebUIWeb Search Engine external, External Web Search URL and External Web Search API Key. The SearXNG engine also takes a SpecStream addressGoogle PSE API Key and Google PSE Engine Id. The address is fixed in Open WebUI's code at www.googleapis.com/customsearch/v1An API key only. The address is fixed in Open WebUI's codeAn API key in the admin settings. The address changes only through the TAVILY_API_BASE_URL environment variable
Open to a new accountYes. Create a key and start with $10 of credit, no cardNo. Closed to new customers, and existing customers have until January 1, 2027Yes, with $5 in free credits every monthYes, with 1,000 free credits every month
Price per 1,000 searches$5, with up to 10 results a search$5 per 1,000 queries after 100 free queries a day, for existing customers only$5 per 1,000 requests$0.008 a credit on pay as you go. A basic search is 1 credit and an advanced search 2
LimitNo daily limit. Up to 8,800 searches a minute on one account10,000 queries a day50 queries per secondOn a monthly plan, requests stop when the month's credits run out
Reading the result pagesExternal Web Loader URL https://api.specstream.ai/openwebui/loader. Each batch of up to 20 pages is one Extract API call at $0.80 per 1,000 pagesSearch only. Open WebUI has no Google loaderSearch only. Open WebUI has no Brave loaderA Tavily loader. A basic extract costs 1 credit for every 5 successful URLs
What answers the searchThe whole live web, read at the moment of the call. 97.9 F-score on all 1,000 SimpleQA Verified questions, 978 correctThe Programmable Search Engine you configuredBrave's own index. Its page publishes 85.3% accuracy on FreshQATavily's search. Its own post reports 97.6% on SimpleQA

Why Open WebUI admins move Google PSE to SpecStream

Other Google PSE alternatives for Open WebUI

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to move Open WebUI from Google PSE to SpecStream

1. Create a key under Agents & API in the SpecStream workspace. A new account gets $10 of credit, no card, which covers 2,000 searches.

2. Check the key from a terminal with the call Open WebUI will send.

curl -X POST https://api.specstream.ai/openwebui/search \
  -H "Authorization: Bearer $SPECSTREAM_API_KEY" -H "Content-Type: application/json" \
  -d '{"query": "latest Open WebUI release", "count": 3}'

3. In Open WebUI, open Admin Settings and go to Web Search. Change Web Search Engine from google_pse to external, set External Web Search URL to https://api.specstream.ai/openwebui/search and paste the key in External Web Search API Key. Save.

4. To have SpecStream read the result pages too, set Web Loader Engine to external, External Web Loader URL to https://api.specstream.ai/openwebui/loader and the same key in External Web Loader API Key.

5. Start a chat, turn on web search and ask a question. Each search shows up in your SpecStream request log with its price.

Frequently asked questions

Something we didn't answer? Talk to a human

Why is Google PSE not working in Open WebUI?
Google closed the Custom Search JSON API to new customers and ends it for existing customers on January 1, 2027. A new project gets no key, and Open WebUI raises the HTTP error Google returns. Switch the engine to external with SpecStream's URL and search works again.
What is the best Google PSE alternative for Open WebUI?
SpecStream, at $5 per 1,000 searches with no daily limit and 97.9 F-score on all 1,000 SimpleQA Verified questions. It plugs into Open WebUI's External search and loader, and into its SearXNG engine.
Can I change the Google PSE address in Open WebUI?
No. Open WebUI's google_pse.py fixes the address at https://www.googleapis.com/customsearch/v1, and no setting changes it. Change the engine to external and set External Web Search URL to https://api.specstream.ai/openwebui/search.
Why does Open WebUI web search return 403 with Google Custom Search?
Google refused the key. A user reported "403 from Google in the exception stack" on November 2, 2025, and the API is closed to new customers. A SpecStream key works in the External engine at once, with $10 of credit on a new account.
How much does web search in Open WebUI cost with SpecStream?
$0.005 a search of up to 10 results, and Open WebUI asks for 3 by default. Reading the result pages with the External loader costs $0.80 per 1,000 pages.
Which Open WebUI environment variables replace GOOGLE_PSE_API_KEY?
Three: WEB_SEARCH_ENGINE=external, EXTERNAL_WEB_SEARCH_URL=https://api.specstream.ai/openwebui/search and EXTERNAL_WEB_SEARCH_API_KEY with your SpecStream key, with ENABLE_WEB_SEARCH=true.
Is Google Programmable Search shutting down?
The Custom Search JSON API that Open WebUI calls ends on January 1, 2027, and it is already closed to new customers. Google names Vertex AI Search for up to 50 domains.
Is there a SpecStream tool for Open WebUI?
Yes. "SpecStream: web search and page reading" is in Open WebUI's community tools: https://openwebui.com/posts/eab5434f-b55c-4166-b145-892a1b343b2d. It gives the model search and page reading as a tool it can call. The setting on this page makes SpecStream the web search of every chat.

Sources

SpecStream wrote this page. Open WebUI's settings come from its source and issues on GitHub, and each provider's figure from that company's own page.

  1. Open WebUI Google PSE engine, google_pse.pygithub.com/open-webui/open-webui/blob/main/backend/open_webui/retrieval/web/google_pse.py, read Nov 10, 2026
  2. Open WebUI config.pygithub.com/open-webui/open-webui/blob/main/backend/open_webui/config.py, read Nov 10, 2026
  3. Open WebUI external search, external.pygithub.com/open-webui/open-webui/blob/main/backend/open_webui/retrieval/web/external.py, read Nov 10, 2026
  4. Open WebUI web search settings, WebSearch.sveltegithub.com/open-webui/open-webui/blob/main/src/lib/components/admin/Settings/WebSearch.svelte, read Nov 10, 2026
  5. Open WebUI issue 18870, Google PSE gives 403github.com/open-webui/open-webui/issues/18870, read Nov 10, 2026
  6. Open WebUI issue 20961, Google PSEgithub.com/open-webui/open-webui/issues/20961, read Nov 10, 2026
  7. Google Custom Search JSON API overviewdevelopers.google.com/custom-search/v1/overview, read Nov 10, 2026
  8. Vertex AI Search pricingcloud.google.com/generative-ai-app-builder/pricing, read Nov 10, 2026
  9. Brave Search APIbrave.com/search/api/, read Nov 10, 2026
  10. Tavily API creditsdocs.tavily.com/documentation/api-credits.md, read Nov 10, 2026
  11. Tavily pricingtavily.com/pricing, read Nov 10, 2026
  12. Tavily, SealQA and SimpleQA posttavily.com/blog/tavily-ranks-1-on-sealqa-and-simpleqa, read Nov 10, 2026
  13. Firecrawl pricingfirecrawl.dev/pricing, read Nov 10, 2026
  14. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
  15. SpecStream pricingspecstream.ai/pricing, read Nov 10, 2026
  16. SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026