80trust / 100

Dev Models

by tokenguard in AI models & inference

x402 APIPassing, checked 12 min ago

Search the Hugging Face Hub for models or datasets (downloads, likes, task, library, tags) or fetch one by id

POST https://eltociear-tokenguard.hf.space/dev/models

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
182 ms typical, 334 ms slowest 5%
Last check
12 min ago
Next check
in 18 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://eltociear-tokenguard.hf.space/dev/models" \
  -H "content-type: application/json" \
  -d '{"kind":"models","limit":5,"query":"llama"}'
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%2Feltociear-tokenguard.hf.space%2Fdev%2Fmodels
const res = await pay("https://eltociear-tokenguard.hf.space/dev/models", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"kind":"models","limit":5,"query":"llama"}),
});
console.log(await res.json());

Example input

{
  "kind": "models",
  "limit": 5,
  "query": "llama"
}

Example output

{
  "count": 2,
  "kind": "models",
  "query": "llama",
  "results": [
    {
      "downloads": 1200000,
      "id": "meta-llama/Llama-3-8B",
      "pipeline_tag": "text-generation"
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
12 min agoPassed402117 ms$0.02
4 h agoPassed402182 ms$0.02
7 h agoPassed402184 ms$0.02
11 h agoPassed402288 ms$0.02
15 h agoPassed402334 ms$0.02
18 h agoPassed402328 ms$0.02
23 h agoPassed402336 ms$0.02
26 h agoPassed402114 ms$0.02
29 h agoPassed402182 ms$0.02
34 h agoPassed402114 ms$0.02