# GameDataKit Token Cost Estimator

> GameDataKit Token Cost Estimator is a paid API for AI agents from api.borisinc.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Estimates LLM token counts and costs for a given HTTP request, returning per-model USD pricing breakdowns

## Facts

- Endpoint: GET https://api.borisinc.com/paid/util/tokencost
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gamedatakit-token-cost-estimator-b8b00104
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y6sqdHiEqoNvV2twMnZOA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gamedatakit-token-cost-estimator-b8b00104
```

Example prompt: Can you estimate how many tokens and what it would cost across models like Claude Sonnet to make a GET request to this endpoint?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call token and cost estimate for a specific HTTP request without setting up an account or API key. Prefer it over manual token counting or static pricing tables when you want live, per-model USD cost estimates at call time.

## Known failure modes

- Missing required 'input' field returns a validation error
- Unsupported HTTP method (POST, PUT, PATCH) returns a 422 or 400 error
- Payment not provided or insufficient triggers 402 Payment Required
- Malformed query parameters may result in empty or incorrect estimates

## How this service works

Live Steam best-sellers, deals, per-app detail and IGDB metadata, Twitch hype scores, and agent utilities for verification and extraction. From $0.001 a call, free samples on every endpoint, auth-then-capture. MCP and HTTP.

## Output

Returns a JSON object with the estimation date, a token estimate for the request, and an array of per-model cost breakdowns including model name, total USD cost, input price per 1M tokens, and output price per 1M tokens.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-07",
  "estimates": [
   {
    "model": "claude-sonnet",
    "total_usd": 0.066,
    "input_per_1m_usd": 3,
    "output_per_1m_usd": 15
   }
  ],
  "tokens_est": 12000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gamedatakit-token-cost-estimator-b8b00104/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.borisinc.com](https://www.zero.xyz/host/api.borisinc.com/llms.txt)
