Tenson Documentation
Tenson (tenson.) 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:), 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,). Sellers earn 80% of every job paid directly to their bank via Stripe Connect Express ($25. min).
Buyers
Buyer Production Guide →
OpenAI SDK drop-in, streaming SSE, prepaid packs, escrow & error handling.
Sellers
Seller & Worker Guide →
Tenson Desktop (.dmg), CLI & Docker fleets, Ollama/vLLM & 80% bank payouts.
Reference
API & WebSocket Spec →
Complete OpenAI /v1, Auth, Billing, Webhooks & /ws/worker protocol frames.
Research
Technical Whitepaper →
Formal routing math, double-entry proofs, audit game theory & SLA bounds.
Quick Command Reference
| Command / Endpoint | Purpose |
|---|---|
POST https: | OpenAI-compatible inference endpoint (SSE streaming & JSON) |
GET https: | Live canonical open-weights catalog with online node counts |
tenson start --token nt_ | Connect a GPU or Apple Silicon node outbound over TLS 1.3 WSS |
tenson status | Inspect auto-detected GPU/VRAM, local engine & recommended models |
Core System Guarantees
| Guarantee | Mechanism |
|---|---|
| Zero Port Forwarding | Outbound-only TLS 1.3 WebSocket tunnel from tenson- / Tenson Desktop to Edge Gateway |
| Zero-Log Privacy | inference_ stores metadata only; audit buffers live strictly in RAM-only Redis (300s TTL + GETDEL) |
| 3,000ms TTFT Failover | Silent retry across up to 2 backup P2P nodes before first token, plus invisible centralized overflow |
| 100% Mid-Stream Refund | Automatic full escrow release on worker disconnect (-5. reputation penalty to worker) |
| Strict Ledger Conservation | PostgreSQL 16 ACID double-entry accounting verified continuously (reconciliation_) |