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 ★ 157,065 +146 this week

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

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

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

  3. mlabonne/llm-course ★ 85,401 +181 this week last push over 6 months ago

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

  4. hiyouga/LlamaFactory Python ★ 76,356 +86 this week

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

  5. binary-husky/gpt_academic Python ★ 71,748 +50 this week last push over 6 months ago

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

  6. bojieli/ai-agent-book Python ★ 60,612 +684 this week

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

  7. HKUDS/nanobot Python ★ 50,492 +182 this week

    Your lightweight open-source personal agent.

  8. ray-project/ray Python ★ 44,433 +70 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. codewhale-hq/Codewhale Rust ★ 41,215 +57 this week

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

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

  11. google/langextract Python ★ 39,438 +83 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 ★ 38,109 +263 this week

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

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

  14. HandsOnLLM/Hands-On-Large-Language-Models Jupyter Notebook ★ 30,539 +130 this week last push over 6 months ago

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

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

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

  16. deepset-ai/haystack Python ★ 27,153 +44 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.

  17. mozilla-ai/llamafile C++ ★ 26,763 +47 this week

    Distribute and run LLMs with a single file.

  18. different-ai/openwork TypeScript ★ 24,652 +70 this week

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

  19. dipakkr/awesome-ai-engineering ★ 22,672 +39 this week

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

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

  21. QwenLM/Qwen Python ★ 22,102 +28 this week last push over 6 months ago

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

  22. AI4Finance-Foundation/FinGPT Jupyter Notebook ★ 21,752 +42 this week

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

  23. stas00/ml-engineering Python ★ 19,770 +27 this week

    Machine Learning Engineering Open Book

  24. ymcui/Chinese-LLaMA-Alpaca Python ★ 18,915 +8 this week last push over 6 months ago

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

  25. NVIDIA/Megatron-LM Python ★ 18,609 +122 this week

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

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

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

  29. MODSetter/SurfSense Python ★ 17,283 +331 this week

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

    Automated Penetration Testing Agentic Framework Powered by Large Language Models

  31. Lightning-AI/litgpt Python ★ 13,772 +11 this week

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

  32. neuml/txtai Python ★ 13,764 +31 this week

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

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

  34. steven2358/awesome-generative-ai ★ 12,879 +21 this week

    A curated list of modern Generative Artificial Intelligence projects and services

  35. The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge Python ★ 12,779 +11 this week last push over 6 months ago

    Pocket Flow: Codebase to Tutorial

  36. sapientinc/HRM Python ★ 12,675 +10 this week last push over 6 months ago

    Hierarchical Reasoning Model Official Release

  37. OpenMOSS/MOSS Python ★ 12,391 +11 this week

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

  38. The-Pocket/PocketFlow Python ★ 11,364 +21 this week

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

  39. KalyanKS-NLP/llm-engineer-toolkit ★ 11,137 +47 this week

    A curated list of 120+ LLM libraries category wise.

  40. MakazhanAlpamys/Soup Python ★ 11,012 +234 this week

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

New and rising Open Source LLMs

Created in the last 90 days and climbing fast.

  1. simplexai-labs/linger TypeScript ★ 5,824 +1,087 this week

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

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

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

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

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

  6. simplexai-labs/PolyStrata C++ ★ 1,857 +313 this week

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

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

  8. TokenRhythm/NeoHorse Python ★ 1,716 +6 this week

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

  9. synchopate/llama-modchip Python ★ 1,455 +45 this week

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

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

  11. sgaofen/humanizer-local-model Python ★ 1,230 +126 this week

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

  12. StayLameBro/backburner Python ★ 1,208 +11 this week

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

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

  14. wici-ai/inferssd C++ ★ 1,187 +237 this week

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

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

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

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

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

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

    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).

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. The list covers active repositories carrying at most 20 topics. A label highlights a high star count relative to forks; investigate the repository to understand the context.