Query available AI models, list model aliases, and browse the full model catalog from the CLI. Filter by provider, search by capability, and resolve model name
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-cli-models-d0a29c6a1b31 ,按照其中的说明把「cli-models」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Query available AI models, list model aliases, and browse the full model catalog from the CLI. Filter by provider, search by capability, and resolve model name variants.
npm install -g omniroute # or: npx omniroute
omniroute --version
models [provider]Flags:
--search <query>--jsonExample:
omniroute models [provider]
models manual <provider>List manual model metadata from the selected server
Example:
omniroute models manual <provider>
models add <provider> <model-id>Add an unverified manual model, then verify persistence
Flags:
--name <name>--api-format <format>--context-window <tokens>--max-output-tokens <tokens>--dry-runExample:
omniroute models add <provider> <model-id>
models edit <provider> <model-id>Edit manual model metadata, then verify persistence
Flags:
--name <name>--api-format <format>--context-window <tokens>--clear-context-window--dry-runExample:
omniroute models edit <provider> <model-id>
models remove <provider> <model-id>Remove only a manual model override, then verify persistence
Flags:
--yes--dry-runExample:
omniroute models remove <provider> <model-id>