Where to configure
Add custom models in~/.factory/config.json
under the custom_models
array.
Supported fields
model
: The name of the modelbase_url
: The API base urlapi_key
: The API keyprovider
: One of:anthropic
(for endpoints compatible with Anthropic’s Messages API)openai
(for endpoints compatible with OpenAI’s Responses API)
Example configuration
Place this in~/.factory/config.json
:
Using custom models with droid
- Use the
/model
command to open the Model Selector. - Custom models will appear below Factory provided models.
Billing
- Custom models are free to use with Factory.