Documentation
Everything you need to get started with Anor Cloud.
Quick Start
1. Install the CLI
$pip install anor-cli2. Authenticate
$anor loginThis will open a browser window to authenticate with your Anor Cloud account.
3. Create your first cluster
# Create 8 B300 GPUs for 1 hour $ anor nodes create -n 1 -d 1h # List your nodes $ anor nodes list # SSH into a node $ anor nodes ssh <node-name>
CLI Reference
| Command | Description |
|---|---|
anor login | Authenticate with your Anor Cloud account |
anor nodes create | Create new GPU nodes |
anor nodes list | List all your active nodes |
anor nodes ssh <name> | SSH into a specific node |
anor nodes delete <name> | Delete a node |
anor market prices | View current market prices |
anor market orderbook | View the order book |
anor account balance | Check your account balance |
REST API
Base URL
https://api.anorcloud.com/v1Authentication
All API requests require an API key in the header:
Authorization: Bearer YOUR_API_KEYEndpoints
GET
/nodesList all nodesPOST
/nodesCreate a new nodeGET
/nodes/:idGet node detailsDELETE
/nodes/:idDelete a nodeGET
/market/pricesGet current pricesGET
/market/orderbookGet order bookGET
/accountGet account infoPython SDK
Installation
$pip install anor-sdkUsage
from anor import AnorClient
client = AnorClient(api_key="your-api-key")
# Create a cluster
cluster = client.nodes.create(
gpu_type="b300",
count=8,
duration="1h"
)
# List nodes
nodes = client.nodes.list()
# Get market prices
prices = client.market.prices()