Openrouter CLI

Use the `openrouter` CLI to call any OpenRouter API endpoint from the shell - chat / messages / responses (with web search, PDF input, prompt caching, reasoning budgets, tools), embeddings, rerank, text-to-speech, speech-to-text, image + video generation, model + provider discovery, generation lookup, credits, activity, and full key / BYOK / guardrail / workspace / files / presets management. Pass `--json` on every command for machine-parseable output.

aaronjmars Updated 20 repo stars
User key vs management key - what each one unlocks

File contents

aaronjmars/openroutercli commit de84d51223

Frequently asked questions

npx get-skill add aaronjmars/openrouter-cli