Source: https://seerepo.com/compare/moeru-ai/airi/vs/Wei-Shaw/sub2api
Markdown source: https://seerepo.com/compare/moeru-ai/airi/vs/Wei-Shaw/sub2api.md
Description: airi and sub2api share 6 technologies: Vue, Vite, Redis, Postgres, MCP, and Stripe. airi is written in TypeScript and sub2api in Go.

# airi vs sub2api

airi and sub2api share 6 technologies: Vue, Vite, Redis, Postgres, MCP, and Stripe. airi is written in TypeScript and sub2api in Go.

- [moeru-ai/airi](https://seerepo.com/r/moeru-ai/airi): 💖🧸 Self hosted, you-owned Grok Companion, a container of souls of waifu, cyber livings to bring them into our worlds, wishing to achieve Neuro-sama's altitude. Capable of realtime voice chat, Minecraft, Factorio playing. Web / macOS / Windows supported.
- [Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api): Sub2API 一站式开源中转服务，让 Claude、Openai 、Gemini、Grok订阅统一接入，支持拼车共享，更高效分摊成本，原生工具无缝使用。

## What they share and what sets them apart

- In common: Vue, Vite, Redis, Postgres, MCP, Stripe
- Only in airi: Resend
- Only in sub2api: Gin

## Side by side

| | airi | sub2api |
|---|---|---|
| Size | 601,890 lines written, 3,125 code files | 1,182,759 lines written, 1,683 code files |
| Who writes it | 2.7% of its commits signed by AI. With Claude Code, Gemini CLI, Cursor, Codex, Jules, and GitHub Copilot | 17.7% of its commits signed by AI. With Codex, Claude Code, Cursor, Gemini CLI, GitHub Copilot, and Factory |
| Activity | Last push October 30, 2026, 4,933 commits, 50,931 stars | Last push October 30, 2026, 5,448 commits, 45,171 stars |
| Tests | 946 test files. 34.6% of its code files have a test that imports them | 2,018 test files. 79.3% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, airi or sub2api?

sub2api, with 1,182,759 lines written in 1,683 code files; airi has 601,890 in 3,125.

The proof: [Wei-Shaw/sub2api's code at commit d851a38](https://github.com/Wei-Shaw/sub2api/tree/d851a38477597157e78450d30af2d8504764d085)

### Which has more GitHub stars, airi or sub2api?

airi, with 50,931 stars; sub2api has 45,171.

The proof: [moeru-ai/airi on GitHub](https://github.com/moeru-ai/airi)

### Which has more tests, airi or sub2api?

sub2api, with 2,018 test files; airi has 946.

The proof: [Wei-Shaw/sub2api's code at commit d851a38](https://github.com/Wei-Shaw/sub2api/tree/d851a38477597157e78450d30af2d8504764d085)

### Which was updated more recently, airi or sub2api?

Both got their last push on October 30, 2026.

The proof: [Wei-Shaw/sub2api's commits on GitHub](https://github.com/Wei-Shaw/sub2api/commits)

### Which has more commits signed by AI, airi or sub2api?

sub2api: an AI signed 17.7% of its commits, with Codex, Claude Code, Cursor, Gemini CLI, GitHub Copilot, and Factory; in airi, 2.7%.

The proof: [the commits each tool signed in Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api/ai)

## Sources

- moeru-ai/airi: Read on October 30, 2026, at commit 899c70d (https://github.com/moeru-ai/airi/tree/899c70d1b4dce3a13c339b63c1d9c4d2cd9572c1)
- Wei-Shaw/sub2api: Read on October 31, 2026, at commit d851a38 (https://github.com/Wei-Shaw/sub2api/tree/d851a38477597157e78450d30af2d8504764d085)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
