Xpersona
N

NEXUS Llm Gateway

CLAWHUB · Unverified

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...

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17a9p4658c98g5crz7yh772ex83nny8:nexus-llm-gateway
  1. Install using `clawhub skill install s17a9p4658c98g5crz7yh772ex83nny8:nexus-llm-gateway` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/cyberforexblockchain/nexus-llm-gateway before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cyberforexblockchain-nexus-llm-gateway/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

30,142 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: nexus-llm-gateway
description: "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 fallback, tiered pricing, and OpenAI-compatible format. Pay with ADA via Masumi."
version: 2.1.0
capabilities:
  - id: invoke-llm-gateway
    description: "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 fallback, tiered pricing, and OpenAI-compatible format. Pay with ADA via Masumi."
permissions:
  network: true
  filesystem: false
  shell: false
inputs:
  - name: prompt
    type: string
    required: true
    description: "The prompt to send"
  - name: tier
    type: string
    required: false
    description: "The tier parameter"
  - name: model
    type: string
    required: false
    description: "Optional: specific model override"
  - name: task_type
    type: string
    required: false
    description: "The task_type parameter"
  - name: messages
    type: array
    required: false
    description: "OpenAI-compatible messages array"
outputs:
  type: object
  properties:
    result:
      type: string
      description: "The service response"
requires:
  env: [NEXUS_PAYMENT_PROOF]
protocols:
  - masumi
  - mpp
  - x402
  - ap2
  - xrpl
  - a2a
payment:
  mpp_standard: "IETF draft-httpauth-payment-00"
  accepted_currencies: [ADA, DJED, iUSD, USDCx, USDM, USDC, XLM, XRP, RLUSD]
  supported_chains: [cardano, stellar, xrpl]
  ap2_supported: true
  batch_settlement: true
  mpp_discovery: "https://ai-service-hub-15.emergent.host/api/mpp/discover"
  ap2_config: "https://ai-service-hub-15.emergent.host/api/ap2/config"
  xrpl_config: "https://ai-service-hub-15.emergent.host/api/xrpl/config"
  stablecoin_registry: "https://ai-service-hub-15.emergent.host/api/mpp/stablecoins"
metadata: '{"openclaw":{"emoji":"\u26a1","requires":{"env":["NEXUS_PAYMENT_PROOF"]},"primaryEnv":"NEXUS_PAYMENT_PROOF"}}'
---

# LLM Gateway

> NEXUS Agent-as-a-Service on Cardano + Stellar + XRPL | Price: $0.10/request | Accepts: ADA, DJED, iUSD, USDCx, USDM (Cardano) + USDC, XLM (Stellar) + XRP, RLUSD (XRPL)

## 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)

1. Call the service endpoint without payment headers.
2. Receive HTTP 402 with `WWW-Authenticate: Payment` header AND x402 `accepts[]` array in response body.
3. Select a `paymentRequirement` from `accepts[]` matching your preferred network + asset.
4. Networks: `cardano:mainnet` (ADA, DJED, iUSD, USDCx, USDM), `stellar:pubnet` (USDC, XLM), `sandbox` (free).
5. Send payment to the `payTo` address for `maxAmountRequired` in the specified asset.
6. **Stellar fee sponsorship:** POST your sig

README.md

# nexus-llm-gateway

**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 fallback, tiered pricing, and OpenAI-compatible format. Pay with ADA via Masumi.

Part of the [NEXUS Agent-as-a-Service Platform](https://ai-service-hub-15.emergent.host) on Cardano.

## Installation

```bash
clawhub install nexus-llm-gateway
```

Or manually copy the `SKILL.md` to your OpenClaw skills directory:

```bash
cp SKILL.md ~/.openclaw/skills/nexus-llm-gateway/SKILL.md
```

## Usage

This skill is automatically invoked by your OpenClaw agent when a matching task is detected.

### Direct API Usage (x402 / MPP Standard)

Any call without payment returns HTTP 402 with a `WWW-Authenticate: Payment` header AND x402 `accepts[]` array in response body:

```bash
# Step 1: Get the x402/MPP challenge
curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/llm-gateway \
  -H "Content-Type: application/json" \
  -d '{"input": "your query here"}'
# Returns 402 + WWW-Authenticate: Payment header

# Step 2: After payment, retry with credential
curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/llm-gateway \
  -H "Content-Type: application/json" \
  -H "Authorization: Payment <base64url-credential>" \
  -d '{"input": "your query here"}'
```

### Legacy / Sandbox Usage

```bash
curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/llm-gateway \
  -H "Content-Type: application/json" \
  -H "X-Payment-Proof: sandbox_test" \
  -d '{"input": "your query here"}'
```

## Pricing

- **$0.10** per request
- **Accepted currencies:** ADA, DJED, iUSD, USDCx, USDM (Cardano) | USDC, XLM (Stellar) | XRP, RLUSD (XRPL)
- **Payment protocol:** x402 (Coinbase/Masumi) + MPP (IETF HTTP 402) + Masumi (Cardano escrow) + **AP2** (Google Agent Payments Protocol with XLS-56 Batch on XRPL)
- **Supported chains:** Cardano + Stellar + XRP Ledger
- **Stellar fee sponsorship:** NEXUS pays gas — agents need 0 XLM
- **Free sandbox** available with `X-Payment-Proof: sandbox_test`

## Links

- Platform: [https://ai-service-hub-15.emergent.host](https://ai-service-hub-15.emergent.host)
- x402 Discovery: [https://ai-service-hub-15.emergent.host/api/mpp/x402](https://ai-service-hub-15.emergent.host/api/mpp/x402)
- MPP Discovery: [https://ai-service-hub-15.emergent.host/api/mpp/discover](https://ai-service-hub-15.emergent.host/api/mpp/discover)
- Stablecoin Registry: [https://ai-service-hub-15.emergent.host/api/mpp/stablecoins](https://ai-service-hub-15.emergent.host/api/mpp/stablecoins)
- Stellar Info: [https://ai-service-hub-15.emergent.host/api/mpp/stellar](https://ai-service-hub-15.emergent.host/api/mpp/stellar)
- Fee Sponsorship: [https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor-info](https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor-info)
- Discovery: [https://ai-service-hub-15.emergent.host/api/discove

_meta.json

{
  "ownerId": "kn7efb82wj6z1vtc8q377eh3r582sdfa",
  "slug": "nexus-llm-gateway",
  "version": "2.1.0",
  "publishedAt": 1779737294644
}

skill-card.md

## Description:

Smart multi-model AI gateway on Cardano that routes prompts to supported LLMs with automatic fallback, tiered pricing, and an OpenAI-compatible format paid through Masumi.

This skill is ready for commercial/non-commercial use.

## Publisher:

[cyberforexblockchain](https://clawhub.ai/user/cyberforexblockchain)

### License/Terms of Use:

MIT-0

## Use Case:

External developers and agents use this skill to send prompts or OpenAI-compatible message arrays to a paid remote LLM gateway that can route across multiple model tiers and payment protocols.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Prompts and OpenAI-compatible message arrays are sent to a remote LLM gateway for processing.

Mitigation: Avoid sending secrets, regulated data, or confidential prompts unless the service has been reviewed for the intended data class.

Risk: The skill can make paid remote LLM calls under broad auto-invocation conditions.

Mitigation: Use sandbox or short-lived, limited payment credentials where possible, and confirm the agent's invocation and spending controls before deployment.

Risk: Payment proofs or credentials may be included in request headers for paid or legacy flows.

Mitigation: Limit credential scope and lifetime, store payment proof values outside prompts, and rotate them if exposed.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/cyberforexblockchain/skills/nexus-llm-gateway)
- [NEXUS Platform](https://ai-service-hub-15.emergent.host)
- [LLM Gateway Endpoint](https://ai-service-hub-15.emergent.host/api/original-services/llm-gateway)
- [x402 Discovery](https://ai-service-hub-15.emergent.host/api/mpp/x402)
- [MPP Discovery](https://ai-service-hub-15.emergent.host/api/mpp/discover)
- [AP2 Configuration](https://ai-service-hub-15.emergent.host/api/ap2/config)
- [XRPL Configuration](https://ai-service-hub-15.emergent.host/api/xrpl/config)
- [Stablecoin Registry](https://ai-service-hub-15.emergent.host/api/mpp/stablecoins)
- [Stellar Fee Sponsorship](https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor-info)

## Skill Output:

**Output Type(s):** [text, markdown, code, guidance]

**Output Format:** [JSON service response containing model-generated content]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires payment authorization for normal use; legacy calls may use NEXUS_PAYMENT_PROOF, and sandbox_test is documented for free testing.]

## Skill Version(s):

2.1.0 (source: frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to NEXUS Llm Gateway and adjacent AI workflows.