openrouter-api
✓OpenRouter API 集成可统一访问来自 70 多个提供商的 400 多个 LLM 模型。在构建需要调用 OpenRouter API 来完成聊天、流式传输、工具调用、结构化输出或模型路由的应用程序时使用。在 OpenRouter、模型路由、多模型、提供商回退或用户需要通过单个 API 访问多个 LLM 提供商时触发。
SKILL.md
OpenRouter provides a unified API to access 400+ models from 70+ providers (OpenAI, Anthropic, Google, Meta, Mistral, etc.) through a single OpenAI-compatible interface.
Models use provider/model-name format: openai/gpt-5.2, anthropic/claude-sonnet-4.5, google/gemini-3-pro
| model | string | Model ID (e.g., openai/gpt-5.2) | | messages | Message[] | Conversation history | | stream | boolean | Enable streaming | | maxtokens | number | Max completion tokens | | temperature | number | Randomness [0-2] | | tools | Tool[] | Function definitions | | responseformat | object | Output format control |
OpenRouter API 集成可统一访问来自 70 多个提供商的 400 多个 LLM 模型。在构建需要调用 OpenRouter API 来完成聊天、流式传输、工具调用、结构化输出或模型路由的应用程序时使用。在 OpenRouter、模型路由、多模型、提供商回退或用户需要通过单个 API 访问多个 LLM 提供商时触发。 来源:jrajasekera/claude-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/jrajasekera/claude-skills --skill openrouter-api- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-05
- 更新时间
- 2026-02-18
快速解答
什么是 openrouter-api?
OpenRouter API 集成可统一访问来自 70 多个提供商的 400 多个 LLM 模型。在构建需要调用 OpenRouter API 来完成聊天、流式传输、工具调用、结构化输出或模型路由的应用程序时使用。在 OpenRouter、模型路由、多模型、提供商回退或用户需要通过单个 API 访问多个 LLM 提供商时触发。 来源:jrajasekera/claude-skills。
如何安装 openrouter-api?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/jrajasekera/claude-skills --skill openrouter-api 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/jrajasekera/claude-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-05