{
  "tool_id": "model_selector_finance",
  "slug": "model-selector-finance",
  "path": "/model-selector-finance/",
  "mode": "client_side",
  "usage": "Client-side calculator. Open https://aifinhub.io/model-selector-finance/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aifinhub.io/engines/model-selector-finance.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aifinhub.io/methodology/model-selector-finance/",
  "sample_input": {
    "tool": "model_selector_finance",
    "task": "extract",
    "latency": "sub_5s",
    "cost": "b50",
    "context": "k32_200k",
    "quality": "medium"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "task": {
        "type": "string"
      },
      "latency": {
        "type": "string"
      },
      "cost": {
        "type": "string"
      },
      "context": {
        "type": "string"
      },
      "quality": {
        "type": "string"
      }
    },
    "required": [
      "tool",
      "task",
      "latency",
      "cost",
      "context",
      "quality"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "ranked": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "model": {
              "type": "object"
            },
            "score": {
              "type": "number"
            },
            "rationale": {
              "type": "string"
            },
            "whyNot": {
              "type": "string"
            },
            "axes": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "axis": {
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  },
                  "passed": {
                    "type": "boolean"
                  }
                }
              }
            },
            "monthlyBudgetEstimate": {
              "type": "number"
            },
            "disqualified": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}
