"Self-hosted AI code review" covers three very different setups, and the difference is how much you run. I looked at what the open-source GitHub reviewers ask of you, from their READMEs, accessed 27 November 2026, co-maintainer claims re-checked 4 December 2026. unverified marks what I could not confirm.

Three ways to run one

1. A CI step. The review runs inside GitHub Actions on every pull request, with your model key as a secret. Nothing to host. PR-Agent offers this as its recommended path (README), presubmit's ai-reviewer is only this, and Gito runs in CI as well. What you give up is a dashboard and shared state between runs unless the tool adds them.

2. A service you host that is a GitHub App. A server receives webhooks, queues reviews and posts them back, and you get a dashboard of jobs. You run the server, the database and the model credentials yourself. Kodus (Docker, README asks for at least 2 CPU cores, 8 GB of RAM and 60 GB of free disk), Codra (Docker, Node.js or Cloudflare Workers, and a full setup adds PostgreSQL and Redis, and the README says Node and Docker are newer and still being hardened) and co-maintainer (serve on Node 24 or newer, or Docker. I measured an idle container at about 48 MiB of memory and 12 processes with a fresh data volume and no reviews running, v0.7.35, 27 November 2026, so that is a floor, not a working figure) work like this.

3. A local CLI on a developer machine. Review a branch before you push. PR-Agent, Kodus, Gito and co-maintainer all list a CLI. It does not review pull requests for the whole team by itself.

What you give to each

Question CI step Hosted GitHub App
Where does the diff go To your model provider, from the runner To your model provider, from your server
What do you maintain A workflow file and a secret A server, updates, backups
Webhooks and queueing Handled by GitHub Actions You run them
Dashboard of past reviews Usually no Yes
GitHub rate limits GITHUB_TOKEN: 1,000 requests per hour per repository (15,000 on GitHub Enterprise Cloud) Shared by one installation: one hourly budget for all the repositories it covers

The last row is the one people hit later. A GitHub App installation has one hourly request budget shared by every repository it covers, and creating content has its own limit (GitHub docs). A CI step authenticates with the workflow's GITHUB_TOKEN, which has its own per-repository limit, so it does not share an installation's budget.

Platforms and GitHub Enterprise Server

All of the above work with github.com. Kodus also lists GitLab, Bitbucket, Azure DevOps and Forgejo in its README. If you run GitHub Enterprise Server, check each project for it. I re-checked co-maintainer's source at v0.7.48 (2 December 2026): api.github.com is still hard-coded in the token check, OAuth and the App manifest flow. Only the App's REST base URL can be overridden, through an environment variable the project uses for its tests, not a documented setting. So it does not support GitHub Enterprise Server yet. I did not verify GHES for the other tools (unverified).

A short way to choose

  • Five repositories and you want it done in ten minutes: a CI step.
  • Many repositories and you want one place to see every review: a hosted GitHub App, and plan a small server.
  • You want to try a tool before deciding: the CLI mode of any of them.

co-maintainer's verified limits

  • GitHub Enterprise Server: not supported yet (above).
  • Memory: the 48 MiB figure is an idle container, not a working one.
  • Scale: the project's own load test (docs/md/load-test.md at v0.7.48, read 4 December 2026, one 16-thread machine, a fake GitHub and a fake model) ran 3,000 pull requests with 0 failures and a peak of 378 MB, and 100 at once reached 11,508 reviews an hour at 4 concurrent jobs. That measures the server, not a real model's speed or a real installation's rate limit, and I did not run it myself. The default store is SQLite on one machine.

What I did not measure

Resource use on real workloads, the load-test numbers above (I only read them from the project's docs, docs/md/load-test.md) and review quality. I have not run the same pull requests through each tool.

Disclosure

I work on co-maintainer, one of the tools mentioned. I described each tool from its own README.