关于 llm-models
llm-models 是通过 inference.sh CLI 经 OpenRouter 调用多种语言模型的技能,面向需要在代码、写作、分析和 Agent 工作流中使用 LLM 的用户。它列出不同模型选项,并包含自动选择模型的入口。
主要功能
- 01通过 CLI 调用多种语言模型
- 02提供不同模型及其应用 ID
- 03支持按名称搜索模型应用
- 04提供自动选择模型的应用
- 05支持传入系统提示词
适用场景
- 01生成、审查或调试代码
- 02撰写内容、摘要和翻译
- 03分析数据或开展研究
- 04为 Agent 工作流接入 LLM
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ inference-sh/ skills --skill llm-models安装后在 Claude Code 中输入/llm-models确认已加载。
详细介绍
安装 belt CLI 技能:
npx skills add belt-sh/cli
通过 OpenRouter 使用 LLM 模型
通过 inference.sh CLI 访问 100 多种语言模型。

快速开始
需要 inference.sh CLI(
belt)。安装说明
belt login
# Call Claude Sonnet
belt app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'
可用模型
| 模型 | App ID | 最适合 |
|---|---|---|
| Claude Opus 4.5 | openrouter/claude-opus-45 | 复杂推理、编码 |
| Claude Sonnet 4.5 | openrouter/claude-sonnet-45 | 均衡的性能 |
| Claude Haiku 4.5 | openrouter/claude-haiku-45 | 快速、经济 |
| Gemini 3 Pro | openrouter/gemini-3-pro-preview | Google 最新模型 |
| Kimi K2 Thinking | openrouter/kimi-k2-thinking | 多步推理 |
| GLM-4.6 | openrouter/glm-46 | 开源、编码 |
| Intellect 3 | openrouter/intellect-3 | 通用用途 |
| 任意模型 | openrouter/any-model | 自动选择最佳选项 |
搜索 LLM 应用
belt app search "openrouter"
belt app search "claude"
示例
Claude Opus(最高质量)
belt app run openrouter/claude-opus-45 --input '{
"prompt": "Write a Python function to detect palindromes with comprehensive tests"
}'
Claude Sonnet(均衡)
belt app run openrouter/claude-sonnet-45 --input '{
"prompt": "Summarize the key concepts of machine learning"
}'
Claude Haiku(快速且经济)
belt app run openrouter/claude-haiku-45 --input '{
"prompt": "Translate this to French: Hello, how are you?"
}'
Kimi K2(思考型 Agent)
belt app run openrouter/kimi-k2-thinking --input '{
"prompt": "Plan a step-by-step approach to build a web scraper"
}'
任意模型(自动选择)
# Automatically picks the most cost-effective model
belt app run openrouter/any-model --input '{
"prompt": "What is the capital of France?"
}'
使用系统提示词
belt app sample openrouter/claude-sonnet-45 --save input.json
# Edit input.json:
# {
# "system": "You are a helpful coding assistant",
# "prompt": "How do I read a file in Python?"
# }
belt app run openrouter/claude-sonnet-45 --input input.json
使用场景
- 编码: 生成、审查、调试代码
- 写作: 内容、摘要、翻译
- 分析: 数据解读、研究
- Agent: 构建 AI 驱动的工作流
- 聊天: 对话界面
相关技能
# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli
# Web search (combine with LLMs for RAG)
npx skills add inference-sh/skills@web-search
# Image generation
npx skills add inference-sh/skills@ai-image-generation
# Video generation
npx skills add inference-sh/skills@ai-video-generation
浏览所有应用:belt app list
文档
- Agent 概览 - 构建 AI Agent
- Agent SDK - 以编程方式控制 Agent
- 构建研究 Agent - LLM 与搜索集成指南
评论
支持 Markdown