NetIntel · Openai GPT 4O

by NetIntel

POSTBaseSolana

$0.1

per call · USD Coin on Base

Call OpenAI's gpt-4o via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.10 per request in USDC. Standard OpenAI chat.completions shape. EVERY call is bounded by a 16000-token combined input budget (real tokenizer) plus the 48000-char cap; output 2048. Vision: up to 4 https image_url parts (detail low/high/auto). Search terms: OpenAI, gpt-4o, vision, image input, chat completion, LLM, no API key.

Endpoint

POST https://netintel.dev/openai/gpt-4o

98

Calls / 30d

2

Unique payers / 30d

Sep 8

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://netintel.dev/openai/gpt-4o", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "max_tokens": 16,
    "messages": [
      {
        "content": "Say hi in one word.",
        "role": "user"
      }
    ]
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://netintel.dev/openai/gpt-4o" \
  -H "Content-Type: application/json" \
  -d '{"max_tokens":16,"messages":[{"content":"Say hi in one word.","role":"user"}]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

Payment details

Pay to0xdadc335482ad545296fd7b28518a251ffcbeb9df
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

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

Get featured →

More from NetIntel & similar services