Install
openclaw skills install openrouter-free查询 OpenRouter 上所有免费模型并调用进行智能对话。支持 Gemma、Llama、MiniMax 等 27 个免费大模型,无需付费即可使用。
openclaw skills install openrouter-free通过 OpenRouter API 查询并调用所有免费模型,无需付费即可使用大模型对话能力。
需要配置 OpenRouter API Key:
# 在 .env 文件中添加
OPENROUTER_API_KEY=sk-or-v1-your-key-here
API Key 获取地址:https://openrouter.ai/settings/keys
# 查询免费模型列表
python3 openrouter_free.py list
# 调用免费模型对话
python3 openrouter_free.py chat "你的问题"
| 模型 ID | 名称 | 上下文长度 | 适用场景 |
|---|---|---|---|
openrouter/free | 自动路由 | 200K | 通用首选 |
meta-llama/llama-3.3-70b-instruct:free | Llama 3.3 70B | 131K | 长文本对话 |
minimax/minimax-m2.5:free | MiniMax M2.5 | 196K | 高质量对话 |
google/gemma-4-26b-it:free | Gemma 4 26B | 262K | 快速推理 |
当前共 27 个免费模型,涵盖:
openrouter/free 自动路由,系统自动选择最佳免费模型