trustai.center pay
Pay-per-use LLM inference for agents: pay in USDC/USDT or per call via x402. 247 chat models.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen list_trending
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"trustai-pay": {
"url": "https://pay.trustai.center/mcp"
}
}
}Puntos de conexión remotos
https://pay.trustai.center/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (10)
🟢list_models(modality, max_price, q, sort, include, ...)
List servable text chat models with USD prices (pricing.vs_list vs maker list price). Pass include=discovery to also see image/video models (servable:false). Filter by modality, max output price, text search; sort by popularity or price.
Esquema de entrada
{
"type": "object",
"properties": {
"modality": {
"type": "string",
"enum": [
"text",
"image",
"video",
"audio",
"embedding",
"rerank",
"other"
]
},
"max_price": {
"type": "number",
"description": "Max USD per 1M output tokens (or per unit for media)"
},
"q": {
"type": "string"
},
"sort": {
"type": "string",
"enum": [
"popularity",
"price",
"price_desc",
"name"
]
},
"include": {
"type": "string",
"enum": [
"discovery"
],
"description": "Also list image/video/other models that are not servable here (servable:false)"
},
"limit": {
"type": "number",
"default": 50
}
}
}🟢list_trending(limit)
Featured trending models with prices (ranked by recent tokens served when available, otherwise a curated ranking; see ranking field).
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 10
}
}
}🟢get_balance(api_key)
Get the credit balance, spend cap and amount spent for a tai_ API key.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "tai_ key (optional if sent as Authorization: Bearer header)"
}
}
}🟡create_topup(pack, chain, promo, api_key)
Create a stablecoin top-up order. Returns the deposit address, chain and the exact amount to send. Omit api_key to create a new key (returned once).
Esquema de entrada
{
"type": "object",
"properties": {
"pack": {
"type": "number",
"enum": [
1,
3,
10,
25
],
"description": "Credits in USD (1 = starter pack)"
},
"chain": {
"type": "string",
"enum": [
"base",
"solana",
"bsc"
],
"default": "base"
},
"promo": {
"type": "string"
},
"api_key": {
"type": "string"
}
},
"required": [
"pack"
]
}⚪verify_topup(order_id, tx_hash, signature)
Confirm a top-up after sending funds, by order id and transaction hash/signature. Credits the amount received (tolerance -0.5% or $0.01; other amounts need the sender's signature).
Esquema de entrada
{
"type": "object",
"properties": {
"order_id": {
"type": "string"
},
"tx_hash": {
"type": "string"
},
"signature": {
"type": "string"
}
},
"required": [
"order_id",
"tx_hash"
]
}🟢claim_topup(chain, tx_hash, signature, api_key)
Credit a stablecoin transfer to our address that has no matching order (or a non-exact amount). Requires the sending wallet's signature of 'trustai.center claim <chain>:<tx_hash>'. Max 7 days old, each tx once. Omit api_key to get a new key.
Esquema de entrada
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"enum": [
"base",
"solana",
"bsc"
]
},
"tx_hash": {
"type": "string"
},
"signature": {
"type": "string"
},
"api_key": {
"type": "string"
}
},
"required": [
"chain",
"tx_hash"
]
}🔴set_cap(api_key, spend_cap_usd, daily_limit_usd, per_request_max_usd)
Set spend controls on a tai_ key: total spend cap, daily limit (UTC day) and per-request max, in USD. Omit a field to keep it, pass null to remove it.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string"
},
"spend_cap_usd": {
"type": [
"number",
"null"
]
},
"daily_limit_usd": {
"type": [
"number",
"null"
]
},
"per_request_max_usd": {
"type": [
"number",
"null"
]
}
}
}🟢get_usage(api_key, limit)
Usage and audit log for a tai_ key: recent charges (model, tokens, cost), top-ups, last-24h totals, balance and limits.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string"
},
"limit": {
"type": "number",
"default": 50
}
}
}🟢get_stats
Public platform stats from our database (tokens and requests in the last 24h, keys created, top models). Real numbers only.
Esquema de entrada
{
"type": "object",
"properties": {}
}⚪chat_completion(model, messages, max_tokens, api_key)
Run a chat completion billed to a tai_ key's credits.
Esquema de entrada
{
"type": "object",
"properties": {
"model": {
"type": "string"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
},
"required": [
"role",
"content"
]
}
},
"max_tokens": {
"type": "number"
},
"api_key": {
"type": "string"
}
},
"required": [
"model",
"messages"
]
}Comunidad
Evidencia