Skip to content
exoticrouter.com ↗

Droid

Runs Factory’s software development agent from the command line. Point it at ExoticRouter with a base URL and a key: here are the values, and where they go in Droid.

Setting Value
Base URL, OpenAI-compatible API https://api.exoticrouter.com/v1
Base URL, Anthropic API https://api.exoticrouter.com
API key Your key, from the API keys page
Model An id such as anthropic/claude-sonnet-5-5, from the models page

A tool that adds /v1 to the address by itself is given https://api.exoticrouter.com instead.

An example with a handful of models and a stand-in for the key. Put your own key where it says sk-er-YOUR-KEY.

settings.json goes here:

System Path
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 }
]
}

If the file is there already, add this to it and keep the settings you have.

Start droid and open /model: the models named (ExoticRouter) are listed with your custom models.

If Droid is not on the machine yet, this is its own installer:

System Command
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 Models
OpenAI-compatible Every text model in the catalogue
Anthropic The Claude models

The setting is described in Droid’s own documentation.

  • Claude Code: Works on a codebase from the terminal, IDE, or web.
  • Codex: Works on software engineering tasks through a coding agent.
  • OpenCode: Runs an open-source coding agent with configurable model providers.
  • Kilo Code: Open-source coding agent for editing and working with repositories.
  • Qwen Code: Runs the Qwen coding agent in a terminal.
  • Gemini CLI: Brings Google’s Gemini agent into a terminal.