SubLaneSubLane

Meet SubLane

A minimal, self-hosted subscription gateway for internal teams.

SubLane brings Codex, Claude, and Antigravity subscription accounts behind one gateway. Administrators connect accounts and manage access; members use personal API keys with their clients.

One Go process serves the gateway and web interface, with SQLite for storage. The production application does not need Node.js, Redis, or an external database.

Find your starting point

Start with Docker

Install Docker with Compose, curl, and jq. Then run:

Start with Docker · 1
curl -fsSL https://raw.githubusercontent.com/murongg/SubLane/main/scripts/install.sh | bash

The installer creates ./sublane and selects the latest stable release, or the latest prerelease if no stable release exists. It refuses to overwrite an existing directory. Review the installer source or follow the manual deployment guide.

Open 127.0.0.1:8080, create the administrator, connect an account, and create a personal API key. Use HTTPS for network deployments.

What the gateway supports

  • OpenAI-compatible Responses and Chat Completions, with HTTP and SSE.
  • Responses WebSocket connections and Codex compaction.
  • Native Claude Messages and Gemini generation endpoints.
  • Group-scoped model catalogs, member permissions, and account selection.
  • Request diagnostics, personal and team usage, and backup/restore tools.

Current scope

SubLane is in internal testing. Automated compatibility checks use synthetic accounts and mocked upstreams. Live subscription authorization, model behavior, and full desktop-client acceptance require separate verification. See protocol coverage.

Codex quota snapshots are supported; Claude and Antigravity quota readers are not implemented. Official API-key upstreams, token budgets, and billing remain outside the current feature set.

Documentation source

The reference guides here are a snapshot of the project's maintained documentation. The project is licensed under AGPL-3.0-only.