openai-api
10 repositories
Examples and guides for using the OpenAI API
A unified OpenAI-style gateway for dozens of LLM providers — One API lets you call OpenAI, Azure, Claude, Gemini, DeepSeek, ChatGLM, Ernie Bot, Qwen and more through a single standard OpenAI API format. Ships as a single binary with a Docker image for one-click deployment, aimed at teams needing centralized key management and resale of model access.
A lightweight proxy that hot-swaps local AI models on the fly — llama-swap is a single Go binary that sits in front of llama.cpp, vllm, stable-diffusion.cpp and similar servers, switching models on demand via one config file. It supports both OpenAI and Anthropic API endpoints, including chat, embeddings, images, audio and rerank, making it useful for anyone running multiple local models without juggling separate server instances.
A 27B model running 17-20 tok/s on 8-core, 8GB CPUs only — This engine runs a 27B LLM at 17-20 tokens/sec on an 8-core, 8GB-RAM CPU-only machine, claimed to be about 4x faster than the next engine tested. It ships as a prebuilt binary with an OpenAI-compatible API, targeting developers who want local inference without a GPU, for edge or self-hosted setups on Linux/WSL2 with AVX2/AVX-512.
Self-hosted inference stack for massive MoE models like GLM-5.3-Flash and DeepSeek-V4.1 — Project Maya lets you run huge mixture-of-experts models (up to 748B parameters) privately on your own GPUs, from a single card to 16, on NVIDIA or AMD, Linux or Windows. It bundles an inference engine, server, dashboard, OpenAI/Anthropic-compatible API, and quantization tools for self-hosters wanting frontier-scale LLMs without cloud dependence.
A SGLang spin-off dedicated to serving speech and omni models — Built on the SGLang project, SGLang-Omni focuses on serving TTS, ASR and unified multimodal models with OpenAI-compatible APIs, streaming and distributed inference on CUDA. Useful for teams who need production-grade speech and multimodal serving without building custom inference stacks.
An open-source inference engine built from scratch for AWS Trainium2 — TrnRT serves an OpenAI-compatible API from a single trn2.48xlarge instance, running decode as NKI megakernels (roughly one kernel per layer half) and supporting up to 1M-token context. It targets teams running LLM inference on AWS Trainium who want an open alternative to proprietary serving stacks, with published benchmarks and kernel docs.
Turn Google AI Studio's web UI into a multi-provider API — A Go proxy that converts Google AI Studio's Playground and Build web protocol into OpenAI, Anthropic and Gemini compatible APIs. It supports multi-account concurrency, dual WAA backends via Camoufox or pure Go, agent clients like Claude Code and Codex, plus Nano Banana, Veo and TTS features, with a dashboard for accounts, usage and logs.
Blazing fast Apple Silicon inference engine optimized for Qwen & Nemotron. OpenAI + Anthropic API compatible. Built by folks from nace.ai
AI changelog generator that opens PRs for you, no API key required — changelog-bot turns commit history, PR titles, and release notes into a ready-to-ship changelog entry, optionally opening a PR with compare links already wired up. It works with OpenAI or Anthropic for tone-aware summaries, but falls back to a heuristic generator if no API key is set, so releases never fail because AI is down. Ships as a CLI, GitHub Action, or reusable workflow.