Skip to main content
Droid — Factory’s coding agent — supports BYOK custom models. Custom models are read from ~/.factory/settings.json and are available in the Droid CLI and the Factory desktop app (but not on the Factory web or mobile platforms). API keys remain local and are not sent to the Factory server.

What You Need to Know

  • GPT and other models (DeepSeek, GLM, Qwen, Kimi) are most compatible via generic-chat-completion-api. The openai provider on Droid uses the Responses API; Hostlinku serves Responses in a stateless manner (details), so choose Chat Completions if in doubt.
  • maxOutputTokens should not exceed the model’s output limit as specified in the catalog.
  • Prompt caching for generic providers depends on the target model.

Troubleshooting