ToolAssay

Break an agent run down into cost and latency per step, model and tool from toke

Break an agent run down into cost and latency per step, model and tool from token counts and the prices you supply. Takes the steps of one agent run (model, input, cached and output tokens, latency, tool) and the price list in USD per million tokens supplied by the caller (no stale built-in prices) and returns cost per step, totals, cost and time share per model and tool, the five most expensive and slowest steps, and steps whose model has no price.

Answeringour last check, 2026-11-26
3 of 3checks answered this week
905 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://denk.halowerk.com/v1/trace-cost-breakdown

CategoryMarket data
Provider hostdenk.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.002 985 ms
2026-11-25 valid payment request 402$0.002 905 ms
2026-11-24 valid payment request 402$0.002 904 ms

Example input (from the provider)

{
  "body": {
    "prices": {
      "model-a": {
        "cached_input": 0.3,
        "input": 3,
        "output": 15
      }
    },
    "steps": [
      {
        "input_tokens": 12000,
        "latency_ms": 2100,
        "model": "model-a",
        "name": "plan",
        "output_tokens": 800
      },
      {
        "cached_input_tokens": 10000,
        "extra_cost_usd": 0.003,
        "input_tokens": 30000,
        "latency_ms": 4300,
        "model": "model-a",
        "name": "search",
        "output_tokens": 500,
        "tool": "web_search"
      }
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "prices": {
              "additionalProperties": {
                "additionalProperties": false,
                "properties": {
                  "cached_input": {
                    "minimum": 0,
                    "type": "number"
                  },
                  "input": {
                    "minimum": 0,
                    "type": "number"
                  },
                  "output": {
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [
                  "input",
                  "output"
                ],
                "type": "object"
              },
              "type": "object"
            },
            "steps": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "cached_input_tokens": {
                    "default": 0,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "extra_cost_usd": {
                    "default": 0,
                    "minimum": 0,
                    "type": "number"
                  },
                  "input_tokens": {
                    "default": 0,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "latency_ms": {
                    "default": 0,
                    "minimum": 0,
                    "type": "number"
                  },
                  "model": {
                    "maxLength": 100,
                    "type": "string"
                  },
                  "name": {
                    "maxLength": 200,
                    "type": "string"
                  },
                  "output_tokens": {
                    "default": 0,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "tool": {
                    "maxLength": 100,
                    "type": "string"
                  }
                },
                "required": [
                  "model"
                ],
                "type": "object"
              },
              "maxItems": 5000,
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "steps",
            "prices"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON