LangChain integrations / AI inference, Search / Perplexity API

Perplexity API + LangChain integration

ListedFacts verified 24-11-2026Work at Perplexity AI, Inc.? Claim this page

Perplexity API works with LangChain: chat models, retrievers, tools, embeddings and Python package. Usage-based: US$5.00 per 1,000 requests; no model or token billing.
LangChain plan neededNot stated
RegionsNo regional restriction stated
Works with5 LangChain components
PriceUsage fees, no monthly fee reported
Facts last verified24-11-2026

What does Perplexity API do with LangChain?

Diagram of what Perplexity API supports on LangChain: chat models, retrievers, tools, embeddings, python package
FactDirectionSource
Perplexity API's models can be used as LangChain chat models.
ChatPerplexity is the LangChain chat model for the Perplexity API; it can also target the Perplexity Agent API.
Direction not stated[s1]
Perplexity API provides an LangChain retriever.
PerplexitySearchRetriever returns Document objects from the Perplexity Search API.
Direction not stated[s1]
Perplexity API provides tools that LangChain agents can call.
PerplexitySearchResults is an agent tool that returns Perplexity Search API results as a JSON array.
Direction not stated[s1]
Perplexity API provides an LangChain embeddings integration.
PerplexityEmbeddings wraps the Perplexity Embeddings API.
Direction not stated[s1]
Perplexity API's LangChain integration is available as a Python package.
Package: langchain-perplexity.
Direction not stated[s1]

Compare other apps: LangChain python package integrations: providers with LangChain python package · LangChain chat models integrations: providers with LangChain chat models · LangChain tools integrations: providers with LangChain tools · LangChain embeddings integrations: providers with LangChain embeddings · LangChain retrievers integrations: providers with LangChain retrievers

What does Perplexity API not do with LangChain?

Nothing found in our research or testing.

How much does Perplexity API cost?

PlanBilling
Search APIper-transaction, $5.00 per 1,000 requests; no model or token billing, tax not stated $ read as USD

What do you need to use Perplexity API with LangChain?

Where else does Perplexity AI integrate?

How does Perplexity API compare?

Similar apps for LangChain

Listed alphabetically, not ranked.

See all 19 apps in AI inference for LangChain · See all 10 apps in Search for LangChain

Perplexity API and LangChain: common questions

Does Perplexity API integrate with LangChain?

Yes. Perplexity API connects with LangChain, and Lode has verified the details. It supports 5 LangChain components. Facts verified 24-11-2026.

What does the Perplexity API LangChain integration do?

Perplexity API's models can be used as LangChain chat models. Perplexity API provides an LangChain retriever. Perplexity API provides tools that LangChain agents can call. Perplexity API provides an LangChain embeddings integration. See the full list above (5 in total).

How much does Perplexity API cost to use with LangChain?

Usage fees, no monthly fee reported, from Perplexity API's own published pricing. Details by plan are in the pricing section above.

Sources

  1. https://docs.langchain.com/oss/python/integrations/providers/perplexity.md (platform docs, retrieved 24-11-2026)
  2. Pricing - Perplexity (vendor pricing, retrieved 23-11-2026)

Changelog

Cite this page: Lode (trylode.io), "Perplexity API + LangChain integration", facts verified 24-11-2026. https://trylode.io/langchain/perplexity/
Machine-readable: JSON. Spot an error? Send a correction.