{
  "$schema": "https://opencode.ai/config.json",

  // Default model (coding-first). If you want general-first, switch to "openai/gpt-5.2".
  "model": "openai/gpt-5.3-codex",

  // Lightweight tasks (titles, quick helpers). OpenCode will try to pick a cheap model otherwise.
  "small_model": "openai/gpt-5.2",

  "permission": {
    "edit": "ask",
    "bash": {
      "*": "ask",
      "git": "deny"
    },
    "webfetch": "ask"
  },

  "experimental": {
    "disable_paste_summary": true
  },

  // Strongly recommend not pinning old versions if you're chasing newest model availability
  "plugin": ["opencode-openai-codex-auth@latest"],

  "provider": {
    "openai": {
      "options": {
        // If you don't actively use encrypted reasoning, you can drop `include` entirely.
        "reasoningSummary": "auto",
        "textVerbosity": "medium",
        "include": ["reasoning.encrypted_content"],
        "store": false
      },

      "models": {
        // "Regular GPT" (general-purpose)
        "gpt-5.2": {
          "name": "GPT-5.2 (OAuth)",
          "variants": {
            "low": { "reasoningEffort": "low" },
            "medium": { "reasoningEffort": "medium" },
            "high": { "reasoningEffort": "high" },
            "xhigh": { "reasoningEffort": "xhigh", "reasoningSummary": "detailed" }
          }
        },

        // Codex models
        "gpt-5.2-codex": {
          "name": "GPT-5.2-Codex (OAuth)",
          "variants": {
            "medium": { "reasoningEffort": "medium" },
            "high": { "reasoningEffort": "high" },
            "xhigh": { "reasoningEffort": "xhigh", "reasoningSummary": "detailed" }
          }
        },

        "gpt-5.3-codex": {
          "name": "GPT-5.3-Codex (OAuth)",
          "variants": {
            "medium": { "reasoningEffort": "medium" },
            "high": { "reasoningEffort": "high" },
            "xhigh": { "reasoningEffort": "xhigh", "reasoningSummary": "detailed" }
          }
        }
      }
    }
  }
}

