About Casbin Gateway
Apache Casbin Gateway is a local gateway that sits between the AI coding agents on your machine and the model providers they call. It gives one place to see what Claude Code, Codex, Cursor, Gemini CLI and similar agents are doing, which providers they talk to, what they are allowed to do and what they spend. It is a subproject of Apache Casbin, which is incubating at the Apache Software Foundation.
It is aimed at developers and teams who run several coding agents and buy model access through keys or resellers they cannot fully trust. An authenticity feature probes each provider independently and grades it from A to F, checking whether a reseller is serving a cheaper model than claimed, faking cache hits or silently dropping supported parameters. An activity view records every prompt and tool call, reads spend from the agents' own transcripts, and on Windows shows where each agent's processes upload data. Agents can be pointed at any of 44 model vendors, given per agent permissions, and installed, upgraded or rolled back from the gateway itself.
The gateway is free and open source, installed with a single command on macOS, Linux or Windows with no database, Go, Node or configuration required. No paid tier or pricing is published.
As an incubating Apache project, its governance and release process follow the Apache Software Foundation, and the source is maintained in the Apache organisation on GitHub.