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