Chat · Completions
LLM chat completion API, OpenAI-compatible LLM inference. 437 models, no account, no API key, pay per call in USDC - OpenAI-compatible chat completions and AI inference gateway (Claude, GPT, Gemini, Llama, Mistral and more in one endpoint). Price: from $0.001, computed from your max_tokens × model rate × 1.10 (you sign a ceiling; unused tokens are not refunded). 20s server-side timeout - never charged if it fires; set your client timeout to 30s. Try GET /v1/chat/completions/sample.
POST https://x402.agentindex.world/v1/chat/completions
0.001 USDC on Base · payTo 0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"max_tokens": 5,
"messages": [
{
"content": "Say OK.",
"role": "user"
}
],
"model": "openai/gpt-4o-mini"
}{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "OK.",
"role": "assistant"
}
}
],
"id": "gen-1790576252-UzfZJjqk0Ld9PGyd1ADA",
"model": "openai/gpt-4o-mini",
"object": "chat.completion",
"usage": {
"completion_tokens": 2,
"prompt_tokens": 10,
"total_tokens": 12
},
"x402_receipt": {
"latency_ms": 612,
"model_served": "openai/gpt-4o-mini",
"price_paid_usdc": 0.001,
"upstream": "llm-gateway"
}
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 71 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 1134 ms |
| Paid calls (30d, on-chain) | 26 calls · 6 buyers · shared price cohort of 61 |
| Facilitator-reported (30d) | 3 calls · 1 payers (CDP Bazaar) |
How to call
POST https://x402.agentindex.world/v1/chat/completions · input in body · spec from live-challenge
Input schema
{
"properties": {
"model": {
"type": "string",
"description": "OpenRouter model id from GET /v1/models, e.g. \"openai/gpt-4o-mini\"."
},
"messages": {
"type": "array",
"description": "OpenAI-format chat messages: [{role, content}, ...].",
"items": {
"type": "object"
},
"minItems": 1
},
"max_tokens": {
"type": "integer",
"description": "Max completion tokens, capped at 4096 - also bounds the x402 upto price ceiling."
}
},
"required": [
"model",
"messages"
]
}Output schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"model": {
"type": "string"
},
"choices": {
"type": "array",
"items": {
"type": "object"
}
},
"usage": {
"type": "object"
},
"x402_receipt": {
"type": "object"
}
},
"required": [
"choices",
"usage"
]
}curl -i -X POST 'https://x402.agentindex.world/v1/chat/completions' \
-H 'content-type: application/json' -d '{"model":"openai/gpt-4o-mini","messages":[{"role":"user","content":"Say OK."}],"max_tokens":5}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs