netintel_v1_chat_completions
Send chat completion requests to an OpenAI-compatible API and pay per call in USDC via x402, with no API key needed. The model you specify sets the price.
Instructions
OpenAI-compatible chat completions gateway (POST /v1/chat/completions shape). The model in the body sets the price: POST unpaid and the 402 quotes that model's exact price in USDC via x402 — no OpenAI account or API key. A model the gateway does not serve returns a 400 naming its dedicated endpoint; where per-model pricing is on it serves those too, each at its configured price. This client pays accepted challenges automatically — this text is not a spending cap. GET /v1/models (free) is the live catalogue. Supports response_format {type:"json_object"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| messages | Yes | ||
| max_tokens | No | ||
| response_format | No |