Zum Inhalt
HALOWERK

Modellwerk

model router

Scores every catalogue model against one task and returns a ranked shortlist. You state the task kind, optionally a per-call budget in USD, how much speed matters, the input size and any vendor restriction; the answer names a model, the estimated cost per call, and the sub-scores it was chosen on, so the ranking can be checked rather than trusted. Models that cannot hold the input are excluded and listed separately with the reason. Weights are yours to set and are echoed back.

POST https://modell.halowerk.com/v1/model-router

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
taskstringJaWhat the model has to do.
budget_usd_per_callnumberNeinCeiling per call. Models above it are excluded.
speed_prioritystringNeinHow much latency matters.
input_tokensintegerNeinExpected input size in tokens.
input_textstringNeinSample input. Used to estimate input_tokens if that is not given.
output_tokensintegerNeinExpected output length. Defaults to a value typical for the task.
allowed_vendorsarrayNeinRestrict to these vendors, e.g. for a data-residency or procurement rule.
excluded_vendorsarrayNeinExclude these vendors.
require_tagsarrayNeinCapabilities the model must carry, e.g. vision.
weightsobjectNeinWeighting of cost, capability and speed. Normalised to sum 1.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "task"
  ],
  "additionalProperties": false,
  "properties": {
    "task": {
      "type": "string",
      "enum": [
        "classification",
        "extraction",
        "summarization",
        "translation",
        "chat",
        "coding",
        "agent",
        "reasoning",
        "research",
        "vision",
        "long_context"
      ],
      "description": "What the model has to do."
    },
    "budget_usd_per_call": {
      "type": "number",
      "minimum": 0,
      "description": "Ceiling per call. Models above it are excluded."
    },
    "speed_priority": {
      "type": "string",
      "enum": [
        "low",
        "normal",
        "high"
      ],
      "default": "normal",
      "description": "How much latency matters."
    },
    "input_tokens": {
      "type": "integer",
      "minimum": 0,
      "default": 2000,
      "description": "Expected input size in tokens."
    },
    "input_text": {
      "type": "string",
      "maxLength": 100000,
      "description": "Sample input. Used to estimate input_tokens if that is not given."
    },
    "output_tokens": {
      "type": "integer",
      "minimum": 0,
      "description": "Expected output length. Defaults to a value typical for the task."
    },
    "allowed_vendors": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Restrict to these vendors, e.g. for a data-residency or procurement rule."
    },
    "excluded_vendors": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Exclude these vendors."
    },
    "require_tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Capabilities the model must carry, e.g. vision."
    },
    "weights": {
      "type": "object",
      "additionalProperties": false,
      "description": "Weighting of cost, capability and speed. Normalised to sum 1.",
      "properties": {
        "cost": {
          "type": "number",
          "minimum": 0,
          "default": 0.4
        },
        "capability": {
          "type": "number",
          "minimum": 0,
          "default": 0.4
        },
        "speed": {
          "type": "number",
          "minimum": 0,
          "default": 0.2
        }
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "task": "classification",
  "speed_priority": "normal",
  "input_tokens": 2000
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://modell.halowerk.com/v1/model-router/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 20:49 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →