Skip to main content

Tenson Documentation

Tenson (tenson.app) is an open-weights peer-to-peer AI inference cloud. It pools idle NVIDIA RTX GPUs and unified-memory Apple Silicon machines behind a single OpenAI-compatible Edge API Gateway (https://api.tenson.app/v1), backed by immutable PostgreSQL 16 accounting, Redis 7 Lua slot routing, Optimistic GPU Audits, and direct Stripe fiat billing & payouts.

Drop-in OpenAI compatibility · Zero Crypto

Buyers fund accounts in USD via Stripe Checkout (1,000 pts = $1.00 USD). Sellers earn 80% of every job paid directly to their bank via Stripe Connect Express ($25.00 min).

Quick Command Reference​

Command / EndpointPurpose
POST https://api.tenson.app/v1/chat/completionsOpenAI-compatible inference endpoint (SSE streaming & JSON)
GET https://api.tenson.app/v1/modelsLive canonical open-weights catalog with online node counts
tenson start --token nt_tenson_live_...Connect a GPU or Apple Silicon node outbound over TLS 1.3 WSS
tenson statusInspect auto-detected GPU/VRAM, local engine & recommended models

Core System Guarantees​

GuaranteeMechanism
Zero Port ForwardingOutbound-only TLS 1.3 WebSocket tunnel from tenson-worker / Tenson Desktop to Edge Gateway
Zero-Log Privacyinference_jobs stores metadata only; audit buffers live strictly in RAM-only Redis (300s TTL + GETDEL)
3,000ms TTFT FailoverSilent retry across up to 2 backup P2P nodes before first token, plus invisible centralized overflow
100% Mid-Stream RefundAutomatic full escrow release on worker disconnect (-5.0 reputation penalty to worker)
Strict Ledger ConservationPostgreSQL 16 ACID double-entry accounting verified continuously (reconciliation_diff = 0)