R

Redbtco · Chat 5 4 Mini

by Redbtco

POSTBase

$0.001

per call · USD Coin on Base

Cheapest RedBTC agent chat route. Fixed gpt-5.4-mini, no API key, USDC per call, hard capped for safe autonomous use.

Endpoint

POST https://redbtco.com/x402/redbtc/chat/5.4-mini

1

Calls / 30d

1

Unique payers / 30d

Aug 20

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://redbtco.com/x402/redbtc/chat/5.4-mini", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "max_tokens": 80,
    "messages": [
      {
        "content": "Reply with one short sentence about Bitcoin.",
        "role": "user"
      }
    ],
    "model": "redbtc/gpt-5.4-mini",
    "temperature": 0.2
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://redbtco.com/x402/redbtc/chat/5.4-mini" \
  -H "Content-Type: application/json" \
  -d '{"max_tokens":80,"messages":[{"content":"Reply with one short sentence about Bitcoin.","role":"user"}],"model":"redbtc/gpt-5.4-mini","temperature":0.2}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "message": {
        "content": "Bitcoin is a decentralized digital currency.",
        "role": "assistant"
      }
    }
  ],
  "id": "chatcmpl-redbtc-example",
  "model": "redbtc/gpt-5.4-mini",
  "object": "chat.completion",
  "price": "$0.001",
  "usage": {
    "completion_tokens": 8,
    "prompt_tokens": 12,
    "total_tokens": 20
  }
}

Payment details

Pay to0x046a26665429a12448316a3029a2f2ccf8eecd12
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Redbtco & similar services