BSC edition preview · GPU prices are a reference snapshot (2026-12-02 23:55 UTC). Wallet connection is available; private orders, AI services and token payments are not yet available.
TECHNICAL SPECIFICATION & DEVELOPER REFERENCE

DOCUMENTATION

Reference guide for the LATENS read-only Agent API, multi-cloud provider normalization, BNB Smart Chain authentication, and cryptographic privacy boundaries.

01 / MULTI-CLOUD ADAPTERS & DATA NORMALIZATION

Comparable Market Data Without Mixed Categories

Planned service for the BSC edition. Private orders, encrypted storage, AI processing, on-chain token tiers and API access are not yet enabled. Wallet connection is available without signing messages or sending funds.

Vast.ai Adapter

Queries verified, rentable on-demand machine bundles via POST /api/v0/bundles/. Carries confirmed_offer precision and dedicated_instance classification, including host reliability, storage, and egress metrics.

Runpod Adapter

Uses GET https://api.runpod.io/v2/catalog/gpus with RUNPOD_API_KEY or public GraphQL gpuTypes. Pod catalog starting rates are labeled catalog_starting across secure_pod and community_pod.

CUDO Compute Adapter

Queries GET /v1/vms/machine-types and /v1/vms/gpu-models. Computes runnable 1-GPU VM hourly rates (GPU + minimum required vCPU + RAM + public IPv4) and free datacenter GPU stock across EU and North America.

Vultr Cloud GPU Adapter

Ingests GET /v2/plans and /v2/plans-metal, filtering full-GPU cloud_vm plans and multi-GPU bare_metal clusters while mapping global IATA datacenter codes.

Unavailable provider Adapter

Provider not included in this BSC edition.

Lambda Cloud Adapter

Queries GET https://cloud.lambda.com/api/v1/instance-types when LAMBDA_API_KEY is configured, with automatic public regional availability indexing when omitted.

Crusoe Cloud Adapter

Indexes live clean-energy AI cluster capacity and on-demand regional rates across North American facilities, linking directly to console.crusoecloud.com.

Scaleway Sovereign Adapter

Indexes live European Sovereign AI GPU instances (H100, L40S, L4) across Paris and Warsaw zones with direct deep links to scaleway.com.

02 / READ-ONLY AUTONOMOUS AGENT API (V1)

Structured Endpoints for AI Agents

Autonomous agents can discover GPU models, filter Reference offers across all connected clouds, verify synchronization freshness, and run deterministic rental calculations without authentication. Supplying X-Latens-Wallet with verified on-chain $LTNS holdings on BNB Smart Chain scales read limits from 60 up to 600 req/min (and /calculate up to 900 req/min). External agents operate strictly in read-only mode and cannot spend user funds.

GET /api/v1/agent/modelsRate limit: 60 req / min

Lists distinct normalized GPU models currently observed across connected providers with minimum and median hourly USD rates per GPU and active provider lists.

curl -s "https://latens.trade/api/v1/agent/models"
GET /api/v1/agent/models/historyRate limit: 60 to 600 req / min · 60s cache

Returns genuine recorded min, median, and max hourly USD/GPU prices from live non-stale offers with zero backfill or interpolation. Query parameters: model (required), window (24h | 7d | 30d), interval (15m | 1h | 1d), and optional category. 15-minute buckets are retained for 35 days; hourly rollups are retained indefinitely.

curl -s "https://latens.trade/api/v1/agent/models/history?model=H100&window=24h&interval=15m"
GET /api/v1/agent/offersRate limit: 60 to 600 req / min

Paginated search across all normalized offers. Query parameters: model, min_vram_gb, max_price_per_gpu_usd, provider (vast | runpod | cudo | vultr | | lambda | crusoe | scaleway), region, gpu_count, category, available_only (default true), sort (price_asc default | price_desc | vram_desc), offset (default 0), and limit (1 to 100). Unknown parameters return HTTP 400 with allowed parameter names and alias hints. Response includes count (page size), total (matching offers), and next_offset.

curl -s "https://latens.trade/api/v1/agent/offers?model=H100&sort=price_asc&offset=0&limit=50"
POST /api/v1/agent/calculateRate limit: 90 req / min

Executes deterministic compute cost calculations. Accepts either a live offer_id (auto-resolving current per-GPU price and storage surcharge) or explicit hourly_price_per_gpu_usd.

curl -s -X POST "https://latens.trade/api/v1/agent/calculate" \
  -H "Content-Type: application/json" \
  -d '{"gpu_model":"H100 SXM","gpu_count":4,"duration_hours":24,"hourly_price_per_gpu_usd":2.69,"storage_gb":500,"storage_cost_per_gb_month_usd":0.15}'
GET /api/v1/agent/statusRate limit: 60 req / min

Returns provider synchronization health across all 7 connected networks, last successful sync timestamp, stale snapshot flags, and inventory counts. summary.totalOffers counts all normalized catalog offers including currently unavailable entries; summary.filteredOffers counts currently available offers (matching the exact total returned when paginating through GET /api/v1/agent/offers with default filters).

curl -s "https://latens.trade/api/v1/agent/status"
Read-Only Model Context Protocol (MCP) Adapter

Local MCP clients (Cursor, Claude Desktop, autonomous Python/Node harnesses) can attach the included stdio MCP server exposing discover_gpu_models, search_gpu_offers, calculate_compute_cost, and get_provider_status:

LATENS_API_URL="http://localhost:3100" npm run mcp:server
03 / BNB SMART CHAIN & wallet sign-in AUTHENTICATION

Gasless Cryptographic Session Verification

Planned service for the BSC edition. Private orders, encrypted storage, AI processing, on-chain token tiers and API access are not yet enabled. Wallet connection is available without signing messages or sending funds.

BNB Smart Chain & $LTNS Contract
  • · Chain ID: 56
  • · Native Gas Token: BNB
  • · RPC: https://bsc-dataseed.bnbchain.org
  • · Explorer: https://bscscan.com
  • · Official $LTNS Token: BSC contract pending
  • · Agent Throughput Header: X-Latens-Wallet: 0x... (100K / 1M / 5M+ $LTNS tiers)
04 / SECURITY BOUNDARIES & EXECUTION SCOPE

Planned Honesty

Pseudonymity vs Anonymity: EVM wallet sign-in is pseudonymous. Any historical public blockchain activity associated with your address remains publicly traceable on chain explorers.

Cloud Host Visibility: Standard GPU instances rented through Vast.ai, Runpod, CUDO Compute, Vultr, or desk quotes do not provide hardware-level Trusted Execution Environments (TEEs) unless explicitly contracted and verified through hardware attestation.

Phased Infrastructure Scope: Direct sub-account instance provisioning, sealed supplier bidding portals, programmable BNB settlement on BNB Smart Chain, x402 agent micropayments, and hardware-attested Confidential Computing are scheduled in Phases 03 and 04 on the Infrastructure Roadmap.