80trust / 100

Embed

by Tanod mlpeek in AI models & inference

x402 APIPassing, checked 5 min ago

mlpeek (Tanod) text embeddings: 384-dim vectors (bge-small-en or multilingual-e5-small). USD 0.0005 per text, at least USD 0.001 per call (1-64 texts per call: USD 0.001-0.032). This call: 1 text.

POST https://tanod.dev/v1/embed

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
272 ms typical, 371 ms slowest 5%
Last check
5 min ago
Next check
in 23 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://tanod.dev/v1/embed" \
  -H "content-type: application/json" \
  -d '{"texts":["What is x402?"]}'
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%2Ftanod.dev%2Fv1%2Fembed
const res = await pay("https://tanod.dev/v1/embed", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"texts":["What is x402?"]}),
});
console.log(await res.json());

Example input

{
  "texts": [
    "What is x402?"
  ]
}

Example output

{
  "data": [
    {
      "embedding": [
        -0.017226,
        0.004483,
        0.019969,
        0.00569
      ],
      "index": 0,
      "tokens": 8,
      "truncated": false
    }
  ],
  "dimensions": 384,
  "encoding": "float",
  "input_type": "none",
  "max_tokens_per_text": 512,
  "model": {
    "alias": "small-en",
    "id": "bge-small-en-v1.5",
    "license": "MIT",
    "revision": "5c38ec7c405ec4b44b94cc5a9bb96e735b38267a",
    "source": "BAAI/bge-small-en-v1.5"
  },
  "normalized": true,
  "note": "float values rounded to 6 decimal places",
  "prefix_applied": null,
  "usage": {
    "texts": 1,
    "tokens": 8,
    "truncated": 0
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
5 min agoPassed402820 ms$0.001
4 h agoPassed402283 ms$0.001
7 h agoPassed402266 ms$0.001
11 h agoPassed402272 ms$0.001
15 h agoPassed402371 ms$0.001
18 h agoPassed402270 ms$0.001
22 h agoPassed402263 ms$0.001
26 h agoPassed402314 ms$0.001
29 h agoPassed402297 ms$0.001
34 h agoPassed402272 ms$0.001