# OmniRoute Chat CLI

Sends chat completions, streams replies and runs an interactive chat session from the terminal.

- Repository: https://github.com/cheaper-inference/OmniRoute (83611 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add cheaper-inference/OmniRoute --skill cli-chat -g -a claude-code -y`
Codex: `npx skills add cheaper-inference/OmniRoute --skill cli-chat -g -a codex -y`
Cursor: `npx skills add cheaper-inference/OmniRoute --skill cli-chat -g -a cursor -y`
Gemini CLI: `npx skills add cheaper-inference/OmniRoute --skill cli-chat -g -a gemini-cli -y`

## 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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## 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

```bash
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:**

```bash
omniroute chat [prompt]
```

### `repl`

**Flags:**

- `-m, --model <id>`
- `--combo <name>`
- `-s, --system <prompt>`
- `--resume <session>`

**Example:**

```bash
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:**

```bash
omniroute stream [prompt]
```

