80trust / 100

Openai Gpt 5 4 Mini

by NetIntel in AI models & inference

x402 APIPassing, checked 17 min ago

Call OpenAI's gpt-5.4-mini via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.04 per request in USDC. Standard OpenAI chat.completions request/response shape, capped input and output.

POST https://netintel.dev/openai/gpt-5-4-mini

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
256 ms typical, 316 ms slowest 5%
Last check
17 min ago
Next check
in 15 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://netintel.dev/openai/gpt-5-4-mini" \
  -H "content-type: application/json" \
  -d '{"max_completion_tokens":16,"messages":[{"content":"Say hi in one word.","role":"user"}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnetintel.dev%2Fopenai%2Fgpt-5-4-mini
const res = await pay("https://netintel.dev/openai/gpt-5-4-mini", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"max_completion_tokens":16,"messages":[{"content":"Say hi in one word.","role":"user"}]}),
});
console.log(await res.json());

Example input

{
  "max_completion_tokens": 16,
  "messages": [
    {
      "content": "Say hi in one word.",
      "role": "user"
    }
  ]
}

Example output

{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "message": {
        "content": "Hi!",
        "role": "assistant"
      }
    }
  ],
  "created": 1735689600,
  "id": "chatcmpl-abc123",
  "model": "gpt-5.4-mini",
  "object": "chat.completion",
  "usage": {
    "completion_tokens": 2,
    "prompt_tokens": 11,
    "total_tokens": 13
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
17 min agoPassed402288 ms$0.04
4 h agoPassed402181 ms$0.04
8 h agoPassed402259 ms$0.04
11 h agoPassed402316 ms$0.04
15 h agoPassed402190 ms$0.04
18 h agoPassed402256 ms$0.04
23 h agoPassed402281 ms$0.04
26 h agoPassed402178 ms$0.04
29 h agoPassed402339 ms$0.04
34 h agoPassed402179 ms$0.04