{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "reka": {
      "name": "Reka",
      "npm": "@ai-sdk/openai-compatible",
      "env": [
        "REKA_API_KEY"
      ],
      "options": {
        "baseURL": "https://api.reka.ai/v1"
      },
      "models": {
        "qwen3.8-27b": {
          "name": "Qwen3.8 27B",
          "attachment": true,
          "reasoning": true,
          "tool_call": true,
          "temperature": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 262144,
            "output": 32768
          },
          "cost": {
            "input": 0.2,
            "output": 2.5,
            "cache_read": 0.05
          },
          "reasoning_options": [
            {
              "type": "effort",
              "values": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          ]
        },
        "glm5.3-flash": {
          "name": "GLM 5.3 Flash",
          "attachment": true,
          "reasoning": true,
          "tool_call": true,
          "temperature": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1048576,
            "output": 32768
          },
          "cost": {
            "input": 0.15,
            "output": 0.5,
            "cache_read": 0.015
          },
          "reasoning_options": [
            {
              "type": "effort",
              "values": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          ]
        },
        "deepseek41-flash": {
          "name": "DeepSeek V4.1 Flash",
          "attachment": true,
          "reasoning": true,
          "tool_call": true,
          "temperature": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1048576,
            "output": 32768
          },
          "cost": {
            "input": 0.3,
            "output": 1.2,
            "cache_read": 0.006
          },
          "reasoning_options": [
            {
              "type": "effort",
              "values": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          ]
        },
        "deepseek4-flash": {
          "name": "DeepSeek V4 Flash",
          "attachment": false,
          "reasoning": true,
          "tool_call": true,
          "temperature": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 262144,
            "output": 32768
          },
          "cost": {
            "input": 0.11,
            "output": 0.66,
            "cache_read": 0.007
          },
          "reasoning_options": [
            {
              "type": "effort",
              "values": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          ]
        },
        "qwen3.6-27b": {
          "name": "Qwen3.6 27B",
          "attachment": false,
          "reasoning": true,
          "tool_call": true,
          "temperature": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 262144,
            "output": 32768
          },
          "cost": {
            "input": 0.29,
            "output": 1.95,
            "cache_read": 0.029
          },
          "reasoning_options": [
            {
              "type": "effort",
              "values": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          ]
        }
      }
    }
  },
  "providers": {
    "reka": {
      "name": "Reka",
      "env": [
        "REKA_API_KEY"
      ],
      "package": "@opencode/ai/providers/openai-compatible",
      "settings": {
        "baseURL": "https://api.reka.ai/v1"
      },
      "compatibility": {
        "maxTokensField": "max_tokens",
        "reasoningField": "reasoning_content"
      },
      "models": {
        "qwen3.8-27b": {
          "name": "Qwen3.8 27B",
          "capabilities": {
            "tools": true,
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ],
            "reasoning": {
              "supported": true,
              "effort": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          "limit": {
            "context": 262144,
            "output": 32768
          },
          "cost": {
            "input": 0.2,
            "output": 2.5,
            "cache_read": 0.05
          }
        },
        "glm5.3-flash": {
          "name": "GLM 5.3 Flash",
          "capabilities": {
            "tools": true,
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ],
            "reasoning": {
              "supported": true,
              "effort": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          "limit": {
            "context": 1048576,
            "output": 32768
          },
          "cost": {
            "input": 0.15,
            "output": 0.5,
            "cache_read": 0.015
          }
        },
        "deepseek41-flash": {
          "name": "DeepSeek V4.1 Flash",
          "capabilities": {
            "tools": true,
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ],
            "reasoning": {
              "supported": true,
              "effort": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          "limit": {
            "context": 1048576,
            "output": 32768
          },
          "cost": {
            "input": 0.3,
            "output": 1.2,
            "cache_read": 0.006
          }
        },
        "deepseek4-flash": {
          "name": "DeepSeek V4 Flash",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ],
            "reasoning": {
              "supported": true,
              "effort": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          "limit": {
            "context": 262144,
            "output": 32768
          },
          "cost": {
            "input": 0.11,
            "output": 0.66,
            "cache_read": 0.007
          }
        },
        "qwen3.6-27b": {
          "name": "Qwen3.6 27B",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ],
            "reasoning": {
              "supported": true,
              "effort": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          "limit": {
            "context": 262144,
            "output": 32768
          },
          "cost": {
            "input": 0.29,
            "output": 1.95,
            "cache_read": 0.029
          }
        }
      }
    }
  }
}
