LLM Models via OpenRouter
Access 100+ language models via inference.sh CLI.

Quick Start
CODEBLOCK0
Install note: The install script only detects your OS/architecture, downloads the matching binary from dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.
Available Models
| Model | App ID | Best For |
|---|
| Claude Opus 4.5 | INLINECODE1 | Complex reasoning, coding |
| Claude Sonnet 4.5 |
openrouter/claude-sonnet-45 | Balanced performance |
| Claude Haiku 4.5 |
openrouter/claude-haiku-45 | Fast, economical |
| Gemini 3 Pro |
openrouter/gemini-3-pro-preview | Google's latest |
| Kimi K2 Thinking |
openrouter/kimi-k2-thinking | Multi-step reasoning |
| GLM-4.6 |
openrouter/glm-46 | Open-source, coding |
| Intellect 3 |
openrouter/intellect-3 | General purpose |
| Any Model |
openrouter/any-model | Auto-selects best option |
Search LLM Apps
CODEBLOCK1
Examples
Claude Opus (Best Quality)
CODEBLOCK2
Claude Sonnet (Balanced)
CODEBLOCK3
Claude Haiku (Fast & Cheap)
CODEBLOCK4
Kimi K2 (Thinking Agent)
CODEBLOCK5
Any Model (Auto-Select)
CODEBLOCK6
With System Prompt
CODEBLOCK7
Use Cases
- - Coding: Generate, review, debug code
- Writing: Content, summaries, translations
- Analysis: Data interpretation, research
- Agents: Build AI-powered workflows
- Chat: Conversational interfaces
Related Skills
CODEBLOCK8
Browse all apps: INLINECODE9
Documentation
通过OpenRouter使用LLM模型
通过inference.sh命令行界面访问100多种语言模型。

快速开始
bash
curl -fsSL https://cli.inference.sh | sh && infsh login
调用Claude Sonnet
infsh app run openrouter/claude-sonnet-45 --input {prompt: 解释量子计算}
安装说明: 安装脚本仅检测您的操作系统/架构,从dist.inference.sh下载匹配的二进制文件,并验证其SHA-256校验和。无需提升权限或后台进程。也可手动安装和验证。
可用模型
| 模型 | 应用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应用
bash
infsh app list --search openrouter
infsh app list --search claude
示例
Claude Opus(最佳质量)
bash
infsh app run openrouter/claude-opus-45 --input {
prompt: 编写一个检测回文的Python函数,并附带全面测试
}
Claude Sonnet(均衡)
bash
infsh app run openrouter/claude-sonnet-45 --input {
prompt: 总结机器学习的关键概念
}
Claude Haiku(快速且经济)
bash
infsh app run openrouter/claude-haiku-45 --input {
prompt: 将这句话翻译成法语:你好,你怎么样?
}
Kimi K2(思考代理)
bash
infsh app run openrouter/kimi-k2-thinking --input {
prompt: 规划构建一个网络爬虫的逐步方法
}
任意模型(自动选择)
bash
自动选择最具成本效益的模型
infsh app run openrouter/any-model --input {
prompt: 法国的首都是什么?
}
使用系统提示词
bash
infsh app sample openrouter/claude-sonnet-45 --save input.json
编辑input.json:
{
system: 你是一个有用的编码助手,
prompt: 如何在Python中读取文件?
}
infsh app run openrouter/claude-sonnet-45 --input input.json
使用场景
- - 编码:生成、审查、调试代码
- 写作:内容创作、摘要、翻译
- 分析:数据解读、研究
- 代理:构建AI驱动的工作流
- 聊天:对话界面
相关技能
bash
完整平台技能(所有150+应用)
npx skills add inference-sh/skills@inference-sh
网络搜索(与LLM结合实现RAG)
npx skills add inference-sh/skills@web-search
图像生成
npx skills add inference-sh/skills@ai-image-generation
视频生成
npx skills add inference-sh/skills@ai-video-generation
浏览所有应用:infsh app list
文档