{
  "schema": 1,
  "version": 42,
  "backends": {
    "openai-primary": {
      "protocol": "openai_compatible",
      "upstream": "https://api.openai.com",
      "credential_ref": "openai-primary",
      "max_inflight_per_node": 64,
      "enabled": true
    },
    "compatible-backup": {
      "protocol": "openai_compatible",
      "upstream": "https://compatible.example.net",
      "credential_ref": "compatible-backup",
      "max_inflight_per_node": 32,
      "enabled": true
    },
    "anthropic-primary": {
      "protocol": "anthropic_messages",
      "upstream": "https://api.anthropic.com",
      "credential_ref": "anthropic-primary",
      "max_inflight_per_node": 64,
      "enabled": true
    }
  },
  "models": {
    "chat-fast": {
      "protocol": "openai_compatible",
      "enabled": true,
      "targets": [
        {
          "backend": "openai-primary",
          "model": "gpt-4o-mini",
          "weight": 100,
          "supports_stream": true,
          "supports_tools": true,
          "supports_json_schema": true
        },
        {
          "backend": "compatible-backup",
          "model": "vendor-chat-fast",
          "weight": 100,
          "supports_stream": true,
          "supports_tools": false,
          "supports_json_schema": false
        }
      ]
    },
    "claude-fast": {
      "protocol": "anthropic_messages",
      "enabled": true,
      "targets": [
        {
          "backend": "anthropic-primary",
          "model": "claude-3-5-haiku-latest",
          "weight": 100,
          "supports_stream": true,
          "supports_tools": true,
          "supports_json_schema": true
        }
      ]
    }
  }
}
