LazyLLM after the Bing Search API
One setting to change.
LazyLLM searches the web with BingSearch, which calls the Bing Web Search API v7. Microsoft retired it on August 11, 2025 and decommissioned every instance and new sign-ups, so LazyLLM's web search fails for anyone who sets it up today.
BingSearch takes an endpoint. Pass endpoint="https://api.specstream.ai/v7.0/search" and your SpecStream key as subscription_key, and LazyLLM's own Bing code searches again. That line ran on production on November 10, 2026 through LazyLLM's code at commit 2616ee9.
SpecStream answers Bing's v7 call in Bing's own JSON, 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.
New accounts get $10 of credit, no card. It covers 2,000 searches.
LazyLLM web search and what replaces Bing, from each company's own pages on Nov 10, 2026
| SpecStream | Bing Web Search API | Grounding with Bing Search | Google Custom Search | Brave Search API | |
|---|---|---|---|---|---|
| Setting in LazyLLM | BingSearch(endpoint="https://api.specstream.ai/v7.0/search"), with a SpecStream key as subscription_key | BingSearch default: https://api.bing.microsoft.com/v7.0/search | Not a v7 address. Microsoft places it in Azure AI Agents | GoogleSearch, a separate tool, defaults to https://customsearch.googleapis.com/customsearch/v1 | Not among LazyLLM's search tools |
| Open to a new account | Yes. Create a key and start with $10 of credit, no card | No. Retired on August 11, 2025, with every instance decommissioned and no new sign-up | Yes, with a Grounding with Bing Search resource in the Azure portal | No. Closed to new customers, and existing customers have until January 1, 2027 | Yes, with $5 in free credits every month |
| Price per 1,000 searches | $5, with up to 10 results a search | None. Microsoft decommissioned the product | $14 per 1,000 transactions | $5 per 1,000 queries after 100 free queries a day, for existing customers only | $5 per 1,000 requests |
| Limit | No limit per key and no daily limit. A busy call gets a 429 and is not charged | None. The API is retired | 150 transactions a second and 1 million a day | 10,000 queries a day | Up to 50 queries per second |
| What comes back | Bing's webPages.value[] with name, url and snippet, the three fields BingSearch reads | webPages.value[], with the name, URL and snippet of each page | No raw results: developers and end users get no access to the content returned | The URL, title and text snippets of each result, in Google's own format | Up to 20 results a request, in Brave's own format |
| What answers the search | The whole live web, read at the moment of the call. 97.9 F-score on all 1,000 SimpleQA Verified questions | Nothing since August 11, 2025 | An answer from the model. Not all models support it | The Programmable Search Engine you configured | Brave's index. Its own page reports 85.3% on FreshQA |
Why LazyLLM developers point Bing search at SpecStream
One argument to `BingSearch`
LazyLLM's docs describe the argument as "API endpoint, default https://api.bing.microsoft.com/v7.0/search". BingSearch keeps it as its request address and sends the key in Ocp-Apim-Subscription-Key. Before and after:
from lazyllm.tools.tools import BingSearch
bing = BingSearch(subscription_key="<your Bing key>")
res = bing("python tutorial", count=5)import os
from lazyllm.tools.tools import BingSearch
bing = BingSearch(
subscription_key=os.environ["SPECSTREAM_API_KEY"],
endpoint="https://api.specstream.ai/v7.0/search",
)
res = bing("python tutorial", count=5)Leave subscription_key empty and BingSearch reads the key from dynamic_tool_auth["bing"], as before. Put the SpecStream key there and the endpoint argument stays the one change.
The same request and the same JSON
BingSearch.search sends GET with q and count, up to 50, and reads name, url and snippet from each item of webPages.value. SpecStream answers in that shape. A call for 10 results costs $0.005, and each started block of 10 more adds $0.006.
The same call from plain Python, so you see what the agent will read:
import os, requests
reply = requests.get(
"https://api.specstream.ai/v7.0/search",
headers={"Ocp-Apim-Subscription-Key": os.environ["SPECSTREAM_API_KEY"]},
params={"q": "python tutorial", "count": 10},
).json()
for page in reply["webPages"]["value"]:
print(page["name"], page["url"], page["snippet"])Every parameter and field of the route is in the Bing Web Search v7 guide, and what Microsoft ended, and when, is on the Bing Search API retirement page.
$5 per 1,000 searches, with no daily limit
A search of up to 10 results costs $0.005. There is no monthly plan and no daily limit. Credit you buy never expires, and a new account starts with $10 of credit, which covers 2,000 searches. A busy call gets a 429 with Retry-After and charges nothing.
The most accurate web search API, in about one second
On SimpleQA Verified the SpecStream Search API scores 97.9 F-score on all 1,000 official questions, 978 of them correct. On WideSearch it scores 64.0 item F1 and 43.4 row F1 on all 200 official tasks. The Extract API scores 0.908 F1 on WCXB. Every score and its method is on the benchmarks page.
Every Bing call runs the fast search. Measured on production on November 9, 2026, its median was 0.82 s at 1 search a second and 1.07 s at 20 a second, the 95th percentile stayed between 1.09 and 1.73 s, and it answered 718 of 720. There is no limit per key and no daily limit.
You decide what is kept, on each key
Create the key with zero_retention and a search made with it keeps no request text and no answer after the reply. spend_cap_cents is the most the key can spend, so a long LazyLLM run stops at the cap you set.
curl -X POST https://api.specstream.ai/v1/account/keys \
-H "Authorization: Bearer $SPECSTREAM_API_KEY" -H "Content-Type: application/json" \
-d '{"name": "production", "scopes": ["account:read", "finds:spend"], "spend_cap_cents": 500000, "zero_retention": true}'Search, pages and rows on one key
The same key reads up to 20 pages or documents a call with the Extract API at $0.80 per 1,000 pages, and a page with no text is not charged. Deep Search returns every match for a request in plain words as structured rows, at 5¢, 15¢ or $1 a row, with a source URL on every value. The most a run can cost is approved before it starts.
Other web search options for LazyLLM
Grounding with Bing Search
Microsoft's named replacement for the Bing Search APIs, at $14 per 1,000 transactions, inside Azure AI Agents. It returns an answer with citations, and developers get no access to the raw results, so BingSearch has no webPages.value to read. SpecStream returns Bing's webPages.value[] at $5 per 1,000.
LazyLLM's GoogleSearch
GoogleSearch calls Google's Custom Search JSON API, $5 per 1,000 queries after 100 free a day, up to 10,000 a day. Google closed it to new customers and ends it on January 1, 2027, so a new project gets no key. SpecStream keeps BingSearch and costs the same $5 per 1,000, with no daily limit.
LazyLLM's TavilySearch
TavilySearch defaults to https://api.tavily.com, billed in credits at $0.008 each on pay as you go, 1 credit a basic search. On a monthly plan, requests stop when the month's credits run out. SpecStream charges $0.005 a search, and its credit never expires.
How SpecStream scores
The same numbers as the benchmarks page, from the official tasks and scorers.
How to move LazyLLM web search 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 with the call Bing's v7 API takes. A 200 with webPages.value means the key works.
curl -H "Ocp-Apim-Subscription-Key: $SPECSTREAM_API_KEY" \
"https://api.specstream.ai/v7.0/search?q=test&count=3"3. Pass endpoint to BingSearch and the SpecStream key as subscription_key:
import os
from lazyllm.tools.tools import BingSearch
bing = BingSearch(
subscription_key=os.environ["SPECSTREAM_API_KEY"],
endpoint="https://api.specstream.ai/v7.0/search",
)4. Run the agent as before. Each search shows in your SpecStream request log with its price.
Frequently asked questions
Something we didn't answer? Talk to a human
Why is LazyLLM web search not working?
BingSearch has nothing to call at its default address. Pass endpoint="https://api.specstream.ai/v7.0/search" with a SpecStream key and it searches again.Where do I get a LazyLLM Bing API key now?
subscription_key.What value does BingSearch endpoint take?
https://api.specstream.ai/v7.0/search. BingSearch adds q and count itself and sends the key in Ocp-Apim-Subscription-Key.What is the best LazyLLM Bing alternative?
BingSearch already makes, so your agent code stays.How much does LazyLLM web search cost with SpecStream?
count. The first $10 of credit covers 2,000 searches, and credit you buy never expires.Does it work with LazyLLM's dynamic tool auth?
subscription_key empty and BingSearch reads the key from dynamic_tool_auth["bing"]. Store the SpecStream key there and set endpoint as above.Sources
SpecStream wrote this page. LazyLLM's settings come from its source on GitHub, and each provider's figure from that company's own page.
- LazyLLM bing_search.pyraw.githubusercontent.com/LazyAGI/LazyLLM/main/lazyllm/tools/tools/search/bing_search.py, read Nov 10, 2026
- LazyLLM search tool docsraw.githubusercontent.com/LazyAGI/LazyLLM/main/lazyllm/docs/tools/search.py, read Nov 10, 2026
- LazyLLM google_search.pyraw.githubusercontent.com/LazyAGI/LazyLLM/main/lazyllm/tools/tools/search/google_search.py, read Nov 10, 2026
- LazyLLM tavily_search.pyraw.githubusercontent.com/LazyAGI/LazyLLM/main/lazyllm/tools/tools/search/tavily_search.py, read Nov 10, 2026
- Bing Search API retirementlearn.microsoft.com/en-us/lifecycle/announcements/bing-search-api-retirement, read Nov 10, 2026
- Google Custom Search JSON API overviewdevelopers.google.com/custom-search/v1/overview, read Nov 10, 2026
- Grounding with Bing Search pricingmicrosoft.com/en-us/bing/apis/grounding-pricing, read Nov 10, 2026
- Bing APIsmicrosoft.com/en-us/bing/apis, read Nov 10, 2026
- Grounding with Bing Search toolslearn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/bing-tools, read Nov 10, 2026
- Bing Web Search response objectslearn.microsoft.com/en-us/bing/search-apis/bing-web-search/reference/response-objects, read Nov 10, 2026
- Brave Search APIbrave.com/search/api/, read Nov 10, 2026
- Brave Search API documentationapi-dashboard.search.brave.com/app/documentation/web-search/get-started, read Nov 10, 2026
- Tavily API creditsdocs.tavily.com/documentation/api-credits.md, read Nov 10, 2026
- Tavily pricingtavily.com/pricing, read Nov 10, 2026
- SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
- SpecStream pricingspecstream.ai/pricing, read Nov 10, 2026
- SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026




