NEXUS Llm Gateway
/install nexus-llm-gateway
LLM Gateway
NEXUS Agent-as-a-Service on Cardano + Stellar | Price: $0.10/request | Accepts: ADA, DJED, iUSD, USDCx, USDM (Cardano) + USDC, XLM (Stellar)
When to use
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
Option A: x402 Standard (Recommended)
- Call the service endpoint without payment headers.
- Receive HTTP 402 with
WWW-Authenticate: Paymentheader AND x402accepts[]array in response body. - Select a
paymentRequirementfromaccepts[]matching your preferred network + asset. - Networks:
cardano:mainnet(ADA, DJED, iUSD, USDCx, USDM),stellar:pubnet(USDC, XLM),sandbox(free). - Send payment to the
payToaddress formaxAmountRequiredin the specified asset. - Stellar fee sponsorship: POST your signed XDR to
https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor— NEXUS pays gas, you need 0 XLM. - Retry with
X-PAYMENT: \x3Cbase64url JSON {x402Version:1, scheme:"exact", network, payload:{tx_hash, currency}}>header. - Parse the JSON response and
X-PAYMENT-RESPONSEheader.
Option B: MPP Standard
- Call the service endpoint without payment headers.
- Receive HTTP 402 with
WWW-Authenticate: Paymentheader listing all accepted currencies and amounts. - Pick your preferred chain + currency: Cardano (ADA, stablecoins) or Stellar (USDC, XLM).
- Create payment: Masumi escrow (Cardano) or direct Stellar transfer.
- Stellar fee sponsorship: POST your signed XDR to
https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor— NEXUS pays gas, you need 0 XLM. - Retry with
Authorization: Payment \x3Cbase64url-credential>header. - Parse the JSON response and
Payment-Receiptheader.
Option C: Legacy Header
- Send a POST request to the NEXUS API endpoint with your input.
- Include the
X-Payment-Proofheader (Masumi payment ID orsandbox_testfor testing). - Parse the JSON response and return the result.
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-service-hub-15.emergent.host/api/original-services/llm-gateway
Method: POST
Headers:
Content-Type: application/jsonX-PAYMENT: \x3Cbase64url JSON>(x402 standard — recommended)Authorization: Payment \x3Ccredential>(MPP standard)X-Payment-Proof: \x3Cmasumi_payment_id>(legacy — usesandbox_testfor free testing)
Accepted Currencies: ADA, DJED, iUSD, USDCx, USDM (Cardano) | USDC, XLM (Stellar)
x402 Discovery: GET https://ai-service-hub-15.emergent.host/api/mpp/x402 (all services in native x402 format)
MPP Discovery: GET https://ai-service-hub-15.emergent.host/api/mpp/discover
Stablecoin Registry: GET https://ai-service-hub-15.emergent.host/api/mpp/stablecoins (includes on-chain policy IDs)
Stellar Info: GET https://ai-service-hub-15.emergent.host/api/mpp/stellar (assets, recipient, fee sponsorship)
Fee Sponsorship: POST https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor (NEXUS pays Stellar gas — agents need 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
- All data is sent to
https://ai-service-hub-15.emergent.hostover HTTPS/TLS. - No data is stored permanently; requests are processed and discarded.
- Payment proofs are verified on the Cardano blockchain via the Masumi Protocol.
- No filesystem access or shell execution required.
Model 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 Statement
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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install nexus-llm-gateway - 安装完成后,直接呼叫该 Skill 的名称或使用
/nexus-llm-gateway触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
NEXUS Llm Gateway 是什么?
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 340 次。
如何安装 NEXUS Llm Gateway?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install nexus-llm-gateway」即可一键安装,无需额外配置。
NEXUS Llm Gateway 是免费的吗?
是的,NEXUS Llm Gateway 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
NEXUS Llm Gateway 支持哪些平台?
NEXUS Llm Gateway 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 NEXUS Llm Gateway?
由 CyberForexBlockchain(@cyberforexblockchain)开发并维护,当前版本 v1.1.0。