# GPT-5.5 sub2api Balance Ledger Simulator

> GPT-5.5 sub2api Balance Ledger Simulator is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-16).

Calculates GPT-5.5 API usage cost using sub2api pricing and applies the debit to a prepaid balance ledger, returning debit amount, remaining balance, low-balance policy, and idempotency key.

## Facts

- Endpoint: POST https://gpt55.558686.xyz/v1/tools/sub2api-balance-ledger-simulator
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gpt-5-5-sub2api-balance-ledger-simulator-adaf5a46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D2qsWD9vtdLB4B860HX2y

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 gpt-5-5-sub2api-balance-ledger-simulator-adaf5a46 -d '<json body>'
```

Example prompt: Simulate a sub2api GPT-5.5 billing debit for a default-tier request using model 'gpt-5.5', 1200 input tokens, 800 output tokens, 400 cache read tokens, and a current balance of $5.00, with a low-balance threshold of $1.00 — give me the debit, remaining balance, and an exportable ledger JSON.

## When to prefer this

Use this endpoint when you need to simulate or record GPT-5.5 usage billing against a prepaid credit balance using sub2api's official pricing model, especially when building wallet systems, API credit dashboards, or billing reconciliation tools that need idempotent, exportable ledger entries.

## Known failure modes

- Insufficient or negative balance may trigger low-balance policy flags but not necessarily an error
- Invalid model ID returns a pricing lookup failure or default rate fallback
- Malformed token counts (negative integers) fail schema validation
- Missing required fields like balanceUsd or token counts result in 400 bad request
- Rate multiplier of 0 may produce a zero-cost debit that bypasses low-balance logic

## How this service works

GPT-5.6 Luna API Base USDC and OpenAI-compatible x402 chat: one request for $0.00293, paid by browser wallet or a quote-first agent fallback.

## Output

Returns the computed cost debit in USD, the balance remaining after deduction, the low-balance policy status, an idempotency key for the request, and a complete exportable JSON record suitable for wallet or API-credit accounting systems.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tier": {
   "enum": [
    "default",
    "flex",
    "priority"
   ],
   "type": "string"
  },
  "model": {
   "type": "string",
   "maxLength": 80
  },
  "modelId": {
   "type": "string",
   "maxLength": 80
  },
  "model_id": {
   "type": "string",
   "maxLength": 80
  },
  "requestId": {
   "type": "string",
   "maxLength": 160
  },
  "balanceUsd": {
   "type": "number",
   "minimum": 0
  },
  "request_id": {
   "type": "string",
   "maxLength": 160
  },
  "balance_usd": {
   "type": "number",
   "minimum": 0
  },
  "serviceTier": {
   "enum": [
    "default",
    "flex",
    "priority"
   ],
   "type": "string"
  },
  "input_tokens": {
   "type": "integer",
   "minimum": 0
  },
  "promptTokens": {
   "type": "integer",
   "minimum": 0
  },
  "service_tier": {
   "enum": [
    "default",
    "flex",
    "priority"
   ],
   "type": "string"
  },
  "contextTokens": {
   "type": "integer",
   "minimum": 0
  },
  "output_tokens": {
   "type": "integer",
   "minimum": 0
  },
  "prompt_tokens": {
   "type": "integer",
   "minimum": 0
  },
  "context_tokens": {
   "type": "integer",
   "minimum": 0
  },
  "rateMultiplier": {
   "type": "number",
   "minimum": 0
  },
  "cacheReadTokens": {
   "type": "integer",
   "minimum": 0
  },
  "rate_multiplier": {
   "type": "number",
   "minimum": 0
  },
  "completionTokens": {
   "type": "integer",
   "minimum": 0
  },
  "cache_read_tokens": {
   "type": "integer",
   "minimum": 0
  },
  "completion_tokens": {
   "type": "integer",
   "minimum": 0
  },
  "currentBalanceUsd": {
   "type": "number",
   "minimum": 0
  },
  "imageOutputTokens": {
   "type": "integer",
   "minimum": 0
  },
  "minimumBalanceUsd": {
   "type": "number",
   "minimum": 0
  },
  "cacheCreationTokens": {
   "type": "integer",
   "minimum": 0
  },
  "cached_input_tokens": {
   "type": "integer",
   "minimum": 0
  },
  "current_balance_usd": {
   "type": "number",
   "minimum": 0
  },
  "image_output_tokens": {
   "type": "integer",
   "minimum": 0
  },
  "minimum_balance_usd": {
   "type": "number",
   "minimum": 0
  },
  "cache_creation_tokens": {
   "type": "integer",
   "minimum": 0
  },
  "lowBalanceThresholdUsd": {
   "type": "number",
   "minimum": 0
  },
  "low_balance_threshold_usd": {
   "type": "number",
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "sub2apiBalanceLedgerSimulator",
  "summary": "Generated text."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gpt-5-5-sub2api-balance-ledger-simulator-adaf5a46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
