Thanks to visit codestin.com
Credit goes to www.libhunt.com

Python openai-api

Open-source Python projects categorized as openai-api

Top 23 Python openai-api Projects

  1. 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
  2. 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.

    InfluxDB logo
  3. 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...

  4. gorilla

    Gorilla: Training and Evaluating LLMs for Function Calls (Tool Calls)

    Project mention: Gorilla: Bridging LLMs and the Real World | dev.to | 2024-12-10
  5. 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.

  6. atomic-agents

    Building AI agents, atomically

  7. json_repair

    A python module to repair invalid JSON from LLMs

  8. langroid

    Harness LLMs with Multi-Agent Programming

    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.

  9. 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.

    Stream logo
  10. optillm

    Optimizing inference proxy for LLMs

    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...

  11. speaches

    Project mention: Speaches: Local API server for TTS/STT models using faster-whisper | news.ycombinator.com | 2025-06-11
  12. magentic

    Seamlessly integrate LLMs as Python functions

    Project mention: Using LLMs in 3 lines of Python | dev.to | 2025-06-30

    #!/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)

  13. GPTDiscord

    A robust, all-in-one GPT interface for Discord. ChatGPT-style conversations, image generation, AI-moderation, custom indexes/knowledgebase, youtube summarizer, and more!

  14. 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)

    Project mention: Framework 16 Updated | news.ycombinator.com | 2025-08-26

    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.

  15. scrapeghost

    👻 Experimental library for scraping websites using OpenAI's GPT API.

  16. 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

  17. AI-Functions

    AI-Powered Function Magic: Never code again with GPT models!

  18. langcorn

    ⛓️ Serving LangChain LLM apps and agents automagically with FastApi. LLMops

  19. whisper-writer

    💬📝 A small dictation app using OpenAI's Whisper speech recognition model.

  20. 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-26

    What's the difference between yours and https://github.com/SecretiveShell/MCP-Bridge

  21. bedrock-access-gateway

    OpenAI-Compatible RESTful APIs for Amazon Bedrock

    Project mention: OpenAI-Compatible RESTful APIs for Amazon Bedrock | news.ycombinator.com | 2025-03-22
  22. Linguflex

    Command Your World with Voice

  23. hacker-news-digest

    :newspaper: Let ChatGPT Summarize Hacker News for You

    Project mention: AI overviews cause drop in search clicks | news.ycombinator.com | 2025-07-23

    You might want to try out https://hackernews.betacat.io/

  24. 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
  25. 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-20

    I 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

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python openai-api discussion

Log in or Post with

Python openai-api related posts

  • Telegram Bot @ChatGPTTlgrmBot Updated to GPT-5.1: New Features and Promo Code

    1 project | dev.to | 15 Nov 2025
  • 2025 Voice AI Guide: How to Make Your Own Real-Time Voice Agent (Part-2)

    3 projects | dev.to | 11 Oct 2025
  • Using LLMs in 3 lines of Python

    4 projects | dev.to | 30 Jun 2025
  • Speaches: Local API server for TTS/STT models using faster-whisper

    1 project | news.ycombinator.com | 11 Jun 2025
  • Supercharge Your Workflow: AI Chatbots, CLI Magic, and Smarter AI Usage with nGPT

    1 project | dev.to | 14 May 2025
  • OpenAI-Compatible RESTful APIs for Amazon Bedrock

    1 project | news.ycombinator.com | 22 Mar 2025
  • Launch HN: Patched (YC S24) – AI workflows for post-code tasks

    4 projects | news.ycombinator.com | 31 Oct 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Nov 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

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,913
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

Sponsored
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.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?