{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "rabbitbot": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "RabbitBot",
      "options": {
        "baseURL": "https://api.rabbitbot.ir/v1",
        "apiKey": "{env:RABBITBOT_API_KEY}"
      },
      "models": {
        "anthropic/claude-haiku-5.5": {
          "name": "Claude Haiku 5.5",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1000000,
            "output": 16000
          },
          "cost": {
            "input": 0.012,
            "output": 0.06,
            "cache_read": 0.0012,
            "cache_write": 0
          }
        },
        "anthropic/claude-opus-5.5": {
          "name": "Claude Opus 5.5",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1000000,
            "output": 16000
          },
          "cost": {
            "input": 0.48,
            "output": 2.4,
            "cache_read": 0.024,
            "cache_write": 0
          }
        },
        "anthropic/claude-sonnet-5": {
          "name": "Claude Sonnet 5",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1000000,
            "output": 16000
          },
          "cost": {
            "input": 0.24,
            "output": 1.2,
            "cache_read": 0.024,
            "cache_write": 0
          }
        },
        "anthropic/claude-sonnet-5.5": {
          "name": "Claude Sonnet 5.5",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1000000,
            "output": 16000
          },
          "cost": {
            "input": 0.24,
            "output": 1.2,
            "cache_read": 0.012,
            "cache_write": 0
          }
        },
        "deepseek/deepseek-v4-pro": {
          "name": "DeepSeek V4 Pro 0423",
          "tool_call": true,
          "limit": {
            "context": 1048576,
            "output": 16000
          },
          "cost": {
            "input": 0.324,
            "output": 0.54,
            "cache_read": 0.072,
            "cache_write": 0
          }
        },
        "deepseek/deepseek-v4.1-flash": {
          "name": "DeepSeek V4.1 Flash",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1048576,
            "output": 16000
          },
          "cost": {
            "input": 0.018,
            "output": 0.204,
            "cache_read": 0.00648,
            "cache_write": 0
          }
        },
        "deepseek/deepseek-v4.1-flash-1017": {
          "name": "DeepSeek V4.1 Flash 1017",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1048576,
            "output": 16000
          },
          "cost": {
            "input": 0.054,
            "output": 0.216,
            "cache_read": 0.00108,
            "cache_write": 0
          }
        },
        "openai/gpt-6-astra": {
          "name": "GPT-6 Astra",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1050000,
            "output": 16000
          },
          "cost": {
            "input": 4.8,
            "output": 24.0,
            "cache_read": 0.48,
            "cache_write": 0
          }
        },
        "openai/gpt-6-luna": {
          "name": "GPT-6 Luna",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1050000,
            "output": 16000
          },
          "cost": {
            "input": 0.012,
            "output": 0.06,
            "cache_read": 0.0012,
            "cache_write": 0
          }
        },
        "openai/gpt-6.1-sol": {
          "name": "GPT-6.1 Sol",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1050000,
            "output": 16000
          },
          "cost": {
            "input": 0.24,
            "output": 1.2,
            "cache_read": 0.012,
            "cache_write": 0
          }
        },
        "openai/gpt-6.1-terra": {
          "name": "GPT-6.1 Terra",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1050000,
            "output": 16000
          },
          "cost": {
            "input": 0.12,
            "output": 0.6,
            "cache_read": 0.006,
            "cache_write": 0
          }
        },
        "openai/gpt-6.2-astra": {
          "name": "GPT-6.2 Astra",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1050000,
            "output": 16000
          },
          "cost": {
            "input": 3.84,
            "output": 19.2,
            "cache_read": 0.192,
            "cache_write": 0
          }
        },
        "openai/gpt-6.2-sol": {
          "name": "GPT-6.2 Sol",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1050000,
            "output": 16000
          },
          "cost": {
            "input": 0.24,
            "output": 1.2,
            "cache_read": 0.012,
            "cache_write": 0
          }
        },
        "x-ai/grok-4.5": {
          "name": "Grok 4.5",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 500000,
            "output": 16000
          },
          "cost": {
            "input": 0.72,
            "output": 2.16,
            "cache_read": 0.108,
            "cache_write": 0
          }
        },
        "x-ai/grok-4.6": {
          "name": "Grok 4.6",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 500000,
            "output": 16000
          },
          "cost": {
            "input": 0.72,
            "output": 2.16,
            "cache_read": 0.18,
            "cache_write": 0
          }
        },
        "x-ai/grok-4.7": {
          "name": "Grok 4.7",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 500000,
            "output": 16000
          },
          "cost": {
            "input": 0.72,
            "output": 2.16,
            "cache_read": 0.18,
            "cache_write": 0
          }
        },
        "z-ai/glm-5.2": {
          "name": "GLM 5.2",
          "tool_call": true,
          "limit": {
            "context": 1048576,
            "output": 16000
          },
          "cost": {
            "input": 0.00168,
            "output": 1.632,
            "cache_read": 0.00144,
            "cache_write": 0
          }
        },
        "z-ai/glm-5.3": {
          "name": "GLM 5.3",
          "tool_call": true,
          "limit": {
            "context": 1048576,
            "output": 16000
          },
          "cost": {
            "input": 0.0168,
            "output": 0.336,
            "cache_read": 0.0168,
            "cache_write": 0
          }
        },
        "z-ai/glm-5.3-flash": {
          "name": "GLM 5.3 Flash",
          "tool_call": true,
          "attachment": true,
          "modalities": {
            "input": [
              "text",
              "image"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 1048576,
            "output": 16000
          },
          "cost": {
            "input": 0.0252,
            "output": 0.0816,
            "cache_read": 0.0048,
            "cache_write": 0
          }
        }
      }
    }
  },
  "model": "rabbitbot/anthropic/claude-sonnet-5.5",
  "small_model": "rabbitbot/anthropic/claude-haiku-5.5"
}
