Skip to main content

Get Your First GPUs in 5 Minutes

This guide will walk you through purchasing GPU time, deploying a workload, and cleaning up.

Prerequisites

  • Unix-based system (macOS or Linux)
  • Credit card for payment
  • SSH key (optional, but recommended)

Step 1: Install the CLI

Verify installation:

Step 2: Configure Authentication

Create an account and get your API token:
You’ll be prompted to:
  1. Enter your API token (get one at https://app.galadriel.com/settings/tokens)
  2. Set default zone (e.g., us-west-1)
  3. Add your SSH public key (optional)
Your configuration is saved to ~/.galadriel/config.yaml.
Create an API token at https://app.galadriel.com/settings/tokens with full access permissions.

Step 3: Check the Marketplace

Before buying, check current prices and availability:
Output:
Get a price estimate:

Step 4: Purchase GPUs

Option A: Market Order (Instant)

Buy GPUs immediately at the current market price:
Market orders execute instantly but you pay the current best ask price. For this example, you’d pay ~$1.40/GPU/hr.

Option B: Limit Order (Save Money)

Wait for a specific price:
Limit orders can save 10-25% but may take minutes to hours to fill. Use this for non-urgent workloads.
Expected output:

Step 5: Connect to Your GPUs

Option A: Using kubectl

Set your kubeconfig:
Verify access:
Output:

Option B: Using SSH

SSH directly to a node:
Or specify a node:

Step 6: Deploy a Workload

Simple GPU Test

Create gpu-test.yaml:
Deploy:

Multi-Node Training Job

Create distributed-training.yaml:
Deploy:

Step 7: Monitor Your Lease

Check lease details:
List all active leases:
Output:

Step 8: Cleanup (Optional)

Finished Early?

If you’re done before your 24 hours are up, you have two options:

Option A: Terminate and Get Refund

You’ll get a prorated refund for unused time.

Option B: Resell Unused Time

Recover even more by reselling to the marketplace:
If matched, you’ll receive:
  • Original refund from Galadriel
  • Net recovery from marketplace sale (minus 10% platform fee)
See the Reselling Guide for details.

Automatic Cleanup

Your lease automatically expires and cleans up at the end time. You’ll receive:
  • 5-minute warning notification
  • Automatic namespace deletion
  • Complete resource cleanup

Next Steps

Understand the Marketplace

Learn about order types and pricing strategies

Cluster Specs

GPU types, system specs, and access model

API Reference

REST API and SDK documentation

Examples

Real-world training examples

Common Issues

Limit orders may not fill if your price is too low. Check the current orderbook:
Cancel and create a new order with a higher price, or switch to a market order.
Make sure your kubeconfig is set:
Or get the kubeconfig again:
Verify your SSH key was added during configuration:
If not set, reconfigure:

Getting Help