token4u_chat
Chat with AI models using per-call micropayments in USDC on Base, authorized from your local wallet via x402.
Instructions
Chat with AI models via token4u using x402 micropayments (USDC on Base). Each call is priced per-model and paid via an EIP-3009 authorization from your local wallet. Requires a wallet — run token4u_wallet action=create first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | token4u model name (e.g. deepseek-v3) | |
| messages | Yes | ||
| max_tokens | No | Maximum tokens in the response | |
| temperature | No | Sampling temperature (0-2) |