AFFiNE vs R2R
Short answer
AFFiNE: Notion- and Miro-style workspace (docs, whiteboards, databases) with built-in AI, self-hostable with Docker. R2R: Production RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode. Both are in our Knowledge base & RAG category.
Choose AFFiNE if you want: an actively maintained project (R2R is stale) and larger community (77.1k vs 8.1k GitHub stars).
Choose R2R if you want: fewer license conditions (Permissive vs Open core).
R2R publishes no official RAM figure, so we cannot compare hosting cost directly.
Last updated · computed from each project's official docs and live GitHub data · sources
AFFiNE vs R2R side by side
| AFFiNE | R2R | |
|---|---|---|
| Category | Knowledge base & RAG | Knowledge base & RAG |
| What it is | Notion- and Miro-style workspace (docs, whiteboards, databases) with built-in AI, self-hostable with Docker. | Production RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode. |
| License | MIT (Community Edition) with Enterprise Edition license for server code | MIT |
| License type | Open core | Permissive |
| License conditions | The README says the Community Edition is free to self-host under the MIT license. The server code under packages/backend carries an AFFiNE Enterprise Edition license that applies to parts not distributed as Community Edition. Self-hosted workspaces get up to 10 seats; more seats need a paid Team Plan or Installable License. | Permissive. Internal and commercial use allowed; keep the copyright notice. |
| Status | Active | Stale (no commit in 180+ days) |
| GitHub stars | 77.1k | 8.1k |
| Last commit | Nov 23, 2026 | Nov 7, 2025 |
| Latest release | v0.27.4 | v3.6.5 |
| Minimum hardware | Not published | Not published |
| Recommended hardware | 4 vCPU · 2 GB RAM | Not published |
| RAM measured by us | Not tested yet | Not tested yet |
| GPU | Not required / not stated | Not required / not stated |
| Est. server cost | from €30.49/mo | Not estimated |
| Deploy method | Docker Compose (official images) | pip (light) or Docker Compose (full) |
| Known gotchas | 4 listed | 4 listed |
| Telemetry | Not documented | On by default |
| Calls home by default | Not documented | Yes, by default |
| SSO (OIDC / SAML / LDAP) | Free with limits (OIDC free) | Not documented |
| Audit log | Not documented | Not documented |
| RBAC | Not documented | Basic free, more in paid plan |
| Details | Full AFFiNE guide → | Full R2R guide → |
Key differences
- License: AFFiNE: MIT (Community Edition) with Enterprise Edition license for server code (Open core). R2R: MIT (Permissive).
- Official hardware: AFFiNE: recommended 4 vCPU · 2 GB RAM (no separate minimum published). R2R: not published.
- Est. server cost: AFFiNE: from €30.49/mo. R2R: not estimated (no official RAM figure).
- Deploy: AFFiNE: Docker Compose (official images) · multi-container stack. R2R: pip (light) or Docker Compose (full) · multi-container stack.
- Status: AFFiNE: Active. R2R: Stale (no commit in 180+ days).
- GitHub stars: AFFiNE: 77.1k. R2R: 8.1k.
- Last commit: AFFiNE: Nov 23, 2026. R2R: Nov 7, 2025.
- Latest release: AFFiNE: v0.27.4 (Aug 18, 2026). R2R: v3.6.5 (Jun 6, 2025).
Same for both: Category: Knowledge base & RAG; GPU: not required or not stated.
AFFiNE vs R2R: FAQ
AFFiNE or R2R: which should a small business choose?
Choose AFFiNE if you want: an actively maintained project (R2R is stale) and larger community (77.1k vs 8.1k GitHub stars). Choose R2R if you want: fewer license conditions (Permissive vs Open core). R2R publishes no official RAM figure, so we cannot compare hosting cost directly.
Which is cheaper to self-host, AFFiNE or R2R?
AFFiNE: from €30.49/mo. R2R: not estimated (no official RAM figure). Our estimate is the cheapest Hetzner Cloud plan that meets each project's official RAM and vCPU figure; it covers the server only.
How much hardware do AFFiNE and R2R need?
AFFiNE: recommended 4 vCPU · 2 GB RAM (no separate minimum published). R2R: not published.
What is the license difference between AFFiNE and R2R?
AFFiNE: MIT (Community Edition) with Enterprise Edition license for server code (Open core). The README says the Community Edition is free to self-host under the MIT license. The server code under packages/backend carries an AFFiNE Enterprise Edition license that applies to parts not distributed as Community Edition. Self-hosted workspaces get up to 10 seats; more seats need a paid Team Plan or Installable License. R2R: MIT (Permissive). Permissive. Internal and commercial use allowed; keep the copyright notice. This is a summary, not legal advice.
Is AFFiNE or R2R more actively maintained?
AFFiNE: Active, last commit Nov 23, 2026. R2R: Stale (no commit in 180+ days), last commit Nov 7, 2025. GitHub data refreshed Nov 23, 2026.
Which is easier to deploy, AFFiNE or R2R?
AFFiNE installs via Docker Compose (official images) (multi-container stack); R2R via pip (light) or Docker Compose (full) (multi-container stack). AFFiNE lists 4 known gotchas and R2R lists 4; see each app page.
Related
- AFFiNE self-hosting guide · R2R self-hosting guide
- All AFFiNE alternatives, ranked
- All R2R alternatives, ranked
- AFFiNE vs AnythingLLM
- AFFiNE vs AppFlowy
- AFFiNE vs DocsGPT
- AFFiNE vs FastGPT
- AFFiNE vs Karakeep
- AFFiNE vs kotaemon
- AFFiNE vs Langchain-Chatchat
- AFFiNE vs LightRAG
- AFFiNE vs Linkwarden
- AFFiNE vs LocalGPT
- AFFiNE vs MaxKB
- AFFiNE vs Morphik Core
- Add a third app in the interactive comparison
Sources
- AFFiNE GitHub repository: github.com/toeverything/AFFiNE
- AFFiNE documentation: docs.affine.pro/self-host-affine
- AFFiNE license: github.com/toeverything/AFFiNE/blob/canary/LICENSE
- AFFiNE hardware requirements: docs.affine.pro/self-host-affine/install/requirements
- AFFiNE deploy instructions: docs.affine.pro/self-host-affine/install/docker-compose-recommended
- R2R GitHub repository: github.com/SciPhi-AI/R2R
- R2R documentation, R2R deploy instructions: github.com/SciPhi-AI/R2R#readme
- R2R license: github.com/SciPhi-AI/R2R/blob/main/LICENSE.md
- R2R hardware requirements: github.com/SciPhi-AI/R2R/blob/main/llms.txt
- Hetzner Cloud pricing used for cost estimates (read 2026-11-23): www.hetzner.com/cloud/regular-performance
- GitHub REST API (stars, commits, releases): docs.github.com/en/rest
Every value is generated from the same verified data as the app pages. Spotted something wrong? Tell us.