跳转到内容
exoticrouter.com ↗

Droid

在命令行里运行 Factory 的软件开发智能体。用一个 Base URL 和一个密钥,把 Droid 接到 ExoticRouter:这里是要填的值,以及它们在 Droid 里填在哪里。

设置 值
Base URL(OpenAI 兼容 API) https://api.exoticrouter.com/v1
Base URL(Anthropic API) https://api.exoticrouter.com
API 密钥 你的密钥,在 API 密钥页面
模型 模型 ID,例如 anthropic/claude-sonnet-5-5,见模型页面

如果工具会自己在地址后面加 /v1,就填 https://api.exoticrouter.com。

这是一个示例,只列了几个模型,密钥用占位符代替。把 sk-er-YOUR-KEY 换成你自己的密钥。

settings.json 放在这里:

系统 路径
macOS ~/.factory/settings.json
Linux ~/.factory/settings.json
Windows %USERPROFILE%\.factory\settings.json
settings.json
{
"customModels": [
{ "id": "custom:exoticrouter-anthropic-claude-fable-5-2", "model": "anthropic/claude-fable-5-2", "displayName": "Claude Fable 5.2 (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 1000000, "maxOutputTokens": 64000 },
{ "id": "custom:exoticrouter-anthropic-claude-haiku-5-5", "model": "anthropic/claude-haiku-5-5", "displayName": "Claude Haiku 5.5 (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 1000000, "maxOutputTokens": 64000 },
{ "id": "custom:exoticrouter-anthropic-claude-opus-5", "model": "anthropic/claude-opus-5", "displayName": "Claude Opus 5 (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 1000000, "maxOutputTokens": 64000 },
{ "id": "custom:exoticrouter-anthropic-claude-opus-5-5", "model": "anthropic/claude-opus-5-5", "displayName": "Claude Opus 5.5 (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 1000000, "maxOutputTokens": 128000 },
{ "id": "custom:exoticrouter-anthropic-claude-sonnet-5", "model": "anthropic/claude-sonnet-5", "displayName": "Claude Sonnet 5 (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 1000000, "maxOutputTokens": 64000 },
{ "id": "custom:exoticrouter-anthropic-claude-sonnet-5-5", "model": "anthropic/claude-sonnet-5-5", "displayName": "Claude Sonnet 5.5 (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 1000000, "maxOutputTokens": 64000 },
{ "id": "custom:exoticrouter-openai-gpt-6-1-sol", "model": "openai/gpt-6.1-sol", "displayName": "GPT-6.1 Sol (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 1050000, "maxOutputTokens": 128000 },
{ "id": "custom:exoticrouter-openai-gpt-6-2-astra", "model": "openai/gpt-6.2-astra", "displayName": "GPT-6.2 Astra (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 1050000, "maxOutputTokens": 128000 },
{ "id": "custom:exoticrouter-openai-gpt-6-2-sol", "model": "openai/gpt-6.2-sol", "displayName": "GPT-6.2 Sol (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 1050000, "maxOutputTokens": 128000 },
{ "id": "custom:exoticrouter-360-gpt-6-1-sol", "model": "360/gpt-6.1-sol", "displayName": "gpt-6.1-sol (ExoticRouter)", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY", "provider": "generic-chat-completion-api", "maxContextLimit": 128000, "maxOutputTokens": 16384, "noImageSupport": true }
]
}

如果这个文件已经存在,把这些内容加进去,保留你已有的设置。

启动 droid,打开 /model:名称里带 (ExoticRouter) 的模型和你的自定义模型列在一起。

如果机器上还没有 Droid,这是它自己的安装命令:

系统 命令
macOS curl -fsSL https://app.factory.ai/cli | sh
Linux curl -fsSL https://app.factory.ai/cli | sh
Windows irm https://app.factory.ai/cli/windows | iex
API 模型
OpenAI 兼容 模型库里的所有文本模型
Anthropic Claude 模型

这个设置的说明见 Droid 自己的文档。

  • Claude Code:在终端、IDE 或网页里处理代码库。
  • Codex:通过编程智能体完成软件工程任务。
  • OpenCode:开源编程智能体,可配置模型供应商。
  • Kilo Code:开源编程智能体,用来修改和处理代码仓库。
  • Qwen Code:在终端里运行 Qwen 编程智能体。
  • Gemini CLI:把 Google 的 Gemini 智能体带进终端。