LangChain integrations / AI inference / OpenRouter
OpenRouter + LangChain integration
ListedFacts verified 24-11-2026Work at OpenRouter, Inc.? Claim this page
Claim this page, free
Use your OpenRouter, Inc. email. We'll send one link. Click it and all four OpenRouter, Inc. pages on Lode (Cloudflare, LangChain, Replit, Stripe) are yours to correct.
Using an agent? It can claim and send corrections in one call: claim_vendor on the Lode MCP server.
Check your inbox
We sent a link to . Click it and your pages are claimed. The link works for 24 hours. Resend · Use a different email
Check your inbox soon
We'll email a link to within a day. Click it and your pages are claimed. Use a different email
We'll check this one by hand
That email isn't on OpenRouter, Inc.'s domain (openrouter.ai), so we can't send a claim link straight away. We'll check it and reply within two working days. Use a different email
That link has expired
Links work for 24 hours. Send a new one
Your pages are claimed
Press Fix on anything wrong. With a public link it's published as a sourced fact; without one it shows as "Vendor-reported" with the date. Change emails: on, at most one a week · Turn off
Thanks. We'll use it to keep your pages right.
| LangChain plan needed | Not stated |
|---|---|
| Regions | No regional restriction stated |
| Works with | 3 LangChain components |
| Facts last verified | 24-11-2026 |
What does OpenRouter do with LangChain?
| Fact | Direction | Source |
|---|---|---|
| OpenRouter's models can be used as LangChain chat models. ChatOpenRouter is the LangChain chat model for OpenRouter. | Direction not stated | [s1][s2] |
| OpenRouter's LangChain integration is available as a Python package. Package: langchain-openrouter. | Direction not stated | [s2] |
| OpenRouter's LangChain integration is available as a JavaScript package. Package: @langchain/openrouter. | Direction not stated | [s3] |
Compare other apps: LangChain python package integrations: providers with LangChain python package · LangChain chat models integrations: providers with LangChain chat models · LangChain javaScript package integrations: providers with LangChain javaScript package
What does OpenRouter not do with LangChain?
- The LangChain Python page marks ChatOpenRouter serialization as beta. Minor [s2]
What do you need to use OpenRouter with LangChain?
- The sources don't limit OpenRouter to particular countries. [s1]
Where else does OpenRouter, Inc. integrate?
How does OpenRouter compare?
- OpenRouter vs Claude for LangChain
- OpenRouter vs Mistral AI for LangChain
- OpenRouter vs OpenAI for LangChain
Similar apps for LangChain
- AI21 Labs + LangChain
- Baseten + LangChain
- Cerebras + LangChain
- DeepSeek + LangChain
- Fireworks AI + LangChain
- Hugging Face + LangChain
Listed alphabetically, not ranked.
See all 19 apps in AI inference for LangChain
OpenRouter and LangChain: common questions
Does OpenRouter integrate with LangChain?
Yes. OpenRouter connects with LangChain, and Lode has verified the details. It supports 3 LangChain components. Facts verified 24-11-2026.
What does the OpenRouter LangChain integration do?
OpenRouter's models can be used as LangChain chat models. OpenRouter's LangChain integration is available as a Python package. OpenRouter's LangChain integration is available as a JavaScript package.
Sources
- https://docs.langchain.com/oss/python/integrations/providers/openrouter.md (platform docs, retrieved 24-11-2026)
- https://docs.langchain.com/oss/python/integrations/chat/openrouter.md (platform docs, retrieved 24-11-2026)
- https://docs.langchain.com/oss/javascript/integrations/chat/openrouter.md (platform docs, retrieved 24-11-2026)
Changelog
- 24-11-2026: Record created from public sources (LOD-96 LangChain batch 2): https://docs.langchain.com/oss/python/integrations/providers/openrouter.md; https://docs.langchain.com/oss/python/integrations/chat/openrouter.md; https://docs.langchain.com/oss/javascript/integrations/chat/openrouter.md.
Machine-readable: JSON. Spot an error? Send a correction.