Droid is one of my favourite coding agent at the moment.

Config

Droid’s settings is at ~/.factory/settings.json

BYOK:

  "customModels": [
    {
      "model": "glm-4.6",
      "id": "custom:GLM-4.6-[Z.AI-Coding-Plan]-0",
      "index": 0,
      "baseUrl": "https://api.z.ai/api/coding/paas/v4",
      "apiKey": "",
      "displayName": "GLM-4.6 [Z.AI Coding Plan]",
      "maxOutputTokens": 131072,
      "noImageSupport": true,
      "provider": "generic-chat-completion-api"
    },
    {
      "model": "claude-opus-4.5",
      "id": "custom:GENAI-Prod-Opus-4.5-1",
      "index": 1,
      "baseUrl": "",
      "apiKey": "",
      "displayName": "Opus 4.5",
      "maxOutputTokens": 64000,
      "noImageSupport": true,
      "provider": "generic-chat-completion-api"
    },
    {
      "model": "claude-sonnet-4.5",
      "id": "custom:GENAI-Prod-Sonnet-4.5-2",
      "index": 2,
      "baseUrl": "",
      "apiKey": "",
      "displayName": "Sonnet 4.5",
      "maxOutputTokens": 64000,
      "noImageSupport": true,
      "provider": "generic-chat-completion-api"
    },
    {
      "model": "gpt-5.1-codex",
      "id": "custom:GENAI-Prod-Codex-5.1-3",
      "index": 3,
      "baseUrl": "",
      "apiKey": "",
      "displayName": "Codex 5.1",
      "maxOutputTokens": 128000,
      "noImageSupport": true,
      "provider": "openai",
      ""
    }
  ],