Docs
Legion docs
Rent NVIDIA GPUs by the second, or earn from your own GPUs. Start here.
Rent
I want to rent
Pick a GPU from the market, connect over SSH, and pay by the second.
Start the renter quickstartProvide
I want to earn
Add your machine with one command, set a price, and get paid through Stripe.
Start the provider quickstartHost requirementsEarnings and payoutsAgent updatesMonitoring
The Legion API
Everything the app does, over HTTPS with an API key
Base URL https:/
Legion is a GPU marketplace run by Ambient. Renters rent NVIDIA GPUs on machines that independent providers run, pay by the second, and connect over SSH. Providers list their own machines and earn a share of what renters pay. Ambient takes payment from renters and pays providers.
I want to rent
You pick an offer in the market, choose an image and an SSH key, and connect as root over SSH. You pay from your organization's prepaid credit, by the second while the rental is Running, and for storage while it's stopped.
Rent a GPU and SSH in: your first rental, step by step.
The market: read and filter offers.
Connecting: SSH commands, SSH config, file transfer and the web terminal.
Credit and billing: how charges add up.
I want to earn
You install the Legion agent on a Linux machine with NVIDIA GPUs, a person at Ambient reviews it, and you set a price. Renters see your host in the market, and you earn your share of what they pay.
Add your first host: from install command to listed.
Host requirements: check these before you install.
Earnings and payouts: your share, and getting paid.
I want to automate
Everything you do in the app works through the Legion API with an API key.
API overview: base URL, conventions, and your first call.
Authentication: create and use an API key.
Public market API: what can be rented now, with no key.
How the app is organized
The app has two workspaces. Rent holds Market, Rentals, Services and Spend. Provide holds Overview, Hosts and Earnings. Network and Settings serve both. You can switch workspaces at any time.
Get help
Open Help in the app for short answers, or send a request from the Support page (opens in a new tab). You can also email support@ambient.xyz. See Support.