Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
64 repos in Run models locally matching “api”
Runtimes, inference servers and quantisation for running models on your own hardware.
Run models locally
Stars:340ollamafreeapi
OllamaFreeAPI: Free Distributed API for Ollama LLMs Public gateway to our managed Ollama servers with: - Zero-configuration access to 50+ models - Auto load-balanced across global nodes - Free tier with no API keys required - Built on ollama-python
Python · updated 1 month agoDetails›Run models locally
Stars:50.5kLocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Go · MIT · updated 10 days agoDetails›Run models locally
Stars:23.8komlx
LLM inference server with continuous batching & SSD caching for Apple Silicon — managed from the macOS menu bar
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:15.1kTensorRT-LLM
TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that…
Python · updated 10 days agoDetails›Run models locally
Stars:12.6kOpenLLM
Run any open-source LLMs, such as DeepSeek and Llama, as OpenAI compatible API endpoint in the cloud.
Python · Apache-2.0 · updated 15 days agoDetails›Run models locally
Stars:8.9kBentoML
The easiest way to serve AI apps and models - Build Model Inference APIs, Job queues, LLM apps, Multi-model pipelines, and more!
Python · Apache-2.0 · updated 14 days agoDetails›Run models locally
Stars:6.6kapfel
The free AI already on your Mac. CLI tool, OpenAI-compatible server, and interactive chat — all on-device via Apple Intelligence. No API keys, no cloud, no downloads.
Swift · MIT · updated 10 days agoDetails›Run models locally
Stars:6.3kllama-swap
Reliable model swapping for any local OpenAI/Anthropic compatible server - llama.cpp, vllm, etc
Go · MIT · updated 11 days agoDetails›Run models locally
Stars:6kshimmy
Pure-Rust WebGPU inference engine — OpenAI-API compatible, GGUF native, runs on any GPU. No Python. No llama.cpp. Single binary.
Rust · Apache-2.0 · updated 18 days agoDetails›Run models locally
Stars:4.3koptillm
Optimizing inference proxy for LLMs
Python · Apache-2.0 · updated 15 days agoDetails›Run models locally
Stars:4.1koneDNN
Open-source library of optimized deep learning operations (matmul, convolution, attention) for CPUs (x64, AArch64, RISC-V) and Intel GPUs. Used by PyTorch, TensorFlow, OpenVINO, and ONNX Runtime.
C++ · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:4kLitServe
A minimal Python framework for building custom AI inference servers with full control over logic, batching, and scaling.
Python · Apache-2.0 · updated 29 days agoDetails›Run models locally
Stars:3.5kclaude-code-local
Run Claude Code 100% on-device with local AI on Apple Silicon. MLX-native Anthropic-API server. 6 fighters incl. Muse-Glimmer 30B (now multimodal — reads images, abliterated), Gemma 4 31B, Qwen 3.5 122B (65 tok/s), DeepSeek V4 Flash (1M ctx). Private, offline, airgap-ready. Built for NDA / legal /…
Python · MIT · updated 10 days agoDetails›Run models locally
Stars:3.1kproject-maya
Project Maya - run GLM-5.3-Flash (321B MoE) and DeepSeek-V4.1-Flash-1017 (748B MoE) privately on your own GPU(s), from one card to 16, NVIDIA or AMD, Linux or Windows. Engine, server, dashboard, OpenAI- and Anthropic-compatible API, quant tools.
C++ · MIT · updated 10 days agoDetails›Run models locally
Stars:2.6khuggingface.js
Use Hugging Face with JavaScript
TypeScript · MIT · updated 10 days agoDetails›Run models locally
Stars:2.5kAingDesk
AingDesk是一款简单好用的AI助手,支持知识库、模型API、分享、联网搜索、智能体,它还在飞快成长中。 AingDesk is a simple and easy-to-use AI assistant that supports knowledge bases, model APIs, sharing, internet search, and intelligent agents. It is still growing rapidly.
TypeScript · MIT · updated 5 months agoDetails›Run models locally
Stars:2.4kagent-router
Manages Unified Access to Generative AI Services built on Envoy Gateway
Go · Apache-2.0 · updated 11 days agoDetails›Run models locally
Stars:1.7ktrnrt
The open LLM inference engine for AWS Trainium: NKI megakernels, 1M-token context, OpenAI-compatible API. By RunAnywhere.
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:1.4kOllamaSharp
The easiest way to use Ollama in .NET
C# · MIT · updated 19 days agoDetails›Run models locally
Stars:1.4khalogen-flash-server
Local inference that behaves like a frontier API: Qwen3.8-Flash-Next on AMD Strix Halo plus small NPU models, over the OpenAI and Anthropic APIs on one port.
Shell · updated 13 days agoDetails›Run models locally
Stars:1.3kGoModel
AI gateway / AI control plane / AI proxy written in Go. Unified OpenAI-compatible and Anthropic-compatible API for OpenAI, Anthropic, Gemini, Groq, xAI, Ollama, vLLM and more. A LiteLLM alternative with observability, guardrails, streaming, cost tracking, intelligent routing…
Go · MIT · updated 10 days agoDetails›Run models locally
Stars:1.3kPolyStrata
Run large AI models on your own PC: Qwen3.8-Flash-Next on Strata's engine, and GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Qwen3.6, Ornith 1.5, Gemma 4, Tiel Coder and MiniCPM-V on a second engine written for PolyStrata. One-click install for Windows and Linux, OpenAI/Anthropic API on localhost.
C++ · MIT · updated 13 days agoDetails›Run models locally
Stars:1.3kPolyStrata
Run large AI models on your own PC: Qwen3.8-Flash-Next on Strata's engine, and GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Qwen3.6, Ornith 1.5, Gemma 4, Tiel Coder and MiniCPM-V on a second engine written for PolyStrata. One-click install for Windows and Linux, OpenAI/Anthropic API on localhost.
C++ · MIT · updated 13 days agoDetails›Run models locally
Stars:1.3kgpt_mobile
Chat app for Android that supports answers from multiple LLMs at once. Bring your own API key AI client. Supports OpenAI, Anthropic, Google, and Ollama. Designed with Material3 & Compose.
Kotlin · GPL-3.0 · updated 13 days agoDetails›Run models locally
Stars:1.3kai-hub-models
Qualcomm® AI Hub Models is our collection of state-of-the-art machine learning models optimized for performance (latency, memory etc.) and ready to deploy on Qualcomm® devices.
Python · BSD-3-Clause · updated 10 days agoDetails›Run models locally
Stars:1.1kagents-from-scratch
Build AI agents from first principles using a local LLM - no frameworks, no cloud APIs, no hidden reasoning.
Python · MIT · updated 4 months agoDetails›Run models locally
Stars:964Local_Pdf_Chat_RAG
Transparent Python RAG reference with FAISS + BM25 hybrid retrieval, reranking, Gradio UI, and FastAPI.
Python · MIT · updated 3 months agoDetails›Run models locally
Stars:941macai
All-in-one native macOS AI chat application for virtually any AI provider
Swift · Apache-2.0 · updated 3 months agoDetails›Run models locally
Stars:843llmcord
Make Discord your LLM frontend - Supports any OpenAI compatible API (OpenRouter, Ollama and more)
Python · MIT · updated 3 months agoDetails›Run models locally
Stars:833helix
Private Agent Fleet with Spec Coding. Each agent gets their own GPU-accelerated desktop. Run Claude, Codex, Gemini and open models on a full private AI Stack
Go · updated 10 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.