开源精选 · 开源大模型

最好的开源大模型

每日更新。60 个项目,按 star 排序,并核对 fork 与维护活跃度。

开源大模型 镇场榜

成熟且仍在更新的项目。GitHub 上标注了 large-language-models, local-llm。

  1. langflow-ai/langflow Python ★ 157,065 本周 +146

    Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

  2. rasbt/LLMs-from-scratch Jupyter Notebook ★ 109,450 本周 +437

    Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

  3. mlabonne/llm-course ★ 85,401 本周 +181 最近提交在半年前

    Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.

  4. hiyouga/LlamaFactory Python ★ 76,356 本周 +86

    Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

  5. binary-husky/gpt_academic Python ★ 71,748 本周 +50 最近提交在半年前

    为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。

  6. bojieli/ai-agent-book Python ★ 60,612 本周 +684

    《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码

  7. HKUDS/nanobot Python ★ 50,492 本周 +182

    Your lightweight open-source personal agent.

  8. ray-project/ray Python ★ 44,433 本周 +70

    Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

  9. codewhale-hq/Codewhale Rust ★ 41,215 本周 +57

    Open-source Rust coding agent for terminal, web, and desktop. Any model, multi-agent fleets, MCP & plugins, OS sandboxing, and session receipts.

  10. HKUDS/LightRAG Python ★ 40,994 本周 +124

    [EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation

  11. google/langextract Python ★ 39,438 本周 +83

    A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization.

  12. langfuse/langfuse TypeScript ★ 38,109 本周 +263

    🪢 Open source AI engineering platform: AI Gateway, agent observability, evals, and prompt/skill management, built on OpenTelemetry. One open platform for every AI call and every agent. Self-host or use Langfuse Cloud.

  13. agentscope-ai/agentscope Python ★ 37,051 本周 +344

    Build and run agents you can see, understand and trust.

  14. HandsOnLLM/Hands-On-Large-Language-Models Jupyter Notebook ★ 30,539 本周 +130 最近提交在半年前

    Official code repo for the O'Reilly Book - "Hands-On Large Language Models"

  15. aishwaryanr/awesome-generative-ai-guide HTML ★ 30,475 本周 +76

    A one stop repository for generative AI research updates, interview resources, notebooks and much more!

  16. deepset-ai/haystack Python ★ 27,153 本周 +44

    Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

  17. mozilla-ai/llamafile C++ ★ 26,763 本周 +47

    Distribute and run LLMs with a single file.

  18. different-ai/openwork TypeScript ★ 24,652 本周 +70

    The open-source alternative to Claude Cowork (powered by opencode)

  19. dipakkr/awesome-ai-engineering ★ 22,672 本周 +39

    🚀 A curated collection of AI engineering resources, roadmaps, tools, and projects covering LLMs, RAG, AI Agents, MCP, fine-tuning, evaluations, and production AI systems.

  20. stefan-jansen/machine-learning-for-trading Jupyter Notebook ★ 22,188 本周 +131

    Code for Machine Learning for Trading, 3rd edition - from data sourcing to live execution.

  21. QwenLM/Qwen Python ★ 22,102 本周 +28 最近提交在半年前

    The official repo of Qwen (通义千问) chat & pretrained large language model proposed by Alibaba Cloud.

  22. AI4Finance-Foundation/FinGPT Jupyter Notebook ★ 21,752 本周 +42

    FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.

  23. stas00/ml-engineering Python ★ 19,770 本周 +27

    Machine Learning Engineering Open Book

  24. ymcui/Chinese-LLaMA-Alpaca Python ★ 18,915 本周 +8 最近提交在半年前

    中文LLaMA&Alpaca大语言模型+本地CPU/GPU训练部署 (Chinese LLaMA & Alpaca LLMs)

  25. NVIDIA/Megatron-LM Python ★ 18,609 本周 +122

    Ongoing research training transformer models at scale

  26. :sparkles::sparkles:Latest Advances on Multimodal Large Language Models

  27. camel-ai/camel Python ★ 18,088 本周 +26

    🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

  28. GoogleCloudPlatform/generative-ai Jupyter Notebook ★ 18,020 本周 +26

    Sample code and notebooks for Generative AI on Google Cloud, with Gemini platform

  29. MODSetter/SurfSense Python ★ 17,283 本周 +331

    Air-gapped, private AI for confidential documents. Open-source NotebookLM alternative that runs on your computer. Join our Discord: https://discord.gg/ejRNvftDp9

  30. GreyDGL/PentestGPT Python ★ 16,707 本周 +84

    Automated Penetration Testing Agentic Framework Powered by Large Language Models

  31. Lightning-AI/litgpt Python ★ 13,772 本周 +11

    20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.

  32. neuml/txtai Python ★ 13,764 本周 +31

    💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

  33. FareedKhan-dev/train-llm-from-scratch Python ★ 13,357 本周 +47

    A straightforward method for training your LLM, from downloading data to generating text.

  34. steven2358/awesome-generative-ai ★ 12,879 本周 +21

    A curated list of modern Generative Artificial Intelligence projects and services

  35. The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge Python ★ 12,779 本周 +11 最近提交在半年前

    Pocket Flow: Codebase to Tutorial

  36. sapientinc/HRM Python ★ 12,675 本周 +10 最近提交在半年前

    Hierarchical Reasoning Model Official Release

  37. OpenMOSS/MOSS Python ★ 12,391 本周 +11

    An open-source, tool-augmented conversational language model from Fudan University

  38. The-Pocket/PocketFlow Python ★ 11,364 本周 +21

    Pocket Flow: 100-line LLM framework. Let Agents build Agents!

  39. KalyanKS-NLP/llm-engineer-toolkit ★ 11,137 本周 +47

    A curated list of 120+ LLM libraries category wise.

  40. MakazhanAlpamys/Soup Python ★ 11,012 本周 +234

    Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

开源大模型 新秀榜

近 90 天新建、涨势最猛的项目。

  1. simplexai-labs/linger TypeScript ★ 5,824 本周 +1,087

    Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model - harness co-design, so everyone can run their own.

  2. AienTech/dossier TypeScript ★ 5,589 本周 +85

    A self-hosted job search and resume builder app that writes tailored resumes and cover letters from your profile.

  3. mw00/project-maya Cuda ★ 3,607 本周 +244

    Run GLM-5.3 (744B), DeepSeek-V4.1-Flash (748B), MiniMax-M3.1-Flash (428B), GLM-5.3-Flash (321B), Hy4-Flash (220B), Ling-3.2-air (128B) and Inkling 2 Mini (26B) on your own GPUs - from 8 GB of VRAM, NVIDIA and AMD, one dashboard, OpenAI- and Anthropic-compatible API.

  4. iamajmeena/neonclipping Python ★ 3,212 本周 +581

    Paste a link, get captioned 9:16 clips in ~2 min. Free, local, open-source clipping engine (audio-first, YouTube captions, local LLM).

  5. opensetlabs/openset-llm Python ★ 3,134 本周 +1,967

    Fast local LLM inference on plain CPUs. No GPU, 8 GB of RAM. OpenAI-compatible server.

  6. simplexai-labs/PolyStrata C++ ★ 1,857 本周 +313

    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.

  7. youngyangyang04/llm-master ★ 1,796 本周 +58

    大模型(LLM)全栈学习路线与中文教程🔥:覆盖 Prompt Engineering、RAG、AI Agent、MCP、微调、模型部署、Transformer、AI 编程与大厂面试,从入门到生产实践。

  8. TokenRhythm/NeoHorse Python ★ 1,716 本周 +6

    NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harness.

  9. synchopate/llama-modchip Python ★ 1,455 本周 +45

    Zero-GPU CPU inference for 26B-284B MoE models (Inkling-2-Mini Monza-RS v3, Qwen3.8 176.5B, DeepSeek-V4 284B, Nemotron-30B) + AVX-512 Fusion & RouteCrack 2.0.

  10. sous-labs/songe Python ★ 1,242 本周 +362

    A training engine for your local model, using your idle compute

  11. sgaofen/humanizer-local-model Python ★ 1,230 本周 +126

    Rewrites AI drafts so they read like a person wrote them - runs locally, keeps the facts

  12. StayLameBro/backburner Python ★ 1,208 本周 +11

    Your iPhone helps your Mac run a 27B model: faster prompt reading and more context over a USB-C cable

  13. hyperionaidev/smolmaxxing Objective-C++ ★ 1,190 本周 +58

    maxxing the ability to run different LLMs on the smallest devices possible

  14. wici-ai/inferssd C++ ★ 1,187 本周 +237

    Run models larger than your RAM or VRAM by streaming MoE experts from SSD. Built on llama.cpp.

  15. xinxuxin/keystone-bench Python ★ 1,130 本周 +1 star 涨幅快过 fork

    A clinical decision-evidence benchmark: pull the one fact an answer rests on, and see whether the assistant's action moves with the evidence. Built on HealthBench.

  16. nace-ai/kapitsa C++ ★ 934 本周 +66

    Blazing fast Apple Silicon inference engine optimized for Qwen & Nemotron. OpenAI + Anthropic API compatible. Built by folks from nace.ai

  17. genex-games/genex-desktop TypeScript ★ 919 本周 +11

    Open-source desktop app for AI-native game dev. Build in Unreal Engine, Unity, Godot, Roblox or Three.js with any AI, including local models.

  18. amitshekhariitbhu/ai-engineering-course Markdown ★ 811 本周 +29

    AI Engineering Course - A free and complete AI Engineering Course to learn AI Engineering step by step - from Machine Learning, Neural Networks, and Transformers to LLMs, Fine-Tuning, RAG, AI Agents, LLM Inference, Evaluation, AI Safety, and AI System Design.

  19. prabanta-dev/janas C ★ 757 本周 +6

    37 tok/s from Qwen3-Next-80B (48 GB) on a 32 GB laptop, 24 without drafts vs 2.8 for llama.cpp; reading 62 vs 16 tok/s. Faster than llama.cpp on all 13 models compared in Q4_K_M. LLMs bigger than your RAM, pure C, CPU or GPU.

  20. RustingStudio/RustingStrata Rust ★ 645 本周 +178

    Pure-Rust LLM inference engine for GGUF (Qwen, DeepSeek, GLM, Hy4, Flint). Runs models bigger than your VRAM on CUDA and Vulkan, with MTP drafts and an OpenAI/Anthropic server. 12 GB RTX 3060 vs llama.cpp: Qwen3.6-35B-A3B UD-Q5_K_M 80.5 vs 64.4 tok/s, Flint UD-Q5_K_XL 64.6 vs 48.6. With MTP: 108 tok/s (UD-Q3_K_M), up to 160 (UD-Q2_K_XL).

这份榜单怎么来的

候选来自 GitHub 话题标签 large-language-models, local-llm。star 数与周增长取自 GitHub 官方的 star 历史接口,因此数字与 GitHub 自己的口径一致。榜单收录活跃、话题数量至多 20 个的仓库。某个项目的 star 数相对 fork 数明显偏高时会被标注,可结合仓库活动进一步了解原因。