Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

ChatGPT API Python Packages

Python packages with the GitHub topic chatgpt-api. Sorted by monthly downloads, with stars and forks.
zilliztech
gptcache

Semantic cache for LLMs. Fully integrated with LangChain and llama_index.

131K 8K 606
xtekky
g4f

The official gpt4free repository | various collection of powerful language models | opus 4.6 gpt 5.3 kimi 2.5 deepseek v3.2 gemini 3

86K 67K 13K
CHOAM-CO
codex-as-api

Local OpenAI & Anthropic compatible API server backed by ChatGPT/Codex OAuth credentials. Python, TypeScript, and Rust.

5K 39 12
lpalbou
airelays

Independent OpenAI-compatible local relay for your own ChatGPT and Claude subscriptions: one standard /v1 API (chat completions, responses), multi-account balancing with automatic failover and retry, and a cross-platform desktop app. Single-user personal use; not affiliated with any provider.

3K 4 2
CubeNLP
chattool

Toolkit for Chat API.

3K 39 4
uripeled2
llm-client

SDK for using LLM

2K 83 11
rzashakeri
gpt4free

decentralising the Ai Industry, just some language model api's...

2K 67K 13K
anki-code
xontrib-openai

Use Open AI models in xonsh shell.

2K 6 2
Hosseinghorbani0
askai-python

AI Made Simple. Unified API for OpenAI, Groq, Google, and more.

2K 15 1
TeamKillerX
ryuzakilib

RyuzakiLib is a downloader tool, ChatGPT Free, FluxAI Free, image generator [PYTHON-BACKEND] all supported

2K 12 9
beyimjan
shell-whiz

AI assistant for command line

2K 60 2
testwithsuraj
kunji

Every AI model in one terminal, with your own API keys. See what every answer costs, set daily budgets, switch models mid-chat. Free and open source.

2K 6 6
robotlearning123
gpt2agent

Use your ChatGPT Plus/Pro in Claude Code and other AI agents — one command setup

2K 52 4
rizerphe
openai-functions

Generate ChatGPT function call schemas based on function docstrings.

2K 57 8
Sxvxgee
unlimitedgpt

An unofficial Python wrapper for OpenAI's ChatGPT API

1K 427 45
shuttleai
shuttleai

Access Shuttle AI's API via an easy-to-use Python wrapper. Dashboard: https://shuttleai.com Discord: https://discord.gg/shuttleai

1K 5 1
diezo
progpt

🧠 Reverse-Engineered Python Client for ChatGPT Web Conversations

950 87 12
wwakabobik
openai-python-api

OpenAI Python API

839 0 0
Simatwa
webchatgpt

Python SDK/API for ChatGPT Web-Version

795 124 24
signebedi
gptty

ChatGPT wrapper in your TTY

772 52 7
veldandaga
chatgptcli

The command line wrapper for ChatGPT. A Python wrapper for OpenAI's ChatGPT API - chatgptcli

764 1 0
SpazioDati
llm-elasticsearch-cache

[IMPORTANT: This library is now part of LangChain, follow its official documentation] A caching layer for LLMs that exploits Elasticsearch, fully compatible with LangChain caching, both for chat and embeddings models.

732 9 0
AineeJames
gpterminator

GPTerminator provides a convenient way to interact with OpenAI's chat completion and image generation API's using your command line interface.

701 230 15
Zai-Kun
re-gpt

Unofficial reverse-engineered ChatGPT API in Python

685 295 43
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology