Skip to content
HALOWERK

Language Model Access

inference batch cache crossover

AI model pricing finds the minimum cached share at which interactive inference costs no more than uncached batch mode. Use it when an agent needs a break-even decision for a repeated prompt.

POST https://modell.halowerk.com/v1/inference-batch-cache-crossover

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
modelstringYes
input_tokensintegerYes
output_tokensintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "maxLength": 150,
      "minLength": 1
    },
    "input_tokens": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000
    },
    "output_tokens": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000
    }
  },
  "required": [
    "model",
    "input_tokens",
    "output_tokens"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "model": "gpt-4o-mini",
  "input_tokens": 12000,
  "output_tokens": 400
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’