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 (77.6K stars), minimind (73K stars) and gpt4free (67.1K stars). GitHub.Locker tracks 41 OpenAI API repositories with 583.4K stars combined. The fastest-growing on November 30 was minimind, with +703 stars in a day.

41Projects
583.4KStars in total
+1.5KStars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

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

    77.6K
  2. #2 · 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.

    73K
  3. #3 · 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.

    67.1K
  1. 4

    exo

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

  2. 5

    GPT_API_free

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

  3. 6

    Hello-Python

    38.2Kmouredev/Hello-Python · Python

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

  4. 7

    one-api

    37.5Ksongquanpeng/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.

  5. 8

    omlx

    23.7Kjundot/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.

  6. 9

    generative_agents

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

  7. 10

    swarm

    22.2Kopenai/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.

  8. 11

    open-saas

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

  9. 12

    langchain4j

    13.4Klangchain4j/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.

  10. 13

    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.

  11. 14

    openai-node

    11.3Kopenai/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.

  12. 15

    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.

  13. 16

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

  14. 17

    get_jobs

    9.8Kloks666/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.

  15. 18

    shuohao-skills

    6.8Keternityspring/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.

  16. 19

    workbuddy2api-panel

    4.9Klinguo2625469/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.

  17. 20

    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.

  18. 21

    folkbench

    4KFolkbench/folkbench · TypeScript

    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.

  19. 22

    OrcaRouter-Lite

    3.4KContinuum-AI-Corp/OrcaRouter-Lite · Python

    A self-hosted server that sits between your apps and LLM providers. It exposes an OpenAI-compatible API, routes each request to the providers whose keys you add, and can fall back to the hosted OrcaRouter when local keys fail.

  20. 23

    project-maya

    3Kmw00/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.

  21. 24

    mlx-serve

    2.5Kddalcu/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.

  22. 25

    vm2api

    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.

  23. 26

    trnrt

    1.6KRunanywhereAI/trnrt · Python

    An open inference engine for large language models on AWS Trainium. It serves an OpenAI-compatible API from one trn2.48xlarge box, with GLM-5.3-Flash as the first supported model.

  24. 27

    halogen-flash-server

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

  25. 28

    localjev

    844githubnext/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.

  26. 29

    kapitsa

    824nace-ai/kapitsa · C++

    Kapitsa is a local inference engine for Apple Silicon Macs that runs Qwen, Nemotron and Recursive's Flint models, built specifically to power coding agents.

  27. 30

    kaggle-tpu-lab

    810ARahim3/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.

  28. 31

    slotstream

    673carloslfu/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.

  29. 32

    casbin-gateway

    650apache/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.

  30. 33

    fanzha-ai-proxy

    635lfzk550/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.

  31. 34

    bluey-by-riley

    593rbrown101010/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.

  32. 35

    buscandomilhao

    491soumatheusgomes/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.

  33. 36

    free-router-proxy

    485www222fff/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.

  34. 37

    pentest-harness

    475S1N6H/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.

  35. 38

    OpenAgentCore

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

  36. 39

    alzeo

    269hasso5703/alzeo · Python

    A one-command installer that sets up a hardened, boot-persistent SGLang serving stack for the Qwen3.8 model family on a single NVIDIA DGX Spark (GB10), reaching 50 tok/s greedy median and up to 1M context on the 27B NVFP4 config, with a 176B Flash-Next MoE model also fitting on one box.

  37. 40

    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.

  38. 41

    aipass-bridge

    159niawjunior/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.

Often tagged together