LangChain integrations / AI inference / OpenAI
OpenAI + LangChain integration
ListedFacts verified 24-11-2026Work at OpenAI? Claim this page
Claim this page, free
Use your OpenAI email. We'll send one link. Click it and all four OpenAI pages on Lode (Cloudflare, LangChain, Linear, Replit) 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 OpenAI's domain (openai.com), 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 | 4 LangChain components |
| Price | Usage fees, no monthly fee reported |
| Facts last verified | 24-11-2026 |
What does OpenAI do with LangChain?
| Fact | Direction | Source |
|---|---|---|
| OpenAI's models can be used as LangChain chat models. ChatOpenAI is the OpenAI chat model class; it also works with Azure OpenAI endpoints. | Direction not stated | [s2][s1] |
| OpenAI provides an LangChain embeddings integration. OpenAIEmbeddings provides OpenAI embedding models. | Direction not stated | [s3] |
| OpenAI's LangChain integration is available as a Python package. Package: langchain-openai. | Direction not stated | [s2] |
| OpenAI's LangChain integration is available as a JavaScript package. Package: @langchain/openai. | Direction not stated | [s4] |
Compare other apps: LangChain python package integrations: providers with LangChain python package · LangChain chat models integrations: providers with LangChain chat models · LangChain embeddings integrations: providers with LangChain embeddings · LangChain javaScript package integrations: providers with LangChain javaScript package
What does OpenAI not do with LangChain?
- The OpenAI text completion class is legacy; ChatOpenAI is the current class. Minor [s1]
- Needs an OpenAI Platform API key. Minor [s2]
How much does OpenAI cost?
- OpenAI's API usage plan charges per 1M tokens, standard: gpt-6.2-sol input $2.00, output $10.00. [s5]
| Plan | Billing |
|---|---|
| API usage | per-transaction, per 1M tokens, standard: gpt-6.2-sol input $2.00, output $10.00, usage-based, per 1M tokens; page shows $ without a currency code, read as USD |
What do you need to use OpenAI with LangChain?
- The sources don't limit OpenAI to particular countries. [s2]
Where else does OpenAI integrate?
How does OpenAI compare?
- OpenAI vs Baseten for LangChain
- OpenAI vs Claude for LangChain
- OpenAI vs Cohere for LangChain
- OpenAI vs Mistral AI for LangChain
- OpenAI vs OpenRouter for LangChain
Similar apps for LangChain
- AI21 Labs + LangChain
- Cerebras + LangChain
- DeepSeek + LangChain
- Fireworks AI + LangChain
- Hugging Face + LangChain
- IBM watsonx.ai + LangChain
Listed alphabetically, not ranked.
See all 19 apps in AI inference for LangChain
OpenAI and LangChain: common questions
Does OpenAI integrate with LangChain?
Yes. OpenAI connects with LangChain, and Lode has verified the details. It supports 4 LangChain components. Facts verified 24-11-2026.
What does the OpenAI LangChain integration do?
OpenAI's models can be used as LangChain chat models. OpenAI provides an LangChain embeddings integration. OpenAI's LangChain integration is available as a Python package. OpenAI's LangChain integration is available as a JavaScript package.
How much does OpenAI cost to use with LangChain?
Usage fees, no monthly fee reported, from OpenAI's own published pricing. Details by plan are in the pricing section above.
Sources
- https://docs.langchain.com/oss/python/integrations/providers/openai.md (platform docs, retrieved 24-11-2026)
- https://docs.langchain.com/oss/python/integrations/chat/openai.md (platform docs, retrieved 24-11-2026)
- https://docs.langchain.com/oss/python/integrations/embeddings/openai.md (platform docs, retrieved 24-11-2026)
- https://docs.langchain.com/oss/javascript/integrations/chat/openai.md (platform docs, retrieved 24-11-2026)
- Pricing | OpenAI API (vendor pricing, retrieved 24-11-2026)
Changelog
- 24-11-2026: Record created from public sources (LOD-96 LangChain batch 1): https://docs.langchain.com/oss/python/integrations/providers/openai.md; https://docs.langchain.com/oss/python/integrations/chat/openai.md; https://docs.langchain.com/oss/python/integrations/embeddings/openai.md; https://docs.langchai.
- 29-11-2026: Answer summary now names the currency next to each price (LOD-200).
Machine-readable: JSON. Spot an error? Send a correction.