Open-source picks · Open Source LLMs

Best Open Source LLMs

Updated daily. 60 projects, ranked by stars and checked for fork and maintenance activity.

Top Open Source LLMs

Established projects, still shipping. Tagged large-language-models, local-llm on GitHub.

  1. langflow-ai/langflow Python ★ 154,801 +439 this week

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

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

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

  3. mlabonne/llm-course ★ 82,784 +435 this week no push in 6 months

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

  4. hiyouga/LlamaFactory Python ★ 74,770 +158 this week

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

  5. binary-husky/gpt_academic Python ★ 71,335 +65 this week no push in 6 months

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

  6. HKUDS/nanobot Python ★ 48,155 +317 this week

    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 this week

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

  8. ray-project/ray Python ★ 43,799 +72 this week

    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 this week

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

  10. HKUDS/DeepTutor Python ★ 39,602 +619 this week

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

  11. google/langextract Python ★ 38,576 +47 this week

    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 this week

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

  13. agentscope-ai/agentscope Python ★ 31,646 +611 this week

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

  14. stanford-oval/storm Python ★ 31,307 +71 this week no push in 6 months

    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 this week

    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 this week

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

  17. deepset-ai/haystack Python ★ 26,509 +73 this week

    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 this week

    Distribute and run LLMs with a single file.

  19. QwenLM/Qwen Python ★ 21,721 +27 this week no push in 6 months

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

  20. AI4Finance-Foundation/FinGPT Jupyter Notebook ★ 21,250 +32 this week

    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 this week

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

  22. stas00/ml-engineering Python ★ 18,992 +62 this week

    Machine Learning Engineering Open Book

  23. ymcui/Chinese-LLaMA-Alpaca Python ★ 18,941 +7 this week

    中文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 this week

    Ongoing research training transformer models at scale

  26. camel-ai/camel Python ★ 17,715 +40 this week

    🐫 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 this week

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

  28. GreyDGL/PentestGPT Python ★ 15,463 +201 this week

    Automated Penetration Testing Agentic Framework Powered by Large Language Models

  29. Lightning-AI/litgpt Python ★ 13,662 +11 this week

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

  30. neuml/txtai Python ★ 12,948 +16 this week

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

  31. The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge Python ★ 12,660 +16 this week

    Pocket Flow: Codebase to Tutorial

  32. steven2358/awesome-generative-ai ★ 12,640 +69 this week

    A curated list of modern Generative Artificial Intelligence projects and services

  33. sapientinc/HRM Python ★ 12,639 +8 this week

    Hierarchical Reasoning Model Official Release

  34. OpenMOSS/MOSS Python ★ 12,246 +9 this week

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

  35. The-Pocket/PocketFlow Python ★ 11,166 +18 this week

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

  36. KalyanKS-NLP/llm-engineer-toolkit ★ 10,783 +6 this week

    A curated list of 120+ LLM libraries category wise.

  37. Mooler0410/LLMsPracticalGuide ★ 10,205 +2 this week

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

  38. OpenRLHF/OpenRLHF Python ★ 10,006 +27 this week

    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 this week

    High-speed Large Language Model Serving for Local Deployment

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

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

New and rising Open Source LLMs

Created in the last 90 days and climbing fast.

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

    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 this week

    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 this week

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

  4. ARahim3/mlx-dspark Python ★ 662 +18 this week

    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 this week

    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 this week

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

  7. carloslfu/slotstream Swift ★ 358 +48 this week

    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 this week stars outpace forks

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

  9. CyberSunil/LLMVault Python ★ 312 +1 this week

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

  10. MLNLP-World/Paper-Rebuttal-Tips ★ 296 +9 this week

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

  11. ThinkOffApp/CarWatch Python ★ 288 +5 this week

    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 this week

    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 this week

    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 this week

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

  15. Extraltodeus/J-Wash Python ★ 230 +2 this week

    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 this week

    从 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 this week

    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 this week

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

  20. rokbenko/quackd Python ★ 198 +27 this week

    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.

How this list is built

Candidates come from the GitHub topics large-language-models, local-llm. Star counts and weekly growth come from the official GitHub star history endpoint, so the numbers match what GitHub reports. Archived repositories and repositories carrying more than 20 topics are left out. A project is marked when its star count is high relative to its forks, which says the two moved apart, not why.