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.
2,884 repos matching “model”
Image generation
Stars:148kComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Python · GPL-3.0 · updated 10 days agoDetails›Learn AI
Stars:109kLLMs-from-scratch
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
Jupyter Notebook · updated 11 days agoDetails›Run models locally
Stars:97.3kvllm
A high-throughput and memory-efficient inference and serving engine for LLMs
Python · Apache-2.0 · updated 10 days agoDetails›MCP servers
Stars:89.3kOmniRoute
Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95%…
TypeScript · MIT · updated 10 days agoDetails›MCP servers
Stars:89.3kOmniRoute
Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Deskto…
TypeScript · MIT · updated 10 days agoDetails›Chat interfaces
Stars:89kNextChat
Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.
TypeScript · MIT · updated 1 month agoDetails›Learn AI
Stars:85.2kllm-course
Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.
Apache-2.0 · updated 9 months agoDetails›Learn AI
Stars:80.3kPrompt-Engineering-Guide
Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
MDX · MIT · updated 8 months agoDetails›Training & MLOps
Stars:79.9kunsloth
Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4, MiniMax-H3, Gemma 4, FLUX and more.
Python · Apache-2.0 · updated 10 days agoDetails›Chat interfaces
Stars:71.7kgpt_academic
为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。
Python · GPL-3.0 · updated 10 months agoDetails›Open models
Stars:68.9kopeninterpreter
A coding agent for open models like Kimi K3 and GLM 5.3
Rust · Apache-2.0 · updated 10 days agoDetails›Learn AI
Stars:68kminimind
Train a 64M-parameter LLM from scratch in just 2h!
Python · Apache-2.0 · updated 10 days agoDetails›Chat interfaces
Stars:67.1kgpt4free
The official gpt4free repository | various collection of powerful language models | opus 4.6 gpt 5.3 kimi 2.5 deepseek v3.2 gemini 3
Python · GPL-3.0 · updated 19 days agoDetails›Speech & audio
Stars:64.2kGPT-SoVITS
1 min voice data can also be used to train a good TTS model! (few shot voice cloning)
Python · MIT · updated 20 days agoDetails›Coding assistants
Stars:59.2kCLIProxyAPI
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini Series, GPT Series, Grok Series, Claude model through API
Go · MIT · updated 10 days agoDetails›AI agents
Stars:59kai-agent-book
《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码
Python · Apache-2.0 · updated 1 month agoDetails›MCP servers
Stars:57.6kprivate-gpt
Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more. Works with any OpenAI-compatible inference server.
Python · Apache-2.0 · updated 12 days agoDetails›Open models
Stars:55.9kfreellmapi
7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
TypeScript · MIT · updated 11 days agoDetails›Speech & audio
Stars:55.4kwhisper.cpp
Port of OpenAI's Whisper model in C/C++
C++ · MIT · updated 11 days agoDetails›Open models
Stars:52.3knew-api
A unified AI model hub for aggregation & distribution. It supports cross-converting various LLMs into OpenAI-compatible, Claude-compatible, or Gemini-compatible formats. A centralized gateway for personal and enterprise model management.
Go · AGPL-3.0 · updated 11 days 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›Training & MLOps
Stars:50.5kqlib
Qlib is an AI-oriented Quant investment platform that aims to use AI tech to empower Quant Research, from exploring ideas to implementing productions. Qlib supports diverse ML modeling paradigms, including supervised learning, market dynamics modeling, and RL, and is now…
Python · MIT · updated 26 days agoDetails›MCP servers
Stars:49kcodebase-memory-mcp
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 162 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
C · MIT · updated 10 days agoDetails›MCP servers
Stars:48kCowAgent
Open-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Python · MIT · updated 10 days agoDetails›Chat interfaces
Stars:47.4kLibreChat
Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions…
TypeScript · MIT · updated 10 days agoDetails›Training & MLOps
Stars:44.1kgradio
Build and share delightful machine learning apps, all in Python. Star to support our work!
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:43.3kDeepSpeed
DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.
Python · Apache-2.0 · updated 10 days agoDetails›Open models
Stars:42.4kheretic
Fully automatic censorship removal for language models
Python · AGPL-3.0 · updated 11 days agoDetails›Run models locally
Stars:41.4kColossalAI
Making large AI models cheaper, faster and more accessible
Python · Apache-2.0 · updated 12 days agoDetails›Open models
Stars:40.8kChatGLM-6B
ChatGLM-6B: An Open Bilingual Dialogue Language Model | 开源双语对话语言模型
Python · Apache-2.0 · updated 2 years agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.