开源精选 · 开源大模型

最好的开源大模型

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

开源大模型 镇场榜

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

  1. langflow-ai/langflow Python ★ 154,801 本周 +439

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

  2. rasbt/LLMs-from-scratch Jupyter Notebook ★ 104,967 本周 +456

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

  3. mlabonne/llm-course ★ 82,784 本周 +435 半年没有提交

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

  4. hiyouga/LlamaFactory Python ★ 74,770 本周 +158

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

  5. binary-husky/gpt_academic Python ★ 71,335 本周 +65 半年没有提交

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

  6. HKUDS/nanobot Python ★ 48,155 本周 +317

    Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps

  7. bojieli/ai-agent-book Python ★ 46,953 本周 +1,868

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

  8. ray-project/ray Python ★ 43,799 本周 +72

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

  9. HKUDS/LightRAG Python ★ 39,643 本周 +181

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

  10. HKUDS/DeepTutor Python ★ 39,602 本周 +619

    DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

  11. google/langextract Python ★ 38,576 本周 +47

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

  12. langfuse/langfuse TypeScript ★ 34,600 本周 +296

    🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

  13. agentscope-ai/agentscope Python ★ 31,646 本周 +611

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

  14. stanford-oval/storm Python ★ 31,307 本周 +71 半年没有提交

    An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.

  15. aishwaryanr/awesome-generative-ai-guide HTML ★ 29,414 本周 +139

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

  16. HandsOnLLM/Hands-On-Large-Language-Models Jupyter Notebook ★ 29,102 本周 +146

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

  17. deepset-ai/haystack Python ★ 26,509 本周 +73

    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.

  18. mozilla-ai/llamafile C++ ★ 25,967 本周 +70

    Distribute and run LLMs with a single file.

  19. QwenLM/Qwen Python ★ 21,721 本周 +27 半年没有提交

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

  20. AI4Finance-Foundation/FinGPT Jupyter Notebook ★ 21,250 本周 +32

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

  21. stefan-jansen/machine-learning-for-trading Jupyter Notebook ★ 20,898 本周 +82

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

  22. stas00/ml-engineering Python ★ 18,992 本周 +62

    Machine Learning Engineering Open Book

  23. ymcui/Chinese-LLaMA-Alpaca Python ★ 18,941 本周 +7

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

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

  25. NVIDIA/Megatron-LM Python ★ 17,895 本周 +120

    Ongoing research training transformer models at scale

  26. camel-ai/camel Python ★ 17,715 本周 +40

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

  27. GoogleCloudPlatform/generative-ai Jupyter Notebook ★ 17,698 本周 +30

    Sample code and notebooks for Generative AI on Google Cloud, with Gemini Enterprise Agent Platform

  28. GreyDGL/PentestGPT Python ★ 15,463 本周 +201

    Automated Penetration Testing Agentic Framework Powered by Large Language Models

  29. Lightning-AI/litgpt Python ★ 13,662 本周 +11

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

  30. neuml/txtai Python ★ 12,948 本周 +16

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

  31. Pocket Flow: Codebase to Tutorial

  32. steven2358/awesome-generative-ai ★ 12,640 本周 +69

    A curated list of modern Generative Artificial Intelligence projects and services

  33. sapientinc/HRM Python ★ 12,639 本周 +8

    Hierarchical Reasoning Model Official Release

  34. OpenMOSS/MOSS Python ★ 12,246 本周 +9

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

  35. The-Pocket/PocketFlow Python ★ 11,166 本周 +18

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

  36. KalyanKS-NLP/llm-engineer-toolkit ★ 10,783 本周 +6

    A curated list of 120+ LLM libraries category wise.

  37. Mooler0410/LLMsPracticalGuide ★ 10,205 本周 +2

    A curated list of practical guide resources of LLMs (LLMs Tree, Examples, Papers)

  38. OpenRLHF/OpenRLHF Python ★ 10,006 本周 +27

    An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Async RL)

  39. Tiiny-AI/PowerInfer C++ ★ 9,791 本周 +10

    High-speed Large Language Model Serving for Local Deployment

  40. FareedKhan-dev/train-llm-from-scratch Python ★ 9,619 本周 +59

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

开源大模型 新秀榜

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

  1. syv-ai/qwen38-27b-rtx3090 Python ★ 1,378 本周 +179

    Qwen3.8-27B on a single RTX 3090 with vLLM: ~1,000 tok/s at 64 concurrent (int8 tensor-core GEMMs, fp16 DeltaNet state), ~114 tok/s single-user at default sampling / ~124 greedy (MTP drafts, own-output draft vocab, calibrated int4 lm_head, split-KV verify attention), 150k-262k context; patches, requant scripts, benchmarks

  2. gavamedia/deltafin Rust ★ 815 本周 +17

    Run full Kimi K3 on a single device. And an OpenAI-compatible API server for local chat and coding agents.

  3. DasterProkio/awesome-ai-companion HTML ★ 681 本周 +40

    Open-source AI companions, desktop pets, long-term memory & proactive chat. 人机恋开源项目大全。让你的家机能够脱离官端自主存在,拥有记忆和主动性。

  4. ARahim3/mlx-dspark Python ★ 662 本周 +18

    Up to 4× faster LLM decoding on Apple Silicon, lossless. Native MLX port of DeepSeek's DSpark & z-lab's DFlash speculative decoding - Gemma-4, Qwen3.8, Muse-Glimmer, Nemotron, LFM2.5, Ornith-1.0, ternary Bonsai-27B.

  5. leonickson1/Swiftlet Swift ★ 638 本周 +10

    Swiftlet is a Swift and Metal runtime that runs large Qwen Mixture-of-Experts models locally on Apple devices by streaming expert weights from storage, enabling 35B and 80B models to run with low RAM, including on iPhone.

  6. peonist-ai/halogen-flash-server Shell ★ 403 本周 +326

    The fastest way to run Qwen3.8-Flash-Next on Strix Halo (gfx1151)

  7. carloslfu/slotstream Swift ★ 358 本周 +48

    Run Qwen3.8-Flash-Next (125B MoE, 104 GB at 4-bit) on Macs with a fraction of that RAM by streaming experts from SSD. MLX + Swift, Ollama-compatible API.

  8. TokenRhythm/NeoHorse ★ 336 本周 +321 star 涨幅快过 fork

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

  9. CyberSunil/LLMVault Python ★ 312 本周 +1

    An intentionally vulnerable OWASP LLM Top 10 training platform for AI Security, Prompt Injection, RAG Security, Agent Security, and GenAI penetration testing.

  10. MLNLP社区用来帮助大家论文Rebuttal的整理仓库。

  11. ThinkOffApp/CarWatch Python ★ 288 本周 +5

    Your car as a chat-room agent: Raspberry Pi 5 + dashcam + local AI. CodeWatch's sibling for the garage.

  12. Nehanth/swarmllm JavaScript ★ 285 本周 +278

    Every device brings a slice. Together they run the whole model. Peer-to-peer LLM inference across browser tabs: a from-scratch WebGPU engine and a WebRTC runtime that split a 27B model over the devices in a room.

  13. amitshekhariitbhu/llm-inference-engineering Markdown ★ 256 本周 +14

    Learn LLM Inference Engineering step by step - from KV cache, PagedAttention, and continuous batching to vLLM, SGLang, and GPUs.

  14. autonomous-ai/autonomous-grid Python ★ 249 本周 +5

    Your AI intranet: network the computers you already own for inference and training.

  15. Extraltodeus/J-Wash Python ★ 230 本周 +2

    Jacobian-Brainwash : A manual alignment tool for large language models built on Anthropic's Jacobian Lens. Results are exportable.

  16. Enping-Hu/minimind-deep-dive Python ★ 219 本周 +7

    从 MiniMind 源码读起,再延伸到现代大模型技术体系的中文学习笔记。主线逐行精读预训练 / SFT / DPO / PPO / GRPO 与训练机制;附录 17 篇进阶卷覆盖量化、投机解码、RLHF 全景、模型代际史等 MiniMind 没涉及、但进阶绕不开的主题。

  17. Transformer architecture explained step by step - the full architecture, every attention variant, positional embeddings, and every layer inside a Transformer.

  18. giannisanni/pulsar Rust ★ 214 本周 +4

    SSD-streaming inference engine for giant MoE models (Rust + CUDA). GLM 5.2 743B at 2 tok/s and Hy3 295B at 7 tok/s on two consumer 16GB GPUs. Zero-config multi-GPU: measures PCIe bandwidth, places attention and hot experts where they fit.

  19. AashishH15/Lexicon JavaScript ★ 202 本周 +1

    The free open source offline writing assistant assist with grammar, rewriting & tone entirely on your machine.

  20. rokbenko/quackd Python ★ 198 本周 +27

    One CLI for all your robots. Connect them, command them, and let them work together, each with an LLM for a brain. Microduck, Open Duck Mini, LeRobot arms, XLeRobot carts, AlohaMini, ToddlerBot or any ROS base. Claude, OpenAI, Gemini, Grok, or local via Ollama or vLLM. Simulator, .duck safety contracts, MCP, memory between runs, flocks.

这份榜单怎么来的

候选来自 GitHub 话题标签 large-language-models, local-llm。star 数与周增长取自 GitHub 官方的 star 历史接口,因此数字与 GitHub 自己的口径一致。已归档的仓库、以及标了超过 20 个话题的仓库不收。某个项目的 star 数相对它的 fork 数明显偏高时会被标注,这只说明两者走开了,不说明原因。