Skip to content

Factory Droid Integration

Factory is an AI-native software development platform. Delegate complete tasks like refactors, incident response, and migrations to Droids without changing your workflow. This guide shows you how to connect Factory Droid to LLMCloud.

Factory CLI supports custom models through BYOK (Bring Your Own Key). Your API keys remain local and are not uploaded to Factory servers.

OSPath
macOS / Linux~/.factory/settings.json
Windows%USERPROFILE%\.factory\settings.json

Edit your settings file and add the custom_models array:

{
"custom_models": [
{
"model": "anthropic/claude-opus-4.5-thinking",
"base_url": "https://llmcloud.studio",
"api_key": "your_llmcloud_api_key",
"provider": "anthropic"
},
{
"model": "anthropic/claude-sonnet-4.5",
"base_url": "https://llmcloud.studio",
"api_key": "your_llmcloud_api_key",
"provider": "anthropic"
},
{
"model": "anthropic/claude-sonnet-4.5-thinking",
"base_url": "https://llmcloud.studio",
"api_key": "your_llmcloud_api_key",
"provider": "anthropic"
},
{
"model": "google/gemini-3-pro-preview",
"base_url": "https://llmcloud.studio/v1",
"api_key": "your_llmcloud_api_key",
"provider": "openai"
},
{
"model": "google/gemini-3-flash-preview",
"base_url": "https://llmcloud.studio/v1",
"api_key": "your_llmcloud_api_key",
"provider": "openai"
}
]
}
ModelModel IDProvider
Claude Opus 4.6anthropic/claude-opus-4.6anthropic
Claude Opus 4.5 Thinkinganthropic/claude-opus-4.5-thinkinganthropic
Claude Sonnet 4.6anthropic/claude-sonnet-4.6anthropic
Claude Sonnet 4.5anthropic/claude-sonnet-4.5anthropic
Claude Sonnet 4.5 Thinkinganthropic/claude-sonnet-4.5-thinkinganthropic
Claude Haiku 4.5anthropic/claude-haiku-4.5anthropic
Gemini 3 Flash Previewgoogle/gemini-3-flash-previewopenai
Gemini 3 Pro Previewgoogle/gemini-3-pro-previewopenai

After configuration, switch between models using the /model command in Factory Droid.

Problem: “API Key invalid or unauthorized” error

Solutions:

  • Verify your API key is correct
  • Check your account has sufficient balance at LLMCloud Dashboard

Problem: Unable to connect to API

Solutions:

  • Verify Base URL matches the provider:
    • Anthropic: https://llmcloud.studio
    • OpenAI: https://llmcloud.studio/v1
  • Check your internet connection
  • Test with curl:
    Terminal window
    curl https://llmcloud.studio/v1/models \
    -H "Authorization: Bearer YOUR_API_KEY"

Problem: “Model not found” error

Solutions:

  • Use the exact model ID format
  • Verify the model is available in your subscription
  • Check provider matches the model type