Using the Official clore-ai SDK
Why Use the Official SDK?
Quick Migration
Before
from clore_client import CloreClient
client = CloreClient(api_key="your-key")
servers = client.get_marketplace()
cheapest = client.find_cheapest(gpu_type="RTX 4090")
order = client.create_order(server_id=cheapest["id"], image="nvidia/cuda:12.1.0-base-ubuntu22.04")
running = client.wait_for_order(order["order_id"])After
Advanced Patterns
Context Manager
Async Client
Structured Error Handling
Server Management (Hosts)
Spot Market
CLI One-Liners
Next Steps
Last updated
Was this helpful?