llm-models
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLLM 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 loginbash
curl -fsSL https://cli.inference.sh | sh && infsh loginCall Claude Sonnet
调用Claude Sonnet
infsh app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'
undefinedinfsh app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'
undefinedAvailable Models
可用模型
| Model | App ID | Best For |
|---|---|---|
| Claude Opus 4.5 | | Complex reasoning, coding |
| Claude Sonnet 4.5 | | Balanced performance |
| Claude Haiku 4.5 | | Fast, economical |
| Gemini 3 Pro | | Google's latest |
| Kimi K2 Thinking | | Multi-step reasoning |
| GLM-4.6 | | Open-source, coding |
| Intellect 3 | | General purpose |
| Any Model | | Auto-selects best option |
| 模型 | App ID | 适用场景 |
|---|---|---|
| Claude Opus 4.5 | | 复杂推理、代码生成 |
| Claude Sonnet 4.5 | | 性能均衡 |
| Claude Haiku 4.5 | | 快速、经济 |
| Gemini 3 Pro | | Google最新模型 |
| Kimi K2 Thinking | | 多步骤推理 |
| GLM-4.6 | | 开源、代码生成 |
| Intellect 3 | | 通用场景 |
| 任意模型 | | 自动选择最优模型 |
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
undefinedbash
undefinedAutomatically picks the most cost-effective model
自动选择最具成本效益的模型
infsh app run openrouter/any-model --input '{
"prompt": "What is the capital of France?"
}'
undefinedinfsh app run openrouter/any-model --input '{
"prompt": "What is the capital of France?"
}'
undefinedWith System Prompt
结合系统提示词
bash
infsh app sample openrouter/claude-sonnet-45 --save input.jsonbash
infsh app sample openrouter/claude-sonnet-45 --save input.jsonEdit 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
undefinedinfsh app run openrouter/claude-sonnet-45 --input input.json
undefinedUse 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
undefinedbash
undefinedFull 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
相关文档
- Agents Overview - Building AI agents
- Agent SDK - Programmatic agent control
- Building a Research Agent - LLM + search integration guide