81trust / 100

Chat Completions

by OpenAI gpt-6.1-sol and more in AI models & inference

x402 APIPassing, checked 47 min ago

gpt-6.1-sol (OpenAI's newest model) and 25 more OpenAI chat models (gpt-6, gpt-5.x, gpt-4.1, gpt-4o, o-series), paid per call in USDC. OpenAI token rates on Flex (half price, may answer 429; default where offered), Standard (service_tier default) or Fast (fast), plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. One endpoint per model: /x402/v1/models/<key>/chat/completions. Rates: https://openai.mm.family/x402/pricing

POST https://openai.mm.family/x402/v1/chat/completions

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
33 ms typical, 33 ms slowest 5%
Last check
47 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://openai.mm.family/x402/v1/chat/completions" \
  -H "content-type: application/json" \
  -d '{"max_tokens":128,"messages":[{"content":"Hello","role":"user"}],"model":"gpt-6-sol"}'
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%2Fopenai.mm.family%2Fx402%2Fv1%2Fchat%2Fcompletions
const res = await pay("https://openai.mm.family/x402/v1/chat/completions", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"max_tokens":128,"messages":[{"content":"Hello","role":"user"}],"model":"gpt-6-sol"}),
});
console.log(await res.json());

Example input

{
  "max_tokens": 128,
  "messages": [
    {
      "content": "Hello",
      "role": "user"
    }
  ],
  "model": "gpt-6-sol"
}

Example output

{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "message": {
        "content": "Hello",
        "refusal": null,
        "role": "assistant"
      }
    }
  ],
  "id": "chatcmpl-x",
  "model": "gpt-6-sol",
  "object": "chat.completion",
  "service_tier": "flex",
  "usage": {
    "completion_tokens": 1,
    "prompt_tokens": 8,
    "total_tokens": 9
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
47 min agoPassed402115 ms$0.001
6 h agoPassed40233 ms$0.001