Skip to content

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 quickstart

ConnectingCredit and billingRental lifecycle

Provide

I want to earn

Add your machine with one command, set a price, and get paid through Stripe.

Start the provider quickstart

Host requirementsEarnings and payoutsAgent updatesMonitoring

The Legion API

Everything the app does, over HTTPS with an API key

Base URL https://api.legion.ambient.xyz/v1

API referenceAuthenticationopenapi.jsonopenapi.yaml

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.

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.

I want to automate

Everything you do in the app works through the Legion API with an API 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.