80trust / 100
Chat
by SiteCheck in AI models & inference
x402 APIPassing, checked 46 min ago
LLM chat completion with Llama 3.3 70B (fast): send messages or a prompt, up to 2048 output tokens.
POST https://api.sitecheck-api.workers.dev/api/chat
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 36 ms typical, 36 ms slowest 5%
- Last check
- 46 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.sitecheck-api.workers.dev/api/chat" \
-H "content-type: application/json" \
-d '{"max_tokens":256,"prompt":"Summarize the benefits of x402 in two sentences."}'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%2Fapi.sitecheck-api.workers.dev%2Fapi%2Fchat
const res = await pay("https://api.sitecheck-api.workers.dev/api/chat", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_tokens":256,"prompt":"Summarize the benefits of x402 in two sentences."}),
});
console.log(await res.json());Example input
{
"max_tokens": 256,
"prompt": "Summarize the benefits of x402 in two sentences."
}Example output
{
"model": "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
"response": "x402 lets agents pay per request...",
"usage": {
"completion_tokens": 40,
"prompt_tokens": 20
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 46 min ago | Passed | 402 | 50 ms | $0.004 |
| 6 h ago | Passed | 402 | 36 ms | $0.004 |