78trust / 100

Llm O1

by x402engine.app in AI models & inference

x402 APIPassing, checked 1 h ago

x402engine — OpenAI's reasoning model — excels at math, science, coding, and multi-step problem solving

POST https://x402engine.app/api/llm/o1

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
288 ms typical, 443 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402engine.app/api/llm/o1" \
  -H "content-type: application/json" \
  -d '{"max_tokens":1024,"messages":[{"content":"Hello","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%2Fx402engine.app%2Fapi%2Fllm%2Fo1
const res = await pay("https://x402engine.app/api/llm/o1", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"max_tokens":1024,"messages":[{"content":"Hello","role":"user"}]}),
});
console.log(await res.json());

Example input

{
  "max_tokens": 1024,
  "messages": [
    {
      "content": "Hello",
      "role": "user"
    }
  ]
}

Example output

{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "message": {
        "content": "Hello!",
        "role": "assistant"
      }
    }
  ],
  "content": "Hello!",
  "model": "openai/o1"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402480 ms$0.198
5 h agoPassed402315 ms$0.198
9 h agoPassed402272 ms$0.198
13 h agoPassed402443 ms$0.198
16 h agoPassed402199 ms$0.198
19 h agoPassed402356 ms$0.198
23 h agoPassed402263 ms$0.198
26 h agoPassed402189 ms$0.198
30 h agoPassed402324 ms$0.198
34 h agoPassed402325 ms$0.198
37 h agoPassed402288 ms$0.198
47 h agoPassed402183 ms$0.198