开源精选 · 开源大模型

最好的开源大模型

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

开源大模型 镇场榜

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

  1. langflow-ai/langflow Python ★ 156,143 本周 +264

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

  2. rasbt/LLMs-from-scratch Jupyter Notebook ★ 107,510 本周 +429

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

  3. mlabonne/llm-course ★ 84,764 本周 +177 最近提交在半年前

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

  4. hiyouga/LlamaFactory Python ★ 75,780 本周 +127

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

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

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

  6. bojieli/ai-agent-book Python ★ 56,545 本周 +1,050

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

  7. HKUDS/nanobot Python ★ 49,637 本周 +409

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

  8. ray-project/ray Python ★ 44,155 本周 +56

    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 ★ 40,419 本周 +157

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

  10. google/langextract Python ★ 39,200 本周 +198

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

  11. langfuse/langfuse TypeScript ★ 36,718 本周 +498

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

  12. agentscope-ai/agentscope Python ★ 34,802 本周 +1,116

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

  13. aishwaryanr/awesome-generative-ai-guide HTML ★ 30,021 本周 +125

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

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

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

  15. deepset-ai/haystack Python ★ 26,878 本周 +68

    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.

  16. mozilla-ai/llamafile C++ ★ 26,521 本周 +65

    Distribute and run LLMs with a single file.

  17. dipakkr/awesome-ai-engineering ★ 22,489 本周 +45

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

  18. QwenLM/Qwen Python ★ 21,970 本周 +32 最近提交在半年前

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

  19. stefan-jansen/machine-learning-for-trading Jupyter Notebook ★ 21,632 本周 +122

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

  20. AI4Finance-Foundation/FinGPT Jupyter Notebook ★ 21,488 本周 +52

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

  21. stas00/ml-engineering Python ★ 19,631 本周 +65

    Machine Learning Engineering Open Book

  22. ymcui/Chinese-LLaMA-Alpaca Python ★ 18,922 本周 +4 最近提交在半年前

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

  23. NVIDIA/Megatron-LM Python ★ 18,294 本周 +51

    Ongoing research training transformer models at scale

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

  25. camel-ai/camel Python ★ 17,995 本周 +47

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

  26. GoogleCloudPlatform/generative-ai Jupyter Notebook ★ 17,825 本周 +26

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

  27. GreyDGL/PentestGPT Python ★ 16,184 本周 +115

    Automated Penetration Testing Agentic Framework Powered by Large Language Models

  28. Lightning-AI/litgpt Python ★ 13,736 本周 +13

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

  29. neuml/txtai Python ★ 13,044 本周 +18

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

  30. FareedKhan-dev/train-llm-from-scratch Python ★ 12,947 本周 +488

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

  31. steven2358/awesome-generative-ai ★ 12,787 本周 +43

    A curated list of modern Generative Artificial Intelligence projects and services

  32. Pocket Flow: Codebase to Tutorial

  33. sapientinc/HRM Python ★ 12,662 本周 +9 最近提交在半年前

    Hierarchical Reasoning Model Official Release

  34. OpenMOSS/MOSS Python ★ 12,315 本周 +29

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

  35. The-Pocket/PocketFlow Python ★ 11,287 本周 +22

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

  36. KalyanKS-NLP/llm-engineer-toolkit ★ 10,893 本周 +8

    A curated list of 120+ LLM libraries category wise.

  37. Mooler0410/LLMsPracticalGuide ★ 10,208 本周 +3 最近提交在半年前

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

  38. OpenRLHF/OpenRLHF Python ★ 10,127 本周 +20

    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,855 本周 +10

    High-speed Large Language Model Serving for Local Deployment

  40. MakazhanAlpamys/Soup Python ★ 9,793 本周 +233

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

开源大模型 新秀榜

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

  1. AienTech/dossier TypeScript ★ 3,168 本周 +2,757

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

  2. syv-ai/HyperQwen Python ★ 2,420 本周 +239

    Serve large Qwen models fast on the GPUs you actually own. Qwen3.8-27B on a single 24 GB card with vLLM: 127 tok/s single-user (381 when the answer quotes the prompt), ~1,035 tok/s at 64 concurrent, 150k-262k context. vLLM patches, requant pipeline, benchmarks.

  3. mw00/project-maya Cuda ★ 2,198 本周 +671

    Project Maya - run GLM-5.3-Flash (321B MoE), DeepSeek-V4.1-Flash-1017 (748B MoE) and MiniMax-M3.1-Flash (428B 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.

  4. TokenRhythm/NeoHorse Python ★ 1,692 本周 +5

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

  5. youngyangyang04/llm-master ★ 1,486 本周 +98

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

  6. peonist-ai/halogen-flash-server Shell ★ 1,137 本周 +65

    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.

  7. StayLameBro/backburner Python ★ 1,136 本周 +34

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

  8. xinxuxin/keystone-bench Python ★ 1,018 本周 +139 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.

  9. whitecircle/halo Python ★ 835 本周 +2

    Halo is an open-source framework built by White Circle for training large language and multimodal models

  10. leonickson1/Swiftlet Swift ★ 664 本周 +3

    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.

  11. VecSzn/PolyStrata C++ ★ 646 本周 +251

    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.

  12. Nehanth/pooled JavaScript ★ 618 本周 +14

    Peer-to-peer LLM inference in the browser: pool your devices to run big open models, for chat and coding agents.

  13. carloslfu/slotstream Swift ★ 612 本周 +133

    Run a 105 GB AI model on a Mac that can't hold it. Qwen3.8-Flash-Next 4-bit, streamed from SSD on 16 - 64 GB Apple Silicon Macs. Fully native Swift, MLX and Metal. Offline, no Python. CLI, Swift library, and Ollama/OpenAI/Anthropic APIs. Works with Claude Code and Codex.

  14. sgaofen/humanizer-local-model Python ★ 610 本周 +125

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

  15. amitshekhariitbhu/ai-engineering-course Markdown ★ 592 本周 +44

    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.

  16. Yzw202011/OmniSpace Python ★ 529 本周 +1

    本地优先的全栈 AI 创作工作站:AI对话 · AI漫画 · 漫剧创作 · 写作台 · 知识学习五大模块;vLLM / llama.cpp / Transformers 多引擎本地推理,显存智能调度、舱壁隔离自愈、仅供学习使用,欢迎交流指正。(最新进度(除插件系统)受到协议限制,暂时无法提交到仓库)

  17. prabanta-dev/janas C ★ 472 本周 +11

    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.

  18. Indras-Mirror/Xolotl C++ ★ 407 本周 +115

    Xolotl (formerly Strata-DSV4.1): run DeepSeek-V4.1-Flash, all 552B, as a local coding agent on one gaming PC (RTX 4090 + 90 GB RAM) at up to ~27 tok/s, 512K context, October 1017 builds included. Plus GLM-5.3-Flash and Qwen3.8. MoE experts tiered across VRAM, pinned RAM and NVMe; OpenAI + Anthropic API.

  19. JMS1717/ming-voice Python ★ 390 本周 +291

    Low-latency local speech-to-speech voice assistant with Ming-3.0-audio-tiny on AMD and Nvidia GPUs. Easy setup on Windows and Linux

  20. amitshekhariitbhu/llm-inference-engineering Markdown ★ 389 本周 +13

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

这份榜单怎么来的

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