llm-models

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

LLM Models via OpenRouter

通过OpenRouter访问LLM模型

Access 100+ language models via inference.sh CLI.
通过inference.sh CLI访问100+大语言模型。

Quick Start

快速开始

bash
curl -fsSL https://cli.inference.sh | sh && infsh login
bash
curl -fsSL https://cli.inference.sh | sh && infsh login

Call Claude Sonnet

调用Claude Sonnet

infsh app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'
undefined
infsh app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'
undefined

Available Models

可用模型

ModelApp IDBest For
Claude Opus 4.5
openrouter/claude-opus-45
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
模型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
自动选择最优模型

Search LLM Apps

搜索LLM应用

bash
infsh app list --search "openrouter"
infsh app list --search "claude"
bash
infsh app list --search "openrouter"
infsh app list --search "claude"

Examples

使用示例

Claude Opus (Best Quality)

Claude Opus(最佳质量)

bash
infsh app run openrouter/claude-opus-45 --input '{
  "prompt": "Write a Python function to detect palindromes with comprehensive tests"
}'
bash
infsh app run openrouter/claude-opus-45 --input '{
  "prompt": "Write a Python function to detect palindromes with comprehensive tests"
}'

Claude Sonnet (Balanced)

Claude Sonnet(性能均衡)

bash
infsh app run openrouter/claude-sonnet-45 --input '{
  "prompt": "Summarize the key concepts of machine learning"
}'
bash
infsh app run openrouter/claude-sonnet-45 --input '{
  "prompt": "Summarize the key concepts of machine learning"
}'

Claude Haiku (Fast & Cheap)

Claude Haiku(快速低成本)

bash
infsh app run openrouter/claude-haiku-45 --input '{
  "prompt": "Translate this to French: Hello, how are you?"
}'
bash
infsh app run openrouter/claude-haiku-45 --input '{
  "prompt": "Translate this to French: Hello, how are you?"
}'

Kimi K2 (Thinking Agent)

Kimi K2(推理Agent)

bash
infsh app run openrouter/kimi-k2-thinking --input '{
  "prompt": "Plan a step-by-step approach to build a web scraper"
}'
bash
infsh app run openrouter/kimi-k2-thinking --input '{
  "prompt": "Plan a step-by-step approach to build a web scraper"
}'

Any Model (Auto-Select)

任意模型(自动选择)

bash
undefined
bash
undefined

Automatically picks the most cost-effective model

自动选择最具成本效益的模型

infsh app run openrouter/any-model --input '{ "prompt": "What is the capital of France?" }'
undefined
infsh app run openrouter/any-model --input '{ "prompt": "What is the capital of France?" }'
undefined

With System Prompt

结合系统提示词

bash
infsh app sample openrouter/claude-sonnet-45 --save input.json
bash
infsh app sample openrouter/claude-sonnet-45 --save input.json

Edit input.json:

编辑input.json:

{

{

"system": "You are a helpful coding assistant",

"system": "You are a helpful coding assistant",

"prompt": "How do I read a file in Python?"

"prompt": "How do I read a file in Python?"

}

}

infsh app run openrouter/claude-sonnet-45 --input input.json
undefined
infsh app run openrouter/claude-sonnet-45 --input input.json
undefined

Use Cases

应用场景

  • Coding: Generate, review, debug code
  • Writing: Content, summaries, translations
  • Analysis: Data interpretation, research
  • Agents: Build AI-powered workflows
  • Chat: Conversational interfaces
  • 代码开发:生成、评审、调试代码
  • 内容创作:内容生成、摘要、翻译
  • 数据分析:数据解读、研究分析
  • Agent构建:搭建AI驱动的工作流
  • 聊天交互:对话式交互界面

Related Skills

相关技能

bash
undefined
bash
undefined

Full platform skill (all 150+ apps)

全平台技能(包含150+应用)

npx skills add inference-sh/skills@inference-sh
npx skills add inference-sh/skills@inference-sh

Web search (combine with LLMs for RAG)

网页搜索(与LLM结合实现RAG)

npx skills add inference-sh/skills@web-search
npx skills add inference-sh/skills@web-search

Image generation

图像生成

npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@ai-image-generation

Video generation

视频生成

npx skills add inference-sh/skills@ai-video-generation

Browse all apps: `infsh app list`
npx skills add inference-sh/skills@ai-video-generation

浏览所有应用:`infsh app list`

Documentation

相关文档