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-crossoverInputs
| Field | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | |
| input_tokens | integer | Yes | |
| output_tokens | integer | Yes |
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
}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
- Language Model Access0.003 USDC
chat completions
POSThttps://modell.halowerk.com/v1/chat-completionsAI chat completions API - pay per request with USDC on Base. OpenAI-style messages in, choices and usage out. Runs openai/gpt-oss-20b via Groq Cloud; messages are sent to Groq Inc., USA, payment metadata is not forwarded. At most 8 messages
- Language Model Access0.002 USDC
context plan
POSThttps://modell.halowerk.com/v1/context-planWorks out how to split a document across a model context window: how many chunks, where the cuts fall, how much overlap, and what it will cost. Returns a deterministic JSON result computed only from the supplied input, without external data
- Language Model Access0.002 USDC
cost estimate
POSThttps://modell.halowerk.com/v1/cost-estimateEstimates token use and price for a prompt across several models before you spend anything, including cache and batch discounts. Returns a deterministic JSON result computed only from the supplied input, without external data lookups. Works