openai/openai-python
The official Python library for the OpenAI API
- Stars
- 32k
- Forks
- 8.1k
- Open issues
- 62
- Last push
- today
About openai-python
openai-python is a free, open-source AI developer tool by openai, written mainly in Python. The official Python library for the OpenAI API. It has 32k GitHub stars and 8.1k forks, and was last updated today. It's released under the Apache-2.0 license, a standard open-source license.
- License
- Apache-2.0
- Language
- Python
- Stars
- 31,907
- Last update
- today
- Runs on Mac
- Not stated
- GPU
- Not stated
- Paid API key
- Required
- Self-hostable
- Yes
Similar free tools
openai-cookbook77k stars · Examples and guides for using the OpenAI API
litellm62k stars · The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropi
openai-node11k stars · Official JavaScript / TypeScript library for the OpenAI API
new-api50k stars · A unified AI model hub for aggregation & distribution. It supports cross-converting various LLMs into OpenAI-compatible, Claude-compatible, or Gemini-compatible formats. A centralized gateway for pers
evolution-api9.9k stars · Evolution API is an open-source WhatsApp integration API
openai3.0k stars · .NET library for the OpenAI service API by Betalgo Ranul
openai-python FAQ
Is openai-python free?
openai-python is open source, but it needs a paid third-party API key to work. It's released under the Apache-2.0 license, a standard open-source license.
Does openai-python run on a Mac?
The project doesn't say. Check its installation guide before you start.
Does openai-python need a GPU?
The project doesn't state hardware needs. AI models generally run much faster with a GPU.
Is openai-python still maintained?
Yes. It was last updated today and has 62 open issues on GitHub.
What are alternatives to openai-python?
Similar free, open-source tools include openai-cookbook, litellm, openai-node, new-api.