{
  "format": "delx/intent-card/v1",
  "id": "token-budget-split-api",
  "intent": "Token Budget Split for an agent workflow",
  "title": "Token Budget Split API for agents",
  "description": "Split a model token budget into system, output reserve, and available input — call when reserving system and output tokens from a context window. Use for SRE/ops math agents buy from broad utility catalogs: SLA, error budget, success rate, and health scores with zero upstream cost. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are advisory; the caller owns authorization and production controls.",
  "keywords": [
    "Token Budget Split API",
    "Token Budget Split for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/token-budget-split-api",
  "machine_url": "https://commerce.delx.ai/intents/token-budget-split-api.json",
  "recommendation": {
    "tool_name": "util_token_budget_split",
    "service_name": "Delx Token Budget Split",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/token-budget-split",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "total_tokens": {
          "description": "Model context window size in tokens.",
          "type": "number"
        },
        "system_tokens": {
          "description": "Tokens already reserved for system/instructions.",
          "type": "number"
        },
        "reserved_output_tokens": {
          "description": "Tokens reserved for model output.",
          "type": "number"
        }
      },
      "required": [
        "total_tokens"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "total_tokens": 8000,
      "system_tokens": 500,
      "reserved_output_tokens": 1000
    },
    "example_output": {
      "schema": "delx/util-token-budget-split/v1",
      "total_tokens": 8000,
      "system_tokens": 500,
      "reserved_output_tokens": 1000,
      "available_input_tokens": 6500,
      "feasible": true
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/token-budget-split -m POST -H 'x-delx-source: intent-card-token-budget-split-api' --max-amount 0.003 -b '{\"total_tokens\":8000,\"system_tokens\":500,\"reserved_output_tokens\":1000}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-token-budget-split-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/token-budget-split"
  }
}
