Topics / #openai-api

OpenAI API projects on GitHub

Building against OpenAI language model APIs

As of , the most-starred OpenAI API projects on GitHub are openai-cookbook (76.7K stars), gpt4free (66.9K stars) and minimind (63.9K stars). GitHub.Locker tracks 48 OpenAI API repositories with 719.1K stars combined. The fastest-growing on October 16 was folkbench, with +151 stars in a day.

48Projects
719.1KStars in total
+731Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

48 projects · by stars

  1. #1 · openai/openai-cookbook

    openai-cookbook

    A collection of example code and guides for accomplishing common tasks with the OpenAI API, covering things like prompting, embeddings, function calling, and retrieval.

    76.7K
  2. #2 · xtekky/gpt4free

    gpt4free

    GPT4Free (g4f) is a community-driven project that aggregates many free and reverse-engineered access points to commercial LLMs (GPT-4, Claude, Gemini, DeepSeek, etc.) and media-generation models, exposing them through one unified Python/JS client, web GUI, and OpenAI-compatible API.

    66.9K
  3. #3 · jingyaogong/minimind

    minimind

    MiniMind is an open-source project that lets you train a tiny large language model (around 64M parameters) completely from scratch, in about 2 hours on a single RTX 3090 for roughly the cost of 3 RMB in GPU rental.

    63.9K
  1. 4

    gpt-engineer

    55KAntonOsika/gpt-engineer · Python

    gpt-engineer is a CLI tool where you describe the software you want in a plain-text 'prompt' file, and an AI (OpenAI, Azure OpenAI, or Anthropic models) writes and executes the code for you; you can also ask it to implement improvements to existing code.

  2. 5

    exo

    47.9Kexo-explore/exo · Python

    exo turns a group of your own devices (Macs, Linux boxes) into a single AI cluster so you can run large AI models that would never fit on one machine, pooling their memory and compute together.

  3. 6

    GPT_API_free

    44.3Kchatanywhere/GPT_API_free

    GPT_API_free is a free relay/proxy API service that lets you call GPT, DeepSeek, Claude, Gemini, Grok, Qwen, Kimi and MiniMax models through one OpenAI-compatible interface, with a paid tier that is much cheaper than official pricing.

  4. 7

    Hello-Python

    37.8Kmouredev/Hello-Python · Python

    This is a free, Spanish-language video course that teaches the Python programming language from scratch, aimed at complete beginners.

  5. 8

    one-api

    37.2Ksongquanpeng/one-api · JavaScript

    One API is a self-hosted LLM gateway and key management system: you pool API keys from many providers, and it serves them all through a single OpenAI-compatible API, with a web panel for users, quotas and billing.

  6. 9

    ChatGPT

    27.9Kacheong08/ChatGPT · Python

    An unofficial, reverse-engineered ChatGPT API in Python — it lets you talk to ChatGPT from your code or terminal instead of the website, and it is extensible for building chatbots.

  7. 10

    omlx

    22.9Kjundot/omlx · Python

    oMLX is a local LLM inference server for Apple Silicon Macs. It serves text LLMs, vision models, OCR, embeddings and rerankers with continuous batching and a tiered KV cache, managed from the macOS menu bar.

  8. 11

    generative_agents

    22.2Kjoonspk-research/generative_agents

    This is the official code release for the research paper 'Generative Agents: Interactive Simulacra of Human Behavior'. It contains the simulation module and game environment for computational agents that simulate believable human behavior in a sandbox town called Smallville.

  9. 12

    swarm

    22.1Kopenai/swarm · Python

    Swarm is an experimental, educational framework from OpenAI's Solutions team for lightweight multi-agent orchestration, built around two primitives: Agents and handoffs.

  10. 13

    chatgpt-retrieval-plugin

    21.3Kopenai/chatgpt-retrieval-plugin · Python

    An open-source retrieval backend for ChatGPT: it indexes your personal or work documents in a vector database and answers natural-language questions with the most relevant snippets — the RAG pattern. Enterprises use it to make internal docs searchable through ChatGPT.

  11. 14

    open-saas

    16.1Kwasp-lang/open-saas · MDX

    Open SaaS is a free, open-source SaaS boilerplate built on the Wasp full-stack framework (React, NodeJS, Prisma). One scaffold gives you auth, payments, email, background jobs, a landing page, file uploads, an admin dashboard and more out of the box.

  12. 15

    fauxpilot

    14.7Kfauxpilot/fauxpilot · Python

    FauxPilot is an open-source, self-hosted alternative to GitHub Copilot that runs SalesForce CodeGen models locally on your own NVIDIA GPU via Triton Inference Server with the FasterTransformer backend.

  13. 16

    ChatGLM3

    13.6Kzai-org/ChatGLM3 · Python

    ChatGLM3 is a series of open bilingual (Chinese-English) chat large language models released jointly by Zhipu AI and Tsinghua University's KEG Lab, including a 6B-parameter chat model, its base model, and 32K/128K long-context variants.

  14. 17

    langchain4j

    13.3Klangchain4j/langchain4j · Java

    LangChain4j is an idiomatic, open-source Java library for building LLM-powered applications on the JVM, offering a unified API over popular LLM providers and vector stores.

  15. 18

    wechat-chatgpt

    13.2Kfuergaosi233/wechat-chatgpt · TypeScript

    A bot that plugs ChatGPT into WeChat: you self-host it, and your WeChat account can then chat with GPT-3.5 in private and group chats. It is built on the wechaty library and talks to the official OpenAI API.

  16. 19

    gorilla

    13.1KShishirPatil/gorilla · Python

    Gorilla is a Berkeley research project that trains and evaluates LLMs for calling APIs and tools correctly from natural-language requests. It has grown into a suite covering finetuned models (OpenFunctions), the Berkeley Function Calling Leaderboard (BFCL), an execution runtime (GoEx), a RAG fine-tuning recipe (RAFT) and a CLI tool.

  17. 20

    openai-node

    11.2Kopenai/openai-node · TypeScript

    This is the official TypeScript/JavaScript client library for the OpenAI REST API, auto-generated from OpenAI's OpenAPI specification, giving typed access to the Responses API, Chat Completions, Realtime API, and more.

  18. 21

    text-generation-inference

    10.9Khuggingface/text-generation-inference · Python

    Text Generation Inference (TGI) is a toolkit for deploying and serving large language models — a Rust, Python and gRPC server that powers Hugging Chat, the Inference API and Inference Endpoints at Hugging Face.

  19. 22

    go-openai

    10.8Ksashabaranov/go-openai · Go

    go-openai is an unofficial Go client library for the OpenAI API, giving Go developers typed access to text generation, chat, images, audio, embeddings, moderation, fine-tuning, batches and vector stores.

  20. 23

    self-operating-computer

    10.3KOthersideAI/self-operating-computer · Python

    A framework that lets a multimodal AI model operate your computer: it views the screen and issues mouse and keyboard actions to reach the objective you give it. One of the first full computer-use projects (Nov 2023).

  21. 24

    get_jobs

    8.9Kloks666/get_jobs · Java

    get_jobs is a desktop automation tool that auto-submits your resume on four major Chinese job platforms — Boss直聘 (Boss), 前程无忧 (51job), 猎聘 (Liepin) and 智联招聘 (ZhiLian) — using browser automation, with an AI assistant that writes personalized greeting messages based on each job's description.

  22. 25

    ds2api

    4.7KCJackHwang/ds2api · Go

    DS2API is a Go middleware that converts DeepSeek's web chat capability into OpenAI-, Claude-, and Gemini-compatible APIs, so existing SDKs and clients can talk to DeepSeek as if it were one of those providers.

  23. 26

    shuohao-skills

    4.7Keternityspring/shuohao-skills · JavaScript

    A collection of agent skills for producing AI short dramas from a novel: it breaks the novel into characters, builds an adaptation outline, generates art/prop bibles, writes the screenplay, and cuts the storyboard. It runs inside Claude Code or codex as a coding agent.

  24. 27

    m_flow

    4.5KFlowElement-xinliuyuansu/m_flow · Python

    M-flow is a bio-inspired cognitive memory engine that acts as a new paradigm for Graph RAG: instead of just retrieving similar text chunks, it builds a graph of memories and scores answers by the strongest chain of evidence connecting the query to the content, the way human recall works.

  25. 28

    nofwl

    4.1Klencx/nofwl · Rust

    NoFWL is a ChatGPT desktop application for Mac, Windows and Linux. Its development was inspired by lencx/ChatGPT, but the project positions itself as the version with more powerful features.

  26. 29

    workbuddy2api-panel

    3.6Klinguo2625469/workbuddy2api-panel · Go

    WorkBuddy2API Panel is a self-hosted gateway that turns Tencent CodeBuddy/WorkBuddy accounts into an OpenAI-compatible '/v1/chat/completions' API, pools multiple accounts, and auto-completes the official growth-center tasks, with a bundled web admin panel.

  27. 30

    vault-ai

    3.4Kpashpashpash/vault-ai · JavaScript

    OP Vault gives ChatGPT long-term memory over your own documents: you upload a knowledge base of books, letters or PDFs and ask questions about their contents, powered by OpenAI and the Pinecone vector database.

  28. 31

    mlx-serve

    2Kddalcu/mlx-serve · Zig

    mlx-serve is a native local inference server for Apple Silicon Macs that runs MLX and GGUF language models and exposes OpenAI-, Anthropic-, and Ollama-compatible APIs, plus generates images, video, music, speech, and 3D models, all without Python or a cloud connection.

  29. 32

    folkbench

    1.3KFolkbench/folkbench · Rust

    Folkbench is a benchmark and directory site for AI API relay providers (中转站) that resell access to models like GPT, Claude, Gemini, Grok and DeepSeek. It tracks each provider's availability rate, P95 response time, and pricing per model so you can compare them with real data instead of marketing claims.

  30. 33

    vm2api

    1.2Kdofastted/vm2api · JavaScript

    vm2api is a self-hosted proxy that runs your Claude/Anthropic (or OpenAI-compatible) API traffic through a real-looking virtual machine or Docker 'slot' so the account looks like a genuine Claude Console client instead of relying on system-prompt tricks or persona injection.

  31. 34

    halogen-flash-server

    1Kpeonist-ai/halogen-flash-server · Shell

    halogen-flash-server is a purpose-built inference server for running the Qwen3.8-Flash-Next model as fast as possible on AMD's Strix Halo (gfx1151) GPU, exposing an OpenAI-compatible API.

  32. 35

    project-maya

    954mw00/project-maya · C++

    Project Maya lets you run GLM-5.3-Flash, a 321-billion-parameter mixture-of-experts AI model, on your own NVIDIA GPU(s) by streaming the model's experts across VRAM, RAM and NVMe SSD as the conversation needs them.

  33. 36

    localjev

    828githubnext/localjev · TypeScript

    LocalJev is a local TypeScript/Bun server that implements a Jev-compatible POST /v1/systemone decision API, backed by the DiffusionGemma model through an OpenAI-compatible Chat Completions endpoint. It lets Jev clients run against a local open model instead of OpenJev's hosted service.

  34. 37

    kaggle-tpu-lab

    657ARahim3/kaggle-tpu-lab · Python

    A recipe that serves frontier-class open LLMs — GLM-5.3-Flash 320B MoE and Qwen3.8-27B bf16 — on Kaggle's free TPU v5e-8, exposing a public OpenAI-compatible (and Anthropic-compatible) endpoint you can plug into coding agents like Claude Code, Codex, opencode, or pi.

  35. 38

    casbin-gateway

    642apache/casbin-gateway · Go

    An open-source gateway for the AI coding agents on your machine: it watches what every agent does, relays their model traffic through one endpoint covering 44 vendors, and grades whether the API behind each key is what you actually paid for.

  36. 39

    fanzha-ai-proxy

    613lfzk550/fanzha-ai-proxy

    A reverse proxy that turns China's government 'National Anti-Fraud AI' (国家反诈AI) mobile assistant into an OpenAI-compatible API (/v1/chat/completions), so it can be plugged into normal AI chat clients.

  37. 40

    free-router-proxy

    479www222fff/free-router-proxy · JavaScript

    Free Router is a local OpenAI-compatible gateway that points your client at free models from any OpenAI-compatible provider you configure, ranking them and failing over automatically when one is rate-limited, down, or has no key.

  38. 41

    slotstream

    474carloslfu/slotstream · Swift

    Slotstream lets you run a 105 GB AI model (Qwen3.8-Flash-Next, a 125B-parameter mixture-of-experts model) on Macs with only 16 to 64 GB of RAM, by streaming most of the model from SSD and caching the busiest experts in memory.

  39. 42

    pentest-harness

    422S1N6H/pentest-harness · TypeScript

    A self-hosted AI agent harness for authorized penetration tests, bug bounty research, security labs, and CTF engagements, where you bring your own AI model API key.

  40. 43

    bluey-by-riley

    412rbrown101010/bluey-by-riley · Swift

    Googly Eyes is a blueberry character that lives on your iPhone screen and points at things on your Mac with his own cursor. It pairs a Mac menu bar app with an iPhone app so he can see your screen, talk through OpenAI's Realtime API, and even control your computer when asked.

  41. 44

    buscandomilhao

    401soumatheusgomes/buscandomilhao

    It is an AI agent that prospects for leads on Instagram on its own: it finds leads, qualifies them, writes the first message, reads replies, carries the conversation, hands off to WhatsApp, and learns from what converted to adjust audience, copy, timing and cadence.

  42. 45

    OpenAgentCore

    233MiniMax-AI/OpenAgentCore · Go

    OpenAgentCore is an open-source, self-hosted implementation of the OpenAI Agents API that lets you run AI agents on your own infrastructure using pluggable native harnesses like Codex, Claude Code or MiniMax Code.

  43. 46

    cek-probe-model

    183yureii1996/cek-probe-model · Python

    It's a collection of Python scripts that probe OpenAI-API-compatible model endpoints to check whether a model is 'masked' (mislabeled as a different architecture than it actually is). Each script fetches the model list, runs an identity/logic probe, and prints a summary.

  44. 47

    aipass-bridge

    151niawjunior/aipass-bridge · JavaScript

    AiPASS gives every Thai citizen free access to 30+ pro AI models, but only through a web chat box. This bridge puts that access in your terminal, your editor, or any OpenAI-compatible tool, and lets it read and write your local files.

  45. 48

    Taskbot-MVP

    82justDance-everybody/Taskbot-MVP

    Taskbot-MVP is a Feishu (Lark) chat bot that automates assigning remote freelance tasks: it matches candidates to a task, lets you assign with one click, and checks/accepts the work automatically.

Often tagged together