> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/integrations/litellm. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# SpecStream for LiteLLM

SpecStream is the live web data engine for teams and agents. Point LiteLLM's google\_pse or searxng search provider at the SpecStream Search API with its environment variables, in the SDK or on the proxy.

[Read the guide](https://specstream.ai/docs/integrations/litellm.md)

## What you get

The same JSON as Google Custom Search

Set GOOGLE\_PSE\_API\_BASE and GOOGLE\_PSE\_API\_KEY, and code that calls the google\_pse provider keeps working as it is.

Or the SearXNG provider

Set SEARXNG\_API\_BASE and SEARXNG\_API\_KEY, and LiteLLM sends the key as a Bearer token.

Paid per search

Each search is one Search API call of up to 10 results, paid from your balance with no quote and no approval.

Status

Live

Category

[Agent frameworks & builders](https://specstream.ai/integrations.md#frameworks)

Built by

SpecStream

You need

LiteLLM and a SpecStream API key.

Pricing

[You pay for the matches](https://specstream.ai/pricing.md)

Setup guide

[Read the guide](https://specstream.ai/docs/integrations/litellm.md)

Help

[Talk to a human](https://specstream.ai/talk-to-a-human.md)

## Set it up

1.  In SpecStream, open Agents & API and create an API key.
2.  Set GOOGLE\_PSE\_API\_BASE to https://api.specstream.ai/customsearch/v1 with your key in GOOGLE\_PSE\_API\_KEY, or SEARXNG\_API\_BASE to https://api.specstream.ai/searxng with your key in SEARXNG\_API\_KEY.
3.  Run litellm.search with that search\_provider and read the results.

[The full setup guide](https://specstream.ai/docs/integrations/litellm.md) has every step, with what to do if something doesn’t arrive.

## Also in Agent frameworks & builders

The same live web data, in the other tools of this kind.

-   [OpenAI API](https://specstream.ai/integrations/openai.md)
-   [OpenAI Agents SDK](https://specstream.ai/integrations/openai-agents-sdk.md)
-   [LangChain](https://specstream.ai/integrations/langchain.md)
-   [LlamaIndex](https://specstream.ai/integrations/llamaindex.md)
-   [CrewAI](https://specstream.ai/integrations/crewai.md)
-   [Vercel](https://specstream.ai/integrations/vercel.md)
-   [Haystack](https://specstream.ai/integrations/haystack.md)
-   [See all](https://specstream.ai/integrations.md#frameworks)

## Live web data, in LiteLLM.

Ask in your own words for companies, places, people, filings or anything else the web lists.

[Read the guide](https://specstream.ai/docs/integrations/litellm.md)[Talk to a human](https://specstream.ai/talk-to-a-human.md)
