Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
name: cli-chat description: Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.
Overview
Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
chat [prompt]
Flags:
--file <path>--stdin-s, --system <prompt>-m, --model <id>--max-tokens <n>--temperature <t>--top-p <p>--reasoning-effort <level>--thinking-budget <tokens>--combo <name>--responses-api--stream--no-history
Example:
omniroute chat [prompt]
repl
Flags:
-m, --model <id>--combo <name>-s, --system <prompt>--resume <session>
Example:
omniroute repl
stream [prompt]
Flags:
--file <path>--stdin-m, --model <id>-s, --system <prompt>--combo <name>--max-tokens <n>--responses-api--raw--debug--save <path>
Example:
omniroute stream [prompt]