๐ŸŒ
npm
npmjs.com โ€บ package โ€บ @openrouter โ€บ cli
@openrouter/cli - npm
November 18, 2025 - SDK DevTools and utilities for OpenRouter development. Latest version: 1.0.0, last published: 4 days ago. Start using @openrouter/cli in your project by running `npm i @openrouter/cli`. There are no other projects in the npm registry using @openrouter/cli.
      ยป npm install @openrouter/cli
    
Published ย  Dec 20, 2025
Version ย  1.0.0
Author ย  openrouter
๐ŸŒ
GitHub
github.com โ€บ oop7 โ€บ OrChat
GitHub - oop7/OrChat: A powerful, feature-rich command-line interface for interacting with AI models through OpenRouter.
A powerful CLI for chatting with AI models through OpenRouter with streaming responses, token tracking, auto-update checking, multi-line input, conversation management with AI-generated summaries, and extensive customization options.
Starred by 66 users
Forked by 5 users
Languages ย  Python
๐ŸŒ
Reddit
reddit.com โ€บ r/python โ€บ project] orchat: a cli tool for chatting with ai models through openrouter
r/Python on Reddit: Project] OrChat: A CLI tool for chatting with AI models through OpenRouter
March 19, 2025 -

I've just released OrChat, a powerful CLI tool that lets you chat with any AI model available on OpenRouter directly from your terminal.

What My Project Does

OrChat is a terminal-based interface for interacting with various AI models through OpenRouter's API. It features:

  • ๐Ÿ“Š Advanced token counter for both input and output - perfect for prompt engineering practice

  • ๐ŸŽ›๏ธ Dynamic temperature adjustment to fine-tune model creativity on the fly

  • ๐Ÿ–ผ๏ธ Multimodal support for sharing images and files with compatible models

  • ๐Ÿง  Smart thinking mode to see the AI's reasoning process

  • ๐ŸŽจ Rich markdown rendering in the terminal (code blocks, tables, etc.)

  • ๐Ÿ”Œ Plugin system for extending functionality

  • ๐Ÿ’พ Multiple export formats (MD, HTML, JSON, TXT, PDF)

Here's what it looks like in action: OrChat screenshot

Target Audience

This tool is designed for:

  • Developers and prompt engineers who need precise token counting and model output testing

  • Users who prefer a lightweight, distraction-free terminal interface over web apps

  • Anyone who needs to test prompts across different AI models without switching interfaces

  • People who want a customizable interface that can be extended with plugins

  • Users looking for a fast, efficient way to interact with AI without the overhead of web browsers

Comparison

Unlike existing alternatives, OrChat:

  • Focuses specifically on the terminal experience with rich markdown rendering, unlike web-based interfaces

  • Provides real-time token counting for both input and output, which many interfaces lack

  • Offers dynamic temperature adjustment during conversations, a feature missing in most clients

  • Supports a plugin system that makes it more extensible than standard OpenAI clients

  • Combines multimodal capabilities with terminal efficiency, unlike most CLI tools that sacrifice features for simplicity

  • Offers multiple export formats in one interface, where other tools typically support only one or two formats

Getting Started

pip install orchat
orchat --setup

The setup wizard will guide you through connecting your OpenRouter API key and selecting your preferred model.

Practical Uses

  • Prompt engineering practice with precise token counting

  • Temperature experimentation to optimize model outputs

  • Quick prototyping and ideation

  • Code assistance with syntax highlighting

  • Document analysis by attaching files

  • Testing prompts across different models

  • Saving conversations in various formats

The plugin system makes it easy to extend functionality - I've already added a few helpful plugins and am working on more.

Check out the GitHub repo for full documentation and let me know what you think! I'm actively looking for feedback and feature suggestions.

GitHub: https://github.com/oop7/OrChat

๐ŸŒ
OpenRouter
openrouter.ai
OpenRouter
Better prices, better uptime, no subscriptions ยท Access all major models through a single, unified interface. OpenAI SDK works out of the box
๐ŸŒ
GitHub
github.com โ€บ rahulvrane โ€บ groq-code-cli-openrouter
GitHub - rahulvrane/groq-code-cli-openrouter: A highly customizable, lightweight, and open-source coding CLI powered by Groq AND OPENROUTER for instant iteration.
A highly customizable, lightweight, and open-source coding CLI powered by Groq AND OPENROUTER for instant iteration. - rahulvrane/groq-code-cli-openrouter
Author ย  rahulvrane
๐ŸŒ
Cline
docs.cline.bot โ€บ provider-config โ€บ openrouter
OpenRouter - Cline
Learn how to use OpenRouter with Cline to access a wide variety of language models through a single API.
๐ŸŒ
Apify
apify.com โ€บ apify โ€บ openrouter โ€บ api โ€บ cli
OpenRouter API through CLI ยท Apify
June 4, 2025 - To use the Apify API, youโ€™ll need an Apify account and your API token, found in Integrations settings in Apify Console. ... The Apify CLI is the official tool that allows you to use OpenRouter locally, providing convenience functions and automatic ...
Find elsewhere
๐ŸŒ
npm
npmjs.com โ€บ package โ€บ @letuscode โ€บ openrouter-cli
@letuscode/openrouter-cli - npm
September 24, 2025 - CLI tool for OpenRouter (OpenAI-compatible). Latest version: 0.3.4, last published: 3 months ago. Start using @letuscode/openrouter-cli in your project by running `npm i @letuscode/openrouter-cli`. There are no other projects in the npm registry using @letuscode/openrouter-cli.
      ยป npm install @letuscode/openrouter-cli
    
Published ย  Sep 24, 2025
Version ย  0.3.4
๐ŸŒ
OpenRouter
openrouter.ai โ€บ cohere โ€บ command-a
Command A - API, Providers, Stats | OpenRouter
Command A is an open-weights 111B parameter model with a 256k context window focused on delivering great performance across agentic, multilingual, and coding use cases. Compared to other leading proprietary and open-weights models Command A ...
๐ŸŒ
OpenRouter
openrouter.ai โ€บ docs โ€บ quickstart
OpenRouter Quickstart Guide | Developer Documentation | OpenRouter | Documentation
Get started with OpenRouter's unified API for hundreds of AI models. Learn how to integrate using OpenAI SDK, direct API calls, or third-party frameworks.
๐ŸŒ
piwheels
piwheels.org โ€บ project โ€บ openrouter-cli
piwheels - openrouter-cli
October 21, 2025 - The piwheels project page for openrouter-cli: Ollama-like CLI tool for openrouter
๐ŸŒ
Aider
aider.chat โ€บ docs โ€บ llms โ€บ openrouter.html
OpenRouter | aider
Aider can connect to models provided by OpenRouter: Youโ€™ll need an OpenRouter API key.
๐ŸŒ
GitHub
github.com โ€บ simonw โ€บ llm-openrouter
GitHub - simonw/llm-openrouter: LLM plugin for models hosted by OpenRouter
You will need an API key from OpenRouter.
Starred by 293 users
Forked by 35 users
Languages ย  Python
๐ŸŒ
OpenRouter
openrouter.ai โ€บ cohere โ€บ command-a โ€บ api
Cohere: Command A โ€“ Quickstart | OpenRouter
Sample code and API for Cohere: Command A - Command A is an open-weights 111B parameter model with a 256k context window focused on delivering great performance across agentic, multilingual, and coding use cases. Compared to other leading proprietary and open-weights models Command A delivers ...
๐ŸŒ
AI SDK
ai-sdk.dev โ€บ providers โ€บ community-providers โ€บ openrouter
Community Providers: OpenRouter
Gemini CLI ยท MCP Sampling AI Provider ... ยท OpenRouter is a unified API gateway that provides access to hundreds of AI models from leading providers like Anthropic, Google, Meta, Mistral, and more....
๐ŸŒ
crates.io
crates.io โ€บ crates โ€บ openrouter-rs
openrouter-rs - crates.io: Rust Package Registry
Run the following Cargo command in your project directory: ยท Or add the following line to your Cargo.toml:
๐ŸŒ
Simon Willison
simonwillison.net โ€บ 2025 โ€บ Mar โ€บ 10 โ€บ llm-openrouter-04
llm-openrouter 0.4
March 10, 2025 - cli 109 plugins 126 projects 504 ai 1690 annotated-release-notes 37 generative-ai 1491 llms 1457 llm 239 openrouter 20 ai-assisted-search 34
๐ŸŒ
Hacker News
news.ycombinator.com โ€บ item
T2x โ€“ a CLI tool for AI-first text operations | Hacker News
October 6, 2024 - The only difference is that you provide subcommands, while aichat requires users to create various roles ยท t2x 'Write a ...' => aichat 'Write a ...'