Compare
ragflow vs sub2api
ragflow and sub2api share 4 technologies: Gin, Postgres, Redis, and MCP. Both are written in Go.
What they share and what sets them apart
infiniflow
ragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
Go93.2kRead on October 30, 2026, at commit 94369fcWhat is ragflow built with?Wei-Shaw
sub2api
Sub2API 一站式开源中转服务,让 Claude、Openai 、Gemini、Grok订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。
Go45.2kRead on October 31, 2026, at commit d851a38What is sub2api built with?In common
Only in ragflow
Only in sub2api
Side by side
ragflowsub2api
SizeLines written by people and agents, without generated ones; code files, without tests.
ragflow1,268,305 lines written2,772 code files
sub2api1,182,759 lines written1,683 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
ragflow2.2% of its commits signed by AIWith Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, Gemini CLI, and Factory
sub2api17.7% of its commits signed by AIWith Codex, Claude Code, Cursor, Gemini CLI, GitHub Copilot, and Factory
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ragflowLast push October 30, 202610,660 commits93,217 stars
sub2apiLast push October 30, 20265,448 commits45,171 stars
TestsThe files that test the code, and the share of code files a test imports.
ragflow1,875 test files50.6% of its code files have a test that imports them
sub2api2,018 test files79.3% of its code files have a test that imports them
Frequently asked questions
Which is bigger, ragflow or sub2api?
ragflow, with 1,268,305 lines written in 2,772 code files; sub2api has 1,182,759 in 1,683.
The proof: infiniflow/ragflow's code at commit 94369fc
Which has more GitHub stars, ragflow or sub2api?
ragflow, with 93,217 stars; sub2api has 45,171.
The proof: infiniflow/ragflow on GitHub
Which has more tests, ragflow or sub2api?
sub2api, with 2,018 test files; ragflow has 1,875.
The proof: Wei-Shaw/sub2api's code at commit d851a38
Which was updated more recently, ragflow or sub2api?
Both got their last push on October 30, 2026.
The proof: Wei-Shaw/sub2api's commits on GitHub
Which has more commits signed by AI, ragflow or sub2api?
sub2api: an AI signed 17.7% of its commits, with Codex, Claude Code, Cursor, Gemini CLI, GitHub Copilot, and Factory; in ragflow, 2.2%.
What is your repo built with?
Paste your public repo and see it drawn.
Free, no account.