An integration package connecting OpenAI and LangChain
Project Links
Meta
Requires Python: <4.0.0,>=3.10.0
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Programming Language
- Python :: 3
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Topic
- Scientific/Engineering :: Artificial Intelligence
langchain-openai
Looking for the JS/TS version? Check out LangChain.js.
Quick Install
pip install langchain-openai
๐ค What is this?
This package contains the LangChain integrations for OpenAI through their openai SDK.
๐ Documentation
For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using these classes, see the LangChain Docs.
๐ Releases & Versioning
See our Releases and Versioning policies.
๐ Contributing
As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.
For detailed information on how to contribute, see the Contributing Guide.
1.1.12
Mar 23, 2026
1.1.11
Mar 09, 2026
1.1.10
Feb 17, 2026
1.1.9
Feb 10, 2026
1.1.8
Feb 09, 2026
1.1.7
Jan 07, 2026
1.1.6
Dec 18, 2025
1.1.5
Dec 17, 2025
1.1.4
Dec 16, 2025
1.1.3
Dec 12, 2025
1.1.2
Dec 11, 2025
1.1.1
Dec 08, 2025
1.1.0
Nov 24, 2025
1.0.3
Nov 15, 2025
1.0.2
Nov 03, 2025
1.0.1
Oct 21, 2025
1.0.0
Oct 17, 2025
1.0.0a4
Oct 07, 2025
1.0.0a3
Sep 30, 2025
1.0.0a2
Sep 02, 2025
1.0.0a1
Aug 27, 2025
0.4.0.dev0
Aug 05, 2025
0.3.35
Oct 06, 2025
0.3.34
Oct 01, 2025
0.3.33
Sep 10, 2025
0.3.32
Aug 26, 2025
0.3.31
Aug 21, 2025
0.3.30
Aug 12, 2025
0.3.29
Aug 08, 2025
0.3.28
Jul 14, 2025
0.3.27
Jun 27, 2025
0.3.26
Jun 26, 2025
0.3.25
Jun 23, 2025
0.3.24
Jun 17, 2025
0.3.23
Jun 13, 2025
0.3.22
Jun 10, 2025
0.3.21
Jun 06, 2025
0.3.20
Jun 06, 2025
0.3.19
Jun 02, 2025
0.3.18
May 22, 2025
0.3.17
May 15, 2025
0.3.16
May 02, 2025
0.3.15
May 01, 2025
0.3.14
Apr 17, 2025
0.3.13
Apr 15, 2025
0.3.12
Apr 02, 2025
0.3.11
Mar 26, 2025
0.3.10
Mar 24, 2025
0.3.9
Mar 17, 2025
0.3.9rc1
Mar 12, 2025
0.3.8
Mar 07, 2025
0.3.7
Feb 24, 2025
0.3.6
Feb 15, 2025
0.3.5
Feb 11, 2025
0.3.4
Feb 06, 2025
0.3.4rc1
Feb 05, 2025
0.3.3
Jan 29, 2025
0.3.2
Jan 23, 2025
0.3.1
Jan 19, 2025
0.3.0
Jan 10, 2025
0.2.14
Dec 19, 2024
0.2.13
Dec 18, 2024
0.2.12
Dec 09, 2024
0.2.11
Dec 03, 2024
0.2.10
Nov 26, 2024
0.2.9
Nov 19, 2024
0.2.8
Nov 12, 2024
0.2.7
Nov 12, 2024
0.2.6
Nov 05, 2024
0.2.5
Oct 31, 2024
0.2.4
Oct 28, 2024
0.2.3
Oct 18, 2024
0.2.2
Oct 04, 2024
0.2.1
Sep 26, 2024
0.2.0
Sep 13, 2024
0.2.0.dev2
Sep 06, 2024
0.2.0.dev1
Sep 05, 2024
0.2.0.dev0
Sep 05, 2024
0.1.25
Sep 13, 2024
0.1.24
Sep 13, 2024
0.1.23
Aug 28, 2024
0.1.22
Aug 16, 2024
0.1.21
Aug 10, 2024
0.1.21rc2
Aug 07, 2024
0.1.21rc1
Aug 06, 2024
0.1.20
Jul 31, 2024
0.1.19
Jul 26, 2024
0.1.17
Jul 17, 2024
0.1.16
Jul 12, 2024
0.1.15
Jul 10, 2024
0.1.14
Jul 02, 2024
0.1.13
Jun 29, 2024
0.1.12
Jun 28, 2024
0.1.11
Jun 27, 2024
0.1.10
Jun 25, 2024
0.1.9
Jun 21, 2024
0.1.8
May 29, 2024
0.1.8rc1
May 23, 2024
0.1.7
May 15, 2024
0.1.6
May 03, 2024
0.1.5
May 01, 2024
0.1.4
Apr 26, 2024
0.1.3
Apr 11, 2024
0.1.3rc1
Apr 10, 2024
0.1.2
Apr 09, 2024
0.1.1
Mar 22, 2024
0.1.0
Mar 20, 2024
0.0.8
Feb 27, 2024
0.0.8rc1
Feb 24, 2024
0.0.7
Feb 23, 2024
0.0.6
Feb 13, 2024
0.0.5
Jan 25, 2024
0.0.4
Jan 25, 2024
0.0.3
Jan 19, 2024
0.0.2.post1
Jan 12, 2024
0.0.2
Jan 06, 2024
0.0.1
Jan 05, 2024
0.0.1rc1
Jan 06, 2024
0.0.1rc0
Jan 05, 2024
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
langchain-core
(<2.0.0,>=1.2.21)
openai
(<3.0.0,>=2.26.0)
tiktoken
(<1.0.0,>=0.7.0)