InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 Python openai-api Projects
-
gpt4free
The official gpt4free repository | various collection of powerful language models | o4, o3 and deepseek r1, gpt-4.1, gemini 2.5
Project mention: GPT4Free: "educational project" for free LLM inference from various services | news.ycombinator.com | 2025-06-30 -
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Hello-Python
Curso para aprender el lenguaje de programación Python desde cero y para principiantes. 100 clases, 44 horas en vídeo, código, proyectos y grupo de chat. Fundamentos, frontend, backend, testing, IA...
-
-
inference
Replace OpenAI GPT with another LLM in your app by changing a single line of code. Xinference gives you the freedom to use any LLM you need. With Xinference, you're empowered to run inference with any open-source language models, speech recognition models, and multimodal models, whether in the cloud, on-premises, or even on your laptop.
-
-
-
Project mention: Using Claude Code to modernize a forgotten Linux kernel driver | news.ycombinator.com | 2025-09-07
> using these tools as a massive force multiplier…
Even before tools like CC it was the case that LLMs enabled venturing into projects/areas that would be intimidating otherwise. But Claude-Code (and codex-cli as of late) has made this massively more true.
For example I recently used CC to do a significant upgrade of the Langroid LLM-Agent framework from Pydantic V1 to V2, something I would not have dared to attempt before CC:
https://github.com/langroid/langroid/releases/tag/0.59.0
I also created nice collapsible html logs [2] for agent interactions and tool-calls, inspired by @badlogic/Zechner’s Claude-trace [3] (which incidentally is a fantastic tool!).
[2] https://github.com/langroid/langroid/releases/tag/0.57.0
[3] https://github.com/badlogic/lemmy/tree/main/apps/claude-trac...
And added a DSL to specify agentic task termination conditions based on event-sequence patterns:
https://langroid.github.io/langroid/notes/task-termination/
Needless to say, the docs are also made with significant CC assistance.
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
Project mention: Show HN: DeepThink Plugin – Bring Gemini 2.5's parallel reasoning to open models | news.ycombinator.com | 2025-06-18
- Increases inference time but significantly improves answer quality
Link: https://github.com/codelion/optillm/tree/main/optillm/plugin...
-
Project mention: Speaches: Local API server for TTS/STT models using faster-whisper | news.ycombinator.com | 2025-06-11
-
#!/usr/bin/env -S uv run --script # /// script # requires-python = ">=3.10" # dependencies = [ # "fire", # "magentic", # "pydantic", # ] # /// from fire import Fire from magentic import chatprompt, AssistantMessage, SystemMessage, UserMessage from pydantic import BaseModel # this is a modified version of magentic's example chatprompt code # https://magentic.dev/#chatprompt class Quote(BaseModel): quote: str character: str @chatprompt( SystemMessage("You are a movie buff."), UserMessage("What is your favorite quote from Harry Potter?"), AssistantMessage( Quote( quote="It does not do to dwell on dreams and forget to live.", character="Albus Dumbledore", ) ), UserMessage("What is your favorite quote from {movie}?"), ) def get_movie_quote(movie: str) -> Quote: ... if __name__=="__main__": Fire(get_movie_quote)
-
GPTDiscord
A robust, all-in-one GPT interface for Discord. ChatGPT-style conversations, image generation, AI-moderation, custom indexes/knowledgebase, youtube summarizer, and more!
-
lemonade
Lemonade helps users run local LLMs with the highest performance by configuring state-of-the-art inference engines for their NPUs and GPUs. Join our discord: https://discord.gg/5xXzkMu8Zk (by lemonade-sdk)
And on windows you can try AMD libraries like https://github.com/lemonade-sdk/lemonade to run arbitrary LLMs. AMD is actively developing support for the NPU.
-
-
openai-forward
🚀 大语言模型高效转发服务 · An efficient forwarding service designed for LLMs. · OpenAI API Reverse Proxy
Project mention: Hack IKKO "AI powered" earbuds to run DOOM, stole OpenAI API key, customer data | news.ycombinator.com | 2025-07-02- https://github.com/KenyonY/openai-forward/tree/main
but they still lack other abuse protection mechanism like rate limitting, device attestation etc. so I started building my own open source SDK
-
-
-
-
MCP-Bridge
A middleware to provide an openAI compatible endpoint that can call MCP tools (by SecretiveShell)
Project mention: Show HN: MCP Bridge – Access Local MCP Servers Remotely | news.ycombinator.com | 2024-12-26What's the difference between yours and https://github.com/SecretiveShell/MCP-Bridge
-
Project mention: OpenAI-Compatible RESTful APIs for Amazon Bedrock | news.ycombinator.com | 2025-03-22
-
-
You might want to try out https://hackernews.betacat.io/
-
Chatterbox-TTS-Server
Self-host the powerful Chatterbox TTS model. This server offers a user-friendly Web UI, flexible API endpoints (incl. OpenAI compatible), predefined voices, voice cloning, and large audiobook-scale text processing. Runs accelerated on NVIDIA (CUDA), AMD (ROCm), and CPU.
Project mention: Show HN: Chatterbox-TTS-Server – Easy web UI for the new open-source TTS model | news.ycombinator.com | 2025-05-31 -
mlx-omni-server
MLX Omni Server is a local inference server powered by Apple's MLX framework, specifically designed for Apple Silicon (M-series) chips. It implements OpenAI-compatible API endpoints, enabling seamless integration with existing OpenAI SDK clients while leveraging the power of local ML inference.
Project mention: Gemma 3 QAT Models: Bringing AI to Consumer GPUs | news.ycombinator.com | 2025-04-20I haven't tried it yet but there's an MLX project that exposes an OpenAI-compatible serving endpoint that should work with Open WebUI: https://github.com/madroidmaq/mlx-omni-server
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python openai-api discussion
Python openai-api related posts
-
Telegram Bot @ChatGPTTlgrmBot Updated to GPT-5.1: New Features and Promo Code
-
2025 Voice AI Guide: How to Make Your Own Real-Time Voice Agent (Part-2)
-
Using LLMs in 3 lines of Python
-
Speaches: Local API server for TTS/STT models using faster-whisper
-
Supercharge Your Workflow: AI Chatbots, CLI Magic, and Smarter AI Usage with nGPT
-
OpenAI-Compatible RESTful APIs for Amazon Bedrock
-
Launch HN: Patched (YC S24) – AI workflows for post-code tasks
-
A note from our sponsor - InfluxDB
www.influxdata.com | 15 Nov 2025
Index
What are some of the best open-source openai-api projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | gpt4free | 65,540 |
| 2 | Hello-Python | 32,805 |
| 3 | gorilla | 12,550 |
| 4 | inference | 8,736 |
| 5 | atomic-agents | 5,260 |
| 6 | json_repair | 3,901 |
| 7 | langroid | 3,759 |
| 8 | optillm | 3,105 |
| 9 | speaches | 2,587 |
| 10 | magentic | 2,379 |
| 11 | GPTDiscord | 1,848 |
| 12 | lemonade | 1,600 |
| 13 | scrapeghost | 1,443 |
| 14 | openai-forward | 968 |
| 15 | AI-Functions | 936 |
| 16 | langcorn | 933 |
| 17 | whisper-writer | 913 |
| 18 | MCP-Bridge | 876 |
| 19 | bedrock-access-gateway | 869 |
| 20 | Linguflex | 775 |
| 21 | hacker-news-digest | 734 |
| 22 | Chatterbox-TTS-Server | 609 |
| 23 | mlx-omni-server | 595 |