{
  "$schema": "https://pi.dev/schemas/models.schema.json",
  "providers": {
    "reka": {
      "name": "Reka",
      "baseUrl": "https://api.reka.ai/v1",
      "api": "openai-completions",
      "apiKey": "$REKA_API_KEY",
      "compat": {
        "supportsStore": false,
        "supportsDeveloperRole": false,
        "supportsReasoningEffort": true,
        "thinkingFormat": "openai",
        "maxTokensField": "max_tokens",
        "supportsLongCacheRetention": false
      },
      "models": [
        {
          "id": "qwen3.8-27b",
          "name": "Qwen3.8 27B",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 262144,
          "maxTokens": 32768,
          "cost": {
            "input": 0.2,
            "output": 2.5,
            "cacheRead": 0.05,
            "cacheWrite": 0
          },
          "thinkingLevelMap": {
            "off": "none",
            "minimal": "minimal",
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": "max"
          }
        },
        {
          "id": "glm5.3-flash",
          "name": "GLM 5.3 Flash",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1048576,
          "maxTokens": 32768,
          "cost": {
            "input": 0.15,
            "output": 0.5,
            "cacheRead": 0.015,
            "cacheWrite": 0
          },
          "thinkingLevelMap": {
            "off": "none",
            "minimal": "minimal",
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": "max"
          }
        },
        {
          "id": "deepseek41-flash",
          "name": "DeepSeek V4.1 Flash",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1048576,
          "maxTokens": 32768,
          "cost": {
            "input": 0.3,
            "output": 1.2,
            "cacheRead": 0.006,
            "cacheWrite": 0
          },
          "thinkingLevelMap": {
            "off": "none",
            "minimal": "minimal",
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": "max"
          }
        },
        {
          "id": "qwen3.6-27b",
          "name": "Qwen3.6 27B",
          "reasoning": true,
          "input": [
            "text"
          ],
          "contextWindow": 262144,
          "maxTokens": 32768,
          "cost": {
            "input": 0.29,
            "output": 1.95,
            "cacheRead": 0.029,
            "cacheWrite": 0
          },
          "thinkingLevelMap": {
            "off": "none",
            "minimal": "minimal",
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": "max"
          }
        },
        {
          "id": "deepseek41-flash-20261017",
          "name": "DeepSeek V4.1 Flash 1017",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1048576,
          "maxTokens": 32768,
          "cost": {
            "input": 0.15,
            "output": 0.6,
            "cacheRead": 0.003,
            "cacheWrite": 0
          },
          "thinkingLevelMap": {
            "off": "none",
            "minimal": "minimal",
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": "max"
          }
        },
        {
          "id": "glm5.3",
          "name": "GLM 5.3",
          "reasoning": true,
          "input": [
            "text"
          ],
          "contextWindow": 1048576,
          "maxTokens": 32768,
          "cost": {
            "input": 1.17,
            "output": 3.96,
            "cacheRead": 0.234,
            "cacheWrite": 0
          },
          "thinkingLevelMap": {
            "off": "none",
            "minimal": "minimal",
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": "max"
          }
        },
        {
          "id": "ergo",
          "name": "Amazon Ergo",
          "reasoning": true,
          "input": [
            "text"
          ],
          "contextWindow": 1048576,
          "maxTokens": 32768,
          "cost": {
            "input": 1,
            "output": 3,
            "cacheRead": 0.1,
            "cacheWrite": 0
          },
          "thinkingLevelMap": {
            "off": "none",
            "minimal": "minimal",
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": "max"
          }
        },
        {
          "id": "kimi-k3.1-pro",
          "name": "Kimi K3.1 Pro",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1048576,
          "maxTokens": 32768,
          "cost": {
            "input": 2,
            "output": 10,
            "cacheRead": 0.2,
            "cacheWrite": 0
          },
          "thinkingLevelMap": {
            "off": "none",
            "minimal": "minimal",
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": "max"
          }
        }
      ]
    }
  }
}
