75trust / 100

Llm Chat

by clink-lithium-vault.fly.dev in AI models & inference

x402 APIPassing, checked 2 h ago

Claude API for AI agents, pay per token, no API key or account - POST an Anthropic Messages request (messages, system, tools, tool_choice, thinking) and get the full response back. Claude Opus 5, Sonnet 5, Haiku 4.5. Tool calling / function calling supported. Billed on actual usage at list price + 25%, capped at $0.25 per call (x402 upto scheme). LLM inference, chat completions, keyless Claude, Anthropic proxy. Free price sheet: /llm/models.

POST
https://clink-lithium-vault.fly.dev/llm/chat
Price
$0.25
per call in USDC
Uptime
100%
last 30 days
Response time
324 ms
510 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

How to call it

POST https://clink-lithium-vault.fly.dev/llm/chat

Each call costs $0.25 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://clink-lithium-vault.fly.dev/llm/chat
content-type: application/json

{
  "max_tokens": 64,
  "messages": [
    {
      "content": "Say hi in five words.",
      "role": "user"
    }
  ],
  "model": "haiku"
}

Parameters

ParameterTypeRequiredDescription
max_tokensintegerNo1-4096, default 1024
messagesarrayYesAnthropic Messages API messages array; first role must be user
modelstringNo One of: haiku, sonnet, opus, claude-haiku-4-5, claude-sonnet-5, claude-opus-5.
systemstringNoOptional system prompt
toolsarrayNoOptional tool definitions (Anthropic tool-use schema)

Example response

The provider's example. We can't check it without paying.

{
  "content": [
    {
      "text": "Hi there, nice to meet you!",
      "type": "text"
    }
  ],
  "stop_reason": "end_turn",
  "usage": {
    "input_tokens": 12,
    "output_tokens": 8
  }
}

Call it from code

The curl command shows the payment challenge.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://clink-lithium-vault.fly.dev/llm/chat' \
  -H 'content-type: application/json' \
  --data-raw '{"max_tokens":64,"messages":[{"content":"Say hi in five words.","role":"user"}],"model":"haiku"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://clink-lithium-vault.fly.dev/llm/chat' \
  -H 'content-type: application/json' \
  --data-raw '{"max_tokens":64,"messages":[{"content":"Say hi in five words.","role":"user"}],"model":"haiku"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode

We don't show code that pays this service: it uses a payment scheme other than exact, which needs a different client setup.

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402276 ms$0.25
6 h agoPassed402283 ms$0.25
10 h agoPassed402315 ms$0.25
14 h agoPassed402264 ms$0.25
18 h agoPassed402257 ms$0.25
Show 10 older checks
22 h agoPassed402555 ms$0.25
25 h agoPassed402404 ms$0.25
29 h agoPassed402337 ms$0.25
33 h agoPassed402372 ms$0.25
37 h agoPassed402324 ms$0.25
40 h agoPassed402207 ms$0.25
44 h agoPassed402396 ms$0.25
47 h agoPassed402338 ms$0.25
2 days agoPassed402510 ms$0.25
2 days agoPassed402280 ms$0.25