\u26a1 NEXUS Llm Gateway — NEXUS工具
v1.1.0[AI辅助] Smart multi-model AI gateway on Cardano. Routes prompts to the best LLM (GPT-5.2, Claude Sonnet 4.5, GPT-4o, Claude Haiku 4.5, GPT-4o-mini) with automatic fa...
运行时依赖
版本
Added x402 payment protocol (Coinbase/Masumi), multi-chain Cardano + Stellar documentation, 10 protocols
安装命令
点击复制技能文档
NEXUS Agent-as-a-Service on Cardano + Stellar | Price: $0.10/request | Accepts: ADA, DJED, iUSD, USDCx, USDM (Cardano) + USDC, XLM (Stellar)
当...时 到 使用
Use when you need to call any LLM (GPT-5.2, Claude Sonnet 4.5, GPT-4o, Claude Haiku 4.5, GPT-4o-mini) through one endpoint. Supports tier-based routing (economy/standard/premium/auto) and OpenAI-compatible message format.
Steps
选项 : x402 Standard (Recommended)
- Call 服务 endpoint 没有 payment headers.
- 接收 HTTP 402 带有
WWW-认证: Payment页头 和 x402accepts[]数组 在...中 响应 body. - Select
paymentRequirement从accepts[]matching preferred network + asset. - Networks:
cardano:mainnet(ADA, DJED, iUSD, USDCx, USDM),stellar:pubnet(USDC, XLM),sandbox(free). - 发送 payment 到
payToaddress 对于maxAmountRequired在...中 specified asset. - Stellar fee sponsorship: POST signed XDR 到
https://ai-服务-hub-15.emergent.host/api/mpp/stellar/sponsor— NEXUS pays gas, 您 需要 0 XLM. - 重试 带有
X-PAYMENT:页头. - 解析 JSON 响应 和
X-PAYMENT-响应页头.
选项 B: MPP Standard
- Call 服务 endpoint 没有 payment headers.
- 接收 HTTP 402 带有
WWW-认证: Payment页头 listing 所有 accepted currencies 和 amounts. - Pick preferred chain + currency: Cardano (ADA, stablecoins) 或 Stellar (USDC, XLM).
- 创建 payment: Masumi escrow (Cardano) 或 direct Stellar transfer.
- Stellar fee sponsorship: POST signed XDR 到
https://ai-服务-hub-15.emergent.host/api/mpp/stellar/sponsor— NEXUS pays gas, 您 需要 0 XLM. - 重试 带有
Authorization: Payment页头. - 解析 JSON 响应 和
Payment-Receipt页头.
选项 C: Legacy 页头
- 发送 POST 请求 到 NEXUS API endpoint 带有 输入框.
- Include
X-Payment-Proof页头 (Masumi payment ID 或sandbox_test对于 testing). - 解析 JSON 响应 和 return 结果.
API Call
curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/llm-gateway \
-H "Content-Type: application/json" \
-H "X-Payment-Proof: $NEXUS_PAYMENT_PROOF" \
-d '{"prompt": "Write a Python function to sort a list", "tier": "auto", "task_type": "code"}'
Endpoint: https://ai-服务-hub-15.emergent.host/api/original-services/llm-gateway
方法: POST
Headers:
Content-类型: application/jsonX-PAYMENT:(x402 standard — recommended)Authorization: Payment(MPP standard)X-Payment-Proof:(legacy — 使用sandbox_test对于 free testing)
Accepted Currencies: ADA, DJED, iUSD, USDCx, USDM (Cardano) | USDC, XLM (Stellar)
x402 Discovery: 获取 https://ai-服务-hub-15.emergent.host/api/mpp/x402 (所有 services 在...中 native x402 格式)
MPP Discovery: 获取 https://ai-服务-hub-15.emergent.host/api/mpp/discover
Stablecoin Registry: 获取 https://ai-服务-hub-15.emergent.host/api/mpp/stablecoins (includes 在...上-chain policy IDs)
Stellar Info: 获取 https://ai-服务-hub-15.emergent.host/api/mpp/stellar (assets, recipient, fee sponsorship)
Fee Sponsorship: POST https://ai-服务-hub-15.emergent.host/api/mpp/stellar/sponsor (NEXUS pays Stellar gas — agents 需要 0 XLM)
External Endpoints
| URL | Method | Data Sent |
|---|---|---|
https://ai-service-hub-15.emergent.host/api/original-services/llm-gateway | POST | Input parameters as JSON body |
Security & Privacy
- 所有 data sent 到
https://ai-服务-hub-15.emergent.host在...上 HTTPS/TLS. - 否 data stored permanently; requests processed 和 discarded.
- Payment proofs verified 在...上 Cardano blockchain 通过 Masumi Protocol.
- 否 filesystem access 或 shell execution 必填.
模型 Invocation Note
This skill calls the NEXUS AI service API which uses LLM models (GPT-5.2, Claude Sonnet 4.5, GPT-4o) to process requests. The AI processes your input server-side and returns a structured response. You may opt out by not installing this skill.
Trust 语句
By using this skill, your input data is sent to NEXUS (https://ai-service-hub-15.emergent.host) for AI processing. Payments are non-custodial via the Masumi Protocol on Cardano. Only install if you trust NEXUS as a service provider. Visit https://ai-service-hub-15.emergent.host for full documentation.
Tags
llm, ai, gateway, multi-model, gpt, claude, router, cardano