Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 814 Bytes

File metadata and controls

33 lines (22 loc) · 814 Bytes

RouterBase CLI

RouterBase provides an OpenAI-compatible API at https://routerbase.com/v1. This repository contains a small dependency-free command-line client for RouterBase chat completions and model listing.

Install

After the Homebrew tap is available:

brew tap RouterBase/tap
brew install routerbase

Usage

export ROUTERBASE_API_KEY="sk-rb-..."

routerbase chat "Explain RouterBase in one sentence."
routerbase models
routerbase chat --model google/gemini-2.5-flash "Write a short tagline."
routerbase chat --json "Return a tiny JSON object."

Links

License

MIT