chatgpt2api vs ragflow

chatgpt2api and ragflow share 5 technologies: Gin, MySQL, Postgres, gorm.io/gorm, and golang.org/x/image. Both are written in Go.

Read it as markdown

What they share and what sets them apart

basketikun

chatgpt2api

ChatGPT 官网接口纯协议逆向实现,Go 语言编写,高并发、低内存、高性能。指纹级请求还原,支持 GPT-Image-2.6 生图/改图、GIF 动图、文本模型与语音合成/转写,兼容 OpenAI 接口协议,在线批量生图,号池管理,支持导入 CPA、sub2api 号池,可接入 Cherry Studio、New API 等软件

Go7kRead on November 20, 2026, at commit 89a8ad0What is chatgpt2api built with?

Only in chatgpt2api

In common

infiniflow

ragflow

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Go94.3kRead on November 17, 2026, at commit ef2e601What is ragflow built with?

Only in ragflow

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
chatgpt2api14,813 lines written58 code files
ragflow1,342,966 lines written2,899 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.
chatgpt2api29.7% of its commits signed by AIWith Codex and Claude Code
ragflow2.1% of its commits signed by AIWith Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, and Factory
ActivityFrom GitHub and its history, on the day SeeRepo read it.
chatgpt2apiLast push November 16, 2026256 commits6,969 stars
ragflowLast push November 17, 202611,029 commits94,274 stars
TestsThe files that test the code, and the share of code files a test imports.
chatgpt2api14 test files27.6% of its code files have a test that imports them
ragflow2,152 test files52.8% of its code files have a test that imports them

Frequently asked questions

Which is bigger, chatgpt2api or ragflow?
ragflow, with 1,342,966 lines written; chatgpt2api has 14,813.

The proof: infiniflow/ragflow's code at commit ef2e601

Which has more GitHub stars, chatgpt2api or ragflow?
ragflow, with 94,274 stars; chatgpt2api has 6,969.

The proof: infiniflow/ragflow on GitHub

Which has more tests, chatgpt2api or ragflow?
ragflow, with 2,152 test files; chatgpt2api has 14.

The proof: infiniflow/ragflow's code at commit ef2e601

Which was updated more recently, chatgpt2api or ragflow?
ragflow: its last push was on November 17, 2026, and chatgpt2api's on November 16, 2026.

The proof: infiniflow/ragflow's commits on GitHub

Which has more commits signed by AI, chatgpt2api or ragflow?
chatgpt2api: an AI signed 29.7% of its commits, with Codex and Claude Code; in ragflow, 2.1%.

The proof: the commits each tool signed in basketikun/chatgpt2api

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Or look inside SeeRepo's own →