{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "openscale": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "OpenScale",
      "env": [
        "OPENSCALE_API_KEY"
      ],
      "options": {
        "baseURL": "https://api.openscale.so/v1"
      },
      "models": {
        "qwen/qwen3.6-35b-a3b": {
          "name": "Qwen 3.6 35B A3B",
          "tool_call": true,
          "reasoning": true,
          "interleaved": {
            "field": "reasoning_content"
          },
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 131072,
            "output": 32768
          },
          "cost": {
            "input": 0.005,
            "output": 0.045,
            "cache_read": 0.0025
          }
        },
        "deepseek/deepseek-v4.1-flash": {
          "name": "DeepSeek V4.1 Flash",
          "tool_call": true,
          "reasoning": true,
          "interleaved": {
            "field": "reasoning_content"
          },
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1048576,
            "output": 384000
          },
          "cost": {
            "input": 0.12,
            "output": 0.48,
            "cache_read": 0.006
          }
        }
      }
    }
  }
}
