{
  "x402Version": 2,
  "id": 229,
  "slug": "229",
  "resource": "https://cheaptokens.ai/api/buy",
  "description": "OpenAI-compatible LLM inference and chat completions via discounted Venice API credits. Pay USDC to receive a live Venice.ai API key for /api/v1 models, chat, images, audio, video, and embeddings. Same-Day credits are 30–90% below Venice direct and expire at 23:59 UTC; Prepaid API Keys support recurring agent jobs.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x213c8d7434E2ae7AA1C392767c5120778D413215",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "Inference",
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "usdPaid": 1
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "purchase": {
              "creditsIssuedUsd": 2,
              "dates": [
                "2026-04-25"
              ],
              "discountMultiplier": 0.5,
              "expiresAt": "2026-04-25T23:59:59.000Z",
              "id": "purchase_01HEXAMPLE",
              "ids": [
                "purchase_01HEXAMPLE"
              ],
              "purchaseMode": "spot",
              "settlementTxHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
              "usdPaid": 1
            },
            "success": true,
            "veniceApiKey": "vn-...live-key...",
            "veniceKeyLast6": "abc123"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "dailyReservedUsd": {
                    "description": "Daily credit reserve amount in Venice API credits per UTC day. Required when purchaseMode=\"prepaid\". Must fit unreserved capacity for the start date and be at least one-seventh of the reserve balance.",
                    "type": "number"
                  },
                  "paymentSessionId": {
                    "description": "Opaque session ID returned in a prior 402 response; echo it back on retry.",
                    "type": "string"
                  },
                  "purchaseMode": {
                    "description": "Use \"spot\" for Same-Day Credits or \"prepaid\" for a Prepaid API Key with prepaid balance and daily credit reserve.",
                    "enum": [
                      "spot",
                      "prepaid"
                    ],
                    "type": "string"
                  },
                  "reserveStart": {
                    "description": "Prepaid API Key daily credit reserve start. New Prepaid API Keys start tomorrow UTC; use Same-Day Credits for work today.",
                    "enum": [
                      "tomorrow"
                    ],
                    "type": "string"
                  },
                  "topUpKeyLast6": {
                    "description": "Optional last 6 characters of a wallet-owned active Prepaid API Key to top up.",
                    "type": "string"
                  },
                  "usdPaid": {
                    "description": "Discounted USD amount to pay for Venice API credits. Minimum is based on receiving at least $0.50 in credits after current time-based pricing.",
                    "minimum": 0.01,
                    "type": "number"
                  }
                },
                "required": [
                  "usdPaid"
                ],
                "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"
      },
      "tags": [
        "inference",
        "llm",
        "openai",
        "chat-completions",
        "ai"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "cheaptokens.ai",
  "lastUpdated": "2026-09-18T21:47:07.581Z",
  "quality": {
    "calls30d": 323,
    "uniquePayers30d": 27,
    "lastCalledAt": "2026-09-18T18:49:06.723Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "cheaptokens.ai",
    "manifest_name": "cheaptokens.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}