Sign in

Best Open Source AI Tools You Can Self-Host in 2026 (And What They Replace)

Best Open Source AI Tools You Can Self-Host in 2026 (And What They Replace)

Short answer: the best open source AI tools to self-host in 2026 are Firecrawl for web scraping, Crawl4AI and ScrapeGraphAI as lighter scrapers, LocalAI and AirLLM for running models, Transformers for training, LangChain and Langflow for agents, Browser Use for browser automation, OpenHands as a coding agent, paperless-ngx for documents and Supabase as the backend. We re-read all 12 GitHub repositories on 7 November 2026: 10 are MIT or Apache-2.0, and the two to read before you build on them are Firecrawl (AGPL-3.0) and paperless-ngx (GPL-3.0). Each is listed below with the paid product it displaces.

ProjectJobLicenceStarsLatest releaseOur score
FirecrawlWeb scraping to markdownAGPL-3.0199,396v2.11.0 (19 June 2026)7.7
Crawl4AIWeb crawling for modelsApache-2.087,038v0.9.5 (14 October 2026)7.7
ScrapeGraphAIModel-driven scrapingMIT32,595v2.3.1 (6 October 2026)7.6
LocalAIRun models behind an OpenAI-style APIMIT50,242v4.12.1 (23 October 2026)7.8
AirLLM70B inference on a 4 GB GPUApache-2.041,899v4.0.0 (5 September 2026)6.8
TransformersModel library and training stackApache-2.0168,622v5.22.2 (6 November 2026)7.9
LangChainAgent frameworkMIT149,151langchain-core 1.7.6 (5 November 2026)8.4
LangflowVisual agent builderMIT156,407v1.13.1 (4 November 2026)7.8
Browser UseAgents that drive a browserMIT120,2440.13.14 (26 October 2026)8.0
OpenHandsCoding agentMIT92,869v1.37.0 (6 November 2026)7.7
paperless-ngxDocument managementGPL-3.047,812v3.4.2 (3 November 2026)7.7
SupabasePostgres backendApache-2.0114,629v1.26.08 (7 August 2026)8.0
Stars, licence and latest non-prerelease release read from the GitHub API on 7 November 2026 (LangChain is a monorepo, so its tag is a package tag). Our score is the first-party score on each review page, out of 10, from our published rubric. Twelve projects picked from our directory of 1,744 tools.

The only question that matters: what does it replace?

“Open source” is not a benefit by itself. Nobody self-hosts for ideology when they are running a business. The benefit is arithmetic: a subscription you stop paying, minus the time you spend running the thing yourself.

That second term is the one every listicle omits. Self-hosting is not free, it is differently expensive. You are trading a predictable monthly invoice for setup time, a server, and being your own support desk at the least convenient moment. The projects worth choosing are the ones where that trade is clearly favourable, and that depends far more on your volume than on the software.

The rule of thumb we use: below a few hundred dollars a month of equivalent SaaS spend, hosting it yourself usually loses on time alone. Above that, it starts to win, and it keeps winning as you scale because your costs stop tracking your usage.

Web scraping and data collection

This is the category with the most direct revenue story on this list, because scraped data becomes lead lists, and lead lists become pipeline.

Firecrawl

7.7/10Web Scraping#2 of 7desk reviewFull review →

Firecrawl turns websites into clean markdown built for language models, handling the JavaScript rendering that breaks naive scrapers. It has a hosted tier if you would rather not run it, which makes it a reasonable place to start before committing to infrastructure. Read the licence first: the Firecrawl repository is AGPL-3.0 (GitHub licence file, read 7 November 2026), unlike the MIT and Apache-2.0 licences on the other scrapers here, so check what it asks of you before you offer a modified copy as a service. What the hosted tier costs per 1,000 pages, against Bright Data, Apify and Browserbase, is in our web scraping MCP comparison.

Crawl4AI and ScrapeGraphAI

7.7/10Web Scraping#2 of 7desk reviewFull review →
7.6/10Web Scraping#4 of 7desk reviewFull review →

Crawl4AI (Apache-2.0, 87,038 stars) is a crawler designed for feeding models rather than for indexing. ScrapeGraphAI (MIT, 32,595 stars) takes a different approach, using a model to work out the structure of a page rather than requiring you to write selectors that break the next time somebody ships a redesign. That second property is the one that matters operationally: selector maintenance is the hidden cost of every scraping project.

A necessary caution: what you may collect and what you may do with it are governed by each site’s terms and by law in your jurisdiction, and neither is decided by whether the scraping is technically possible. Treat legal review as part of the build, not as an afterthought.

Running models yourself

LocalAI

7.8/10desk reviewFull review →

LocalAI (MIT, 50,242 stars, v4.12.1) runs language, vision, voice and image models on your own hardware behind an API that mirrors the one you are probably already coding against. That compatibility is the whole point: it means switching is a configuration change rather than a rewrite.

The break-even is genuinely computable, so compute it, as we did for a small team’s LLM traffic in our self-hosting break-even. Take your monthly API spend, then price the hardware or instance that would serve the same volume. If you are paying per token for high, steady traffic, self-hosting wins on a horizon of months. If your traffic is spiky or small, it does not, and the API is doing you a favour by charging you only for what you use.

AirLLM

6.8/10desk reviewFull review →

AirLLM (Apache-2.0, 41,899 stars, latest release v4.0.0 on 5 September 2026) targets one narrow problem: running a 70B-parameter model on a single 4 GB GPU. It is the tool to look at when the hardware, not the licence, is what stops you self-hosting a large model. We have not benchmarked its throughput, so test it on your own prompts before you plan latency-sensitive traffic around it; our AirLLM review shows the maintenance data behind its 6.8 score.

Transformers and the training stack

7.9/10Model Training#1 of 5desk reviewFull review →

Transformers (Apache-2.0, 168,622 stars, v5.22.2) is the Hugging Face model library. For teams going further than inference, the fine-tuning stack in our directory scores consistently high, and our fine-tuning cost comparison prices a training run on rented GPUs against a managed service. That path only makes sense when you have proprietary data that a general model handles badly, which is a real situation but a rarer one than the discourse suggests. If you are learning rather than shipping, fastai (Apache-2.0, 28,261 stars, latest release 2.8.12 on 9 September 2026) is a PyTorch library with a free course at course.fast.ai.

Agents and automation

LangChain and Langflow

8.4/10RAG & Search#1 of 6desk reviewFull review →
7.8/10AI Assistant#1 of 15desk reviewFull review →

LangChain (MIT, 149,151 stars) scores 8.4 out of 10 in our directory, the highest of the twelve. If your use is retrieval over your own documents, start with our audit of the RAG frameworks Google names, which checks each licence file and vendor price. Langflow (MIT, 156,407 stars) puts a visual builder over the same territory, which matters if the people designing the workflow are not the people who would otherwise write it. If you would rather pick a code-first framework, our census of 19 open source agent frameworks compares LangChain and 18 others by licence, stars and release dates.

Browser Use

8.0/10Web Scraping#1 of 7desk reviewFull review →

Browser Use (MIT, 120,244 stars) lets an agent drive a real browser, which covers the large category of business processes that live inside a web interface with no API behind it. This is where the automation savings usually hide, because the work is repetitive, high volume, and nobody has been able to automate it before now.

OpenHands

7.7/10AI Coding#3 of 16desk reviewFull review →

OpenHands (MIT, 92,869 stars) is the open-source coding agent, and the one to evaluate against a paid assistant subscription if you have a team of any size, since per-seat pricing is where those costs compound.

Back office

paperless-ngx

7.7/10desk reviewFull review →

paperless-ngx (GPL-3.0, 47,812 stars) scans, indexes and makes searchable every document a business accumulates. Unglamorous, and one of the most useful things on this page for a small company, because the alternative is either a document management subscription or a filing cabinet nobody opens.

Supabase

8.0/10desk reviewFull review →

Supabase (Apache-2.0, 114,629 stars) gives you Postgres with authentication, storage and APIs, self-hostable or managed. It is the backing store for a large share of small AI products, and the fact that you can move between hosted and self-hosted without rewriting is the reason to pick it early.

What we would actually deploy first

  1. Start with the thing you pay the most for. Not the most interesting project, the biggest invoice. That is where the arithmetic is most likely to favour you.
  2. Price the server before the software. Most of the twelve run comfortably on one small Linux box. One priced example: Hostinger‘s KVM 2 VPS (2 vCPU, 8 GB RAM, 100 GB NVMe) lists at $8.79 a month on a 24-month term paid upfront ($210.96), renewing at $14.99 a month, read on 8 November 2026. Running models locally is the exception: LocalAI and AirLLM want more memory or a GPU. See Hostinger VPS plans (we earn a commission if you subscribe through this link; it never affects our scores).
  3. Run both in parallel for a month. Keep the subscription. If the self-hosted version has not fully replaced it after four weeks, it was not ready.
  4. Count your own hours honestly. At any realistic hourly rate, six hours of setup and an hour a month of maintenance beats a $20 subscription only in the second year.
  5. Cancel deliberately. The saving is not real until the invoice stops, and this is the step teams forget.

Frequently asked questions

What are the best open source AI tools to self-host in 2026?

Twelve we would start from, by job: Firecrawl, Crawl4AI and ScrapeGraphAI for scraping, LocalAI and AirLLM for running models, Transformers for training, LangChain and Langflow for agents, Browser Use for browser automation, OpenHands for coding, paperless-ngx for documents and Supabase for the backend. By GitHub stars on 7 November 2026 Firecrawl leads at 199,396, then Transformers at 168,622, Langflow at 156,407 and LangChain at 149,151. Stars measure attention, not quality; LangChain has the highest score in our directory of the twelve at 8.4.

Is open source AI good enough for production?

For a lot of jobs, yes. The projects on this page are used in production by real companies, and several score higher in our directory than paid alternatives in the same category. The gap that remains is largely in polish and support rather than in capability.

What does self-hosting actually cost?

A server plus your time. The server is usually the smaller number. Budget setup hours honestly and a recurring maintenance slice, and compare that total against the subscription you are replacing rather than against zero.

Which open-source AI tool should a small business start with?

Whichever replaces your biggest AI invoice. If you have no AI invoices yet, paperless-ngx for documents and Supabase for anything you build are the two with the broadest payoff and the least novelty risk.

Can I use these commercially?

Yes for most, with two to read first. Of the twelve, six are MIT (ScrapeGraphAI, LocalAI, LangChain, Langflow, Browser Use, OpenHands) and four are Apache-2.0 (Crawl4AI, AirLLM, Transformers, Supabase), which allow commercial use. Firecrawl is AGPL-3.0 and paperless-ngx is GPL-3.0, both copyleft licences with conditions on distributing or hosting modified versions. Read the licence file in the repository before building a business on top of it, because this is a decision that is expensive to reverse later (licences read 7 November 2026).

Related reading on this site

Comments

Sign in to join the discussion.

Login to comment