# u-kiyo GPU Block Purchase

> u-kiyo GPU Block Purchase is a paid API for AI agents from pay.u-kiyo.ai, paid per call via x402, $5/call, status unknown (last checked 2026-10-29).

Purchase a prepaid GPU compute block without prior signup using x402 or MPP payment, returning an access token for bounded interactive GPU execution.

## Facts

- Endpoint: POST https://pay.u-kiyo.ai/api/machine/gpu-blocks?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/u-kiyo-gpu-block-purchase-b550c031
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5P9v_LfCBwpBtcS2sp4aE

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 u-kiyo-gpu-block-purchase-b550c031 -d '<json body>'
```

Example prompt: Purchase a gpu-block for me on u-kiyo using Base payment, run this Python training snippet for up to 300 seconds with a max spend of 1000 minor units and a 512KB output cap — here's my P-256 recovery key: {x: '...', y: '...', crv: 'P-256', kty: 'EC'}.

## When to prefer this

Choose this endpoint when you need a single bounded GPU compute session on-demand without any account registration, and you can pay via x402 or MPP (Base, Solana, or Tempo). It is especially suited for agentic pipelines that need verifiable GPU execution with a crypto-native payment flow and a recovery key for key management, where the compute duration and output size must be strictly bounded.

## Known failure modes

- Payment rejected or insufficient funds — x402 or MPP payment fails, returning a payment-required error
- Invalid recovery key format — EC P-256 key coordinates malformed or wrong length
- Terms or privacy acceptance not provided or hash mismatch — request rejected with validation error
- Duration or output byte limits out of allowed range — 400 validation error
- Offer ID not found or expired — UUID references unavailable offer
- Max price too low to cover actual cost — provisioning refused

## How this service works

Purchase a prepaid GPU block without prior signup. Use for bounded interactive compute; standard x402 or MPP payment and a recovery public key are required.

## Output

A JSON object containing the provisioning state (e.g. 'PROVISIONING'), a purchase ID (SHA-256 based), and a purchase-scoped access token for interacting with the allocated GPU block.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "kind": {
   "enum": [
    "gpu-block",
    "gpu-job"
   ],
   "type": "string"
  },
  "method": {
   "enum": [
    "base",
    "solana",
    "tempo"
   ],
   "type": "string"
  },
  "source": {
   "enum": [
    "organic",
    "campaign"
   ],
   "type": "string",
   "default": "organic"
  },
  "command": {
   "type": "string",
   "maxLength": 16384,
   "minLength": 1
  },
  "offerId": {
   "type": "string",
   "format": "uuid",
   "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  },
  "requestId": {
   "type": "string",
   "maxLength": 128,
   "minLength": 1
  },
  "storageGb": {
   "type": "number",
   "const": 50
  },
  "recoveryKey": {
   "type": "object",
   "required": [
    "kty",
    "crv",
    "x",
    "y"
   ],
   "properties": {
    "x": {
     "type": "string",
     "pattern": "^[A-Za-z0-9_-]{43}$"
    },
    "y": {
     "type": "string",
     "pattern": "^[A-Za-z0-9_-]{43}$"
    },
    "crv": {
     "type": "string",
     "const": "P-256"
    },
    "kty": {
     "type": "string",
     "const": "EC"
    }
   },
   "additionalProperties": false
  },
  "maxPriceMinor": {
   "type": "integer",
   "maximum": 50000,
   "minimum": 500
  },
  "maxOutputBytes": {
   "type": "integer",
   "maximum": 1048576,
   "minimum": 1
  },
  "durationSeconds": {
   "type": "integer",
   "maximum": 86400,
   "minimum": 60
  },
  "termsAcceptance": {
   "type": "object",
   "required": [
    "accepted",
    "version",
    "sha256"
   ],
   "properties": {
    "sha256": {
     "type": "string",
     "pattern": "^[a-f0-9]{64}$"
    },
    "version": {
     "type": "string",
     "minLength": 1
    },
    "accepted": {
     "type": "boolean",
     "const": true
    }
   },
   "additionalProperties": false
  },
  "privacyAcceptance": {
   "type": "object",
   "required": [
    "accepted",
    "version",
    "sha256"
   ],
   "properties": {
    "sha256": {
     "type": "string",
     "pattern": "^[a-f0-9]{64}$"
    },
    "version": {
     "type": "string",
     "minLength": 1
    },
    "accepted": {
     "type": "boolean",
     "const": true
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "state": "PROVISIONING",
  "purchaseId": "sha256",
  "accessToken": "purchase-scoped"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/u-kiyo-gpu-block-purchase-b550c031/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pay.u-kiyo.ai](https://www.zero.xyz/host/pay.u-kiyo.ai/llms.txt)
