{
  "x402Version": 2,
  "id": 31291,
  "slug": "31291",
  "resource": "https://mechamanda.com/api/upto/complete/testnet",
  "description": "Mock LLM completion (testnet). Authorizes up to $0.02; settlement charges $0.0001 per output token via Settlement-Overrides.",
  "type": "http",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "upto",
      "network": "eip155:84532",
      "payTo": "0xbAd1Aa224bFe4fEb460E12b2553DcDf98a7098d0",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "completion": {
            "type": "string"
          },
          "usage": {
            "properties": {
              "actualChargedAtomic": {
                "type": "string"
              },
              "maxAuthorizedAtomic": {
                "type": "string"
              },
              "maxOutputTokens": {
                "type": "number"
              },
              "outputTokens": {
                "type": "number"
              },
              "pricePerOutputTokenAtomic": {
                "type": "string"
              },
              "promptChars": {
                "type": "number"
              }
            },
            "required": [
              "promptChars",
              "outputTokens",
              "maxOutputTokens",
              "pricePerOutputTokenAtomic",
              "maxAuthorizedAtomic",
              "actualChargedAtomic"
            ],
            "type": "object"
          }
        },
        "required": [
          "completion",
          "usage"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {},
          "queryParams": {
            "maxTokens": "200",
            "prompt": "hello world"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "completion": "lorem ipsum dolor sit amet",
            "usage": {
              "actualChargedAtomic": "500",
              "maxAuthorizedAtomic": "20000",
              "maxOutputTokens": 200,
              "outputTokens": 5,
              "pricePerOutputTokenAtomic": "100",
              "promptChars": 11
            }
          },
          "type": "json"
        }
      },
      "routeTemplate": ":var1",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "pathParams": {
                "type": "object"
              },
              "queryParams": {
                "properties": {
                  "maxTokens": {
                    "description": "Maximum output tokens to authorize (1..200, default 200).",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Input prompt to complete (max 2048 chars).",
                    "type": "string"
                  }
                },
                "required": [
                  "prompt"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "completion": {
                    "type": "string"
                  },
                  "usage": {
                    "properties": {
                      "actualChargedAtomic": {
                        "type": "string"
                      },
                      "maxAuthorizedAtomic": {
                        "type": "string"
                      },
                      "maxOutputTokens": {
                        "type": "number"
                      },
                      "outputTokens": {
                        "type": "number"
                      },
                      "pricePerOutputTokenAtomic": {
                        "type": "string"
                      },
                      "promptChars": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "promptChars",
                      "outputTokens",
                      "maxOutputTokens",
                      "pricePerOutputTokenAtomic",
                      "maxAuthorizedAtomic",
                      "actualChargedAtomic"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "completion",
                  "usage"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {
      "info": {
        "description": "The facilitator accepts EIP-2612 gasless Permit to `Permit2` canonical contract.",
        "version": "1"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "amount": {
            "description": "The amount to approve (uint256). Typically MaxUint.",
            "pattern": "^[0-9]+$",
            "type": "string"
          },
          "asset": {
            "description": "The address of the ERC-20 token contract.",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "deadline": {
            "description": "The timestamp at which the signature expires.",
            "pattern": "^[0-9]+$",
            "type": "string"
          },
          "from": {
            "description": "The address of the sender.",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "nonce": {
            "description": "The current nonce of the sender.",
            "pattern": "^[0-9]+$",
            "type": "string"
          },
          "signature": {
            "description": "The 65-byte concatenated signature (r, s, v) as a hex string.",
            "pattern": "^0x[a-fA-F0-9]+$",
            "type": "string"
          },
          "spender": {
            "description": "The address of the spender (Canonical Permit2).",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "version": {
            "description": "Schema version identifier.",
            "pattern": "^[0-9]+(\\.[0-9]+)*$",
            "type": "string"
          }
        },
        "required": [
          "from",
          "asset",
          "spender",
          "amount",
          "nonce",
          "deadline",
          "signature",
          "version"
        ],
        "type": "object"
      }
    },
    "erc20ApprovalGasSponsoring": {
      "info": {
        "description": "The facilitator broadcasts a pre-signed ERC-20 approve() transaction to grant Permit2 allowance.",
        "version": "1"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "amount": {
            "description": "The amount approved (uint256). Always MaxUint256.",
            "pattern": "^[0-9]+$",
            "type": "string"
          },
          "asset": {
            "description": "The address of the ERC-20 token contract.",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "from": {
            "description": "The address of the sender (token owner).",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "signedTransaction": {
            "description": "The RLP-encoded signed EIP-1559 transaction as a hex string.",
            "pattern": "^0x[a-fA-F0-9]+$",
            "type": "string"
          },
          "spender": {
            "description": "The address of the spender (Canonical Permit2).",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "version": {
            "description": "Schema version identifier.",
            "pattern": "^[0-9]+(\\.[0-9]+)*$",
            "type": "string"
          }
        },
        "required": [
          "from",
          "asset",
          "spender",
          "amount",
          "signedTransaction",
          "version"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "mechamanda.com",
  "lastUpdated": "2026-09-21T13:33:56.489Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-21T13:33:56.236Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "pathParams": {},
            "queryParams": {
              "maxTokens": "200",
              "prompt": "hello world"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "completion": "lorem ipsum dolor sit amet",
              "usage": {
                "actualChargedAtomic": "500",
                "maxAuthorizedAtomic": "20000",
                "maxOutputTokens": 200,
                "outputTokens": 5,
                "pricePerOutputTokenAtomic": "100",
                "promptChars": 11
              }
            },
            "type": "json"
          }
        },
        "routeTemplate": ":var1",
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "pathParams": {
                  "type": "object"
                },
                "queryParams": {
                  "properties": {
                    "maxTokens": {
                      "description": "Maximum output tokens to authorize (1..200, default 200).",
                      "type": "string"
                    },
                    "prompt": {
                      "description": "Input prompt to complete (max 2048 chars).",
                      "type": "string"
                    }
                  },
                  "required": [
                    "prompt"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "completion": {
                      "type": "string"
                    },
                    "usage": {
                      "properties": {
                        "actualChargedAtomic": {
                          "type": "string"
                        },
                        "maxAuthorizedAtomic": {
                          "type": "string"
                        },
                        "maxOutputTokens": {
                          "type": "number"
                        },
                        "outputTokens": {
                          "type": "number"
                        },
                        "pricePerOutputTokenAtomic": {
                          "type": "string"
                        },
                        "promptChars": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "promptChars",
                        "outputTokens",
                        "maxOutputTokens",
                        "pricePerOutputTokenAtomic",
                        "maxAuthorizedAtomic",
                        "actualChargedAtomic"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "completion",
                    "usage"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "eip2612GasSponsoring": {
        "info": {
          "description": "The facilitator accepts EIP-2612 gasless Permit to `Permit2` canonical contract.",
          "version": "1"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "amount": {
              "description": "The amount to approve (uint256). Typically MaxUint.",
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "asset": {
              "description": "The address of the ERC-20 token contract.",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "deadline": {
              "description": "The timestamp at which the signature expires.",
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "from": {
              "description": "The address of the sender.",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "nonce": {
              "description": "The current nonce of the sender.",
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "signature": {
              "description": "The 65-byte concatenated signature (r, s, v) as a hex string.",
              "pattern": "^0x[a-fA-F0-9]+$",
              "type": "string"
            },
            "spender": {
              "description": "The address of the spender (Canonical Permit2).",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "version": {
              "description": "Schema version identifier.",
              "pattern": "^[0-9]+(\\.[0-9]+)*$",
              "type": "string"
            }
          },
          "required": [
            "from",
            "asset",
            "spender",
            "amount",
            "nonce",
            "deadline",
            "signature",
            "version"
          ],
          "type": "object"
        }
      },
      "erc20ApprovalGasSponsoring": {
        "info": {
          "description": "The facilitator broadcasts a pre-signed ERC-20 approve() transaction to grant Permit2 allowance.",
          "version": "1"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "amount": {
              "description": "The amount approved (uint256). Always MaxUint256.",
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "asset": {
              "description": "The address of the ERC-20 token contract.",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "from": {
              "description": "The address of the sender (token owner).",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "signedTransaction": {
              "description": "The RLP-encoded signed EIP-1559 transaction as a hex string.",
              "pattern": "^0x[a-fA-F0-9]+$",
              "type": "string"
            },
            "spender": {
              "description": "The address of the spender (Canonical Permit2).",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "version": {
              "description": "Schema version identifier.",
              "pattern": "^[0-9]+(\\.[0-9]+)*$",
              "type": "string"
            }
          },
          "required": [
            "from",
            "asset",
            "spender",
            "amount",
            "signedTransaction",
            "version"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mechamanda.com",
    "manifest_name": "mechamanda.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "completion": "lorem ipsum dolor sit amet",
    "usage": {
      "actualChargedAtomic": "500",
      "maxAuthorizedAtomic": "20000",
      "maxOutputTokens": 200,
      "outputTokens": 5,
      "pricePerOutputTokenAtomic": "100",
      "promptChars": 11
    }
  }
}