mrgoonie

The all-in-one CLI for the OpenRouter API — agent-friendly by default.

15
9
100% credibility
Found Apr 18, 2026 at 15 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A user-friendly terminal tool for chatting with AI models, browsing options, managing accounts, and generating content via OpenRouter services.

How It Works

1
🔍 Discover the Tool

You hear about a handy terminal companion for chatting with AI models and managing your account effortlessly.

2
📥 Install Easily

Copy and paste one simple command to get it running on your computer in seconds.

3
🔗 Connect Your Account

Link your AI service account securely so everything works smoothly without hassle.

4
💬 Start Chatting!

Type your question, pick a smart model, and watch the AI respond right in your terminal like magic.

5
📋 Explore More

Browse available models, check your balance, or generate special content like videos whenever you need.

🎉 AI Power Unlocked

Now you have fast, reliable AI chats and tools at your fingertips from anywhere in your terminal.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 15 to 15 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is openrouter-cli?

openrouter-cli is a TypeScript CLI that wraps the full OpenRouter API in one agent-friendly tool. It handles chat completions, embeddings, model browsing, credit checks, key management, guardrails, reranking, and async video generation via simple commands like `openrouter chat send` or `openrouter video create`. Install via Homebrew, curl script, npm, or Bun, with config cascading from flags to keychain for seamless scripting.

Why is it gaining traction?

This all-in-one client stands out with machine-readable JSON/NDJSON outputs, stable exit codes (0-73), and OAuth PKCE auth that stores keys securely—no more manual Bearer headers in scripts. Streaming chat defaults on, retries rate limits automatically, and agent mode shines for pipelines like `openrouter models list --json | jq`. Multi-shell completions (bash/zsh/fish/pwsh) and a Claude Code plugin make it drop-in ready for AI workflows.

Who should use this?

AI engineers scripting OpenRouter calls in agents or CI/CD, ops teams managing keys/credits/guardrails across orgs, and devs prototyping video gen or reranking without SDK boilerplate. Perfect for those ditching curl/wget for a typed, resilient openrouter cli agent that pipes cleanly into jq or Nextflow.

Verdict

Grab it if you hit OpenRouter daily—docs are thorough, 446 tests pass, MIT licensed—but with 15 stars and 1.0% credibility, treat as v1 alpha for prod. Solid foundation; watch for wider adoption.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.