> ## Documentation Index
> Fetch the complete documentation index at: https://doc.chathub.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenRouter

[OpenRouter](https://openrouter.ai) 是大语言模型的统一接口，为各类热门大语言模型提供标准化的 API。

## 准备工作

[创建账号](https://openrouter.ai)并获取你的 API 密钥。

## 配置

![](https://mintcdn.com/chathub-5dac209e/ozs4YL2c0N1LB4gO/images/custom-bots/openrouter.png?fit=max\&auto=format\&n=ozs4YL2c0N1LB4gO\&q=85\&s=5bb967cf48cc357c627d5ce5c4e2c084)

本示例使用 `anthropic/claude-3.5-sonnet` 模型。

你可以在 [OpenRouter 网站](https://openrouter.ai/docs#models)查看所有可用模型。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.