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,011 +190 this week

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

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

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

  3. mlabonne/llm-course ★ 85,326 +162 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,315 +109 this week

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

  5. binary-husky/gpt_academic Python ★ 71,739 +53 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,217 +845 this week

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

  7. HKUDS/nanobot Python ★ 50,429 +187 this week

    Your lightweight open-source personal agent.

  8. ray-project/ray Python ★ 44,400 +52 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,222 +62 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,932 +114 this week

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

  11. google/langextract Python ★ 39,404 +64 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 ★ 37,970 +241 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 ★ 36,885 +390 this week

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

  14. HandsOnLLM/Hands-On-Large-Language-Models Jupyter Notebook ★ 30,453 +114 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,438 +65 this week

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

  16. deepset-ai/haystack Python ★ 27,128 +52 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,747 +50 this week

    Distribute and run LLMs with a single file.

  18. dipakkr/awesome-ai-engineering ★ 22,656 +42 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.

  19. stefan-jansen/machine-learning-for-trading Jupyter Notebook ★ 22,111 +132 this week

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

  20. QwenLM/Qwen Python ★ 22,091 +24 this week last push over 6 months ago

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

  21. AI4Finance-Foundation/FinGPT Jupyter Notebook ★ 21,739 +52 this week

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

  22. stas00/ml-engineering Python ★ 19,753 +21 this week

    Machine Learning Engineering Open Book

  23. ymcui/Chinese-LLaMA-Alpaca Python ★ 18,914 +5 this week last push over 6 months ago

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

  24. NVIDIA/Megatron-LM Python ★ 18,584 +126 this week

    Ongoing research training transformer models at scale

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

  26. camel-ai/camel Python ★ 18,080 +32 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 ★ 18,009 +32 this week

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

  28. MODSetter/SurfSense Python ★ 17,231 +303 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

  29. GreyDGL/PentestGPT Python ★ 16,669 +101 this week

    Automated Penetration Testing Agentic Framework Powered by Large Language Models

  30. Lightning-AI/litgpt Python ★ 13,768 +9 this week

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

  31. neuml/txtai Python ★ 13,748 +37 this week

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

  32. FareedKhan-dev/train-llm-from-scratch Python ★ 13,337 +51 this week

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

  33. steven2358/awesome-generative-ai ★ 12,873 +19 this week

    A curated list of modern Generative Artificial Intelligence projects and services

  34. The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge Python ★ 12,776 +9 this week last push over 6 months ago

    Pocket Flow: Codebase to Tutorial

  35. sapientinc/HRM Python ★ 12,673 +6 this week last push over 6 months ago

    Hierarchical Reasoning Model Official Release

  36. OpenMOSS/MOSS Python ★ 12,387 +5 this week

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

  37. The-Pocket/PocketFlow Python ★ 11,358 +19 this week

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

  38. KalyanKS-NLP/llm-engineer-toolkit ★ 11,095 +4 this week

    A curated list of 120+ LLM libraries category wise.

  39. MakazhanAlpamys/Soup Python ★ 10,938 +215 this week

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

  40. Mooler0410/LLMsPracticalGuide ★ 10,216 +5 this week last push over 6 months ago

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

New and rising Open Source LLMs

Created in the last 90 days and climbing fast.

  1. AienTech/dossier TypeScript ★ 5,551 +174 this week

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

  2. simplexai-labs/linger TypeScript ★ 5,361 +1,368 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.

  3. mw00/project-maya Cuda ★ 3,523 +285 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,066 +899 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 ★ 2,432 +2,432 this week

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

  6. youngyangyang04/llm-master ★ 1,766 +57 this week

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

  7. TokenRhythm/NeoHorse Python ★ 1,715 +6 this week

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

  8. simplexai-labs/PolyStrata C++ ★ 1,711 +323 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.

  9. synchopate/llama-modchip Python ★ 1,440 +39 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. StayLameBro/backburner Python ★ 1,205 +9 this week

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

  11. wici-ai/inferssd C++ ★ 1,184 +44 this week

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

  12. sgaofen/humanizer-local-model Python ★ 1,181 +138 this week

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

  13. hyperionaidev/smolmaxxing C ★ 1,168 +58 this week

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

  14. xinxuxin/keystone-bench Python ★ 1,130 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.

  15. sous-labs/songe Python ★ 1,030 +804 this week

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

  16. genex-games/genex-desktop TypeScript ★ 918 +13 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.

  17. nace-ai/kapitsa C++ ★ 881 +39 this week

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

  18. amitshekhariitbhu/ai-engineering-course Markdown ★ 798 +32 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 ★ 755 +8 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. Nehanth/pooled JavaScript ★ 677 +15 this week

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

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.