Your first cloud run with MLX

When a model won’t fit,
run it in the cloud first

Go from placing an order to generating your first model output. Estimate the memory your model needs, choose a dedicated physical machine, then connect to macOS, sync the weights, recreate your environment, and test inference with a short context.

If your model already runs reliably on your own machine and you only test it occasionally, you may not need to rent a cloud Mac.

Step 1 · Memory & locations

Model file size is only part of the story

CPU and GPU share unified memory, which is also used by model weights, the KV cache, runtime, and macOS. Having enough disk space for a model doesn’t mean it will fit in memory. Context length and concurrency can raise peak usage, so measure again as you scale up.

Arm16 M4

M4 / 16GB unified memory / 256GB SSD

A good starting point for getting a small quantized model, scripts, and dependencies working. Not suitable if loading the weights already brings memory close to its limit and you still need a longer context.

$20.6 / day

Arm24 M4

M4 / 24GB unified memory / 512GB SSD

Choose this tier if 16GB doesn’t leave enough headroom for testing a medium-sized quantized model and a more complete workflow. More memory doesn’t guarantee unlimited context length or concurrency.

$39.4 / day

Arm64 Pro

M4 Pro / 64GB unified memory / 2TB SSD

Consider this tier first for larger quantized models, long contexts, or LoRA fine-tuning. 64GB still has limits, and this machine isn’t intended for large-scale training that requires a multi-GPU cluster.

$61.4 / day

6 locations. Choose based on how you work

Singapore, Tokyo, Seoul, Hong Kong, the US East Coast, and the US West Coast each offer all three configurations. For frequent remote desktop use, choose a location closer to you with a better network connection. Overnight fine-tuning and batch inference are less sensitive to interactive latency. Check the console for real-time availability.

Start by testing in one location. Instances in different locations are independent, so if you move later, you’ll need to sync your models, datasets, and output files yourself.

Step 2 · Order & payment

Decide how long you’ll test, then choose a billing period

If you only need to check whether a model loads, start with a daily plan. Choose weekly, monthly, or quarterly billing when you know the task will run continuously. Don’t turn a short feasibility test into a long-term compute commitment by default.

  1. 01

    Review the configuration

    On the order page, select a machine, location, and billing period. Check the memory, SSD capacity, and order total. If you need to keep multiple copies of your weights, consider the +1TB SSD or +2TB SSD add-on. Extra storage does not increase unified memory.

  2. 02

    Pay for your order

    We accept USDT-TRC20 and Visa / Mastercard / Amex (via Stripe) only. All charges are in USD. Available payment gateways are determined by the response from the backend. For USDT payments, check the network, amount, and recipient details shown on the payment page.

  3. 03

    Check your order

    After paying, return to the console to check your order and instance status. Continue once the instance is ready to connect. If the status hasn’t updated, check your invoice and payment record first; don’t submit another payment. If you need help, include your order number in a support ticket.

Step 3 · Sign in & connect

Use the desktop to check status, SSH to run commands

All three tiers run on dedicated Apple Silicon physical nodes, not virtual machines. Sign in to the console and open the browser-based remote desktop from your instance details to access the macOS GUI. The command line is ready to use; you don’t need to set up a remote desktop client locally.

Check your instance in a browser

  1. Sign in to the console and find the instance for your paid order.
  2. Open the instance details and check the location, specifications, and connection information.
  3. Launch the remote desktop and check that the desktop and terminal respond.

The browser is a convenient way to check your instance for the first time. For large file transfers, use SSH with rsync rather than the remote desktop’s interactive channel.

Connect from your machine over SSH

First, check that Remote Login is enabled in System Settings on your cloud Mac, and restrict access to the users who need it. Run these commands in your local terminal. Get the host, username, and port from your instance details.

printf 'Instance host: '
read -r REMOTE_HOST
printf 'SSH username: '
read -r REMOTE_USER
printf 'SSH port: '
read -r REMOTE_PORT
ssh -p "$REMOTE_PORT" "$REMOTE_USER@$REMOTE_HOST"

If you’re asked to verify the host fingerprint, check that you’re connecting to the right host. Don’t disable host key checking to work around an error. Troubleshoot connection timeouts and authentication failures separately by checking the network, port, and credentials.

A computer setup for work; connect to a cloud Mac and keep managing model experiments from your own machine
Connecting is only the first check. Verify the environment, weights, and task results on the cloud instance as well.
Move from a local Mac to a cloud Mac

Move your data, not your entire old environment

Migration has three parts: data, your toolchain, and CI access. First, make manual inference repeatable; then automate overnight runs. If you’re only testing a model once, you can skip CI for now.

01 / Data

Sync weights and datasets

Use rsync to transfer your model directory, including all weights, configuration, and tokenizer files. Create the destination directory in a cloud terminal, then run the sync command from your local terminal with the SSH variables still set.

mkdir -p ~/models ~/datasets ~/runs
printf 'Absolute path to local model directory: '
read -r LOCAL_MODEL
rsync -av --progress \
  -e "ssh -p $REMOTE_PORT" \
  "$LOCAL_MODEL/" \
  "$REMOTE_USER@$REMOTE_HOST:models/first-model/"

The trailing slash syncs the directory’s contents. Keep the local copy until you’ve confirmed all remote files are intact. Don’t add automatic deletion options for your first migration.

02 / Toolchain

Rebuild a native Python environment

Check that Homebrew and Python are available, create a new virtual environment on the cloud Mac, and install mlx-lm. Don’t copy your local virtual environment: its paths and binary dependencies may not be compatible.

  • Run uname -m to confirm the native architecture is arm64.
  • Run brew --version to check Homebrew.
  • Run python3 --version to check Python.
  • After inference succeeds, save the dependency versions so you can reproduce the setup.

If a command isn’t available, follow the relevant tool’s official installation instructions before moving on. Run MLX inference natively on macOS; don’t treat a Linux container as a Metal GPU environment.

03 / CI setup

Save evaluation runs for overnight

In your GitHub repository’s Actions settings, add a self-hosted runner, select macOS and ARM64, and register it on your cloud Mac using the commands shown. Treat the registration token as sensitive: don’t put it in your repository or a support ticket.

  • Add a dedicated runner label so evaluation jobs run only on the intended machine.
  • Use the verified Python environment and an absolute model path in your workflow.
  • Set a schedule; scheduled expressions use UTC.
  • Limit concurrency first to avoid builds and inference competing for unified memory.

Don’t run untrusted public code on a runner that has access to your models, secrets, or project credentials. For unattended runs, configure a background service using the runner’s service installation process.

Your first inference · Start with a minimal test

Get an output first; extend the context later

Run the commands below in order, in the same terminal session on your cloud Mac. You’ll need a quantized text model that works with mlx-lm. Memory requirements vary by model architecture and quantization method, so a particular parameter count isn’t guaranteed to run.

01 / Install

Create an isolated environment and check Metal

Once Python is available, create a virtual environment to keep experimental dependencies out of the system environment. The checks should return arm64 and True. If Metal isn’t available, stop before loading a model and check the architecture, OS, and dependency compatibility.

mkdir -p ~/mlx-lab
cd ~/mlx-lab
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install mlx-lm
python -c 'import platform; import mlx.core as mx; print(platform.machine()); print(mx.metal.is_available())'

02 / Generate

Load a quantized model with a short prompt

Enter the absolute path to the synced model directory. It should contain the model configuration, tokenizer, and weights—not just a single weights file. Limit output length at first; once text is generated, move on to a real task.

printf 'Absolute path to cloud model directory: '
read -r MODEL_DIR
python -m mlx_lm.generate \
  --model "$MODEL_DIR" \
  --prompt "Explain unified memory in two sentences." \
  --max-tokens 128

03 / Check

Track peak usage, not just free memory

Open another terminal to check system status. In Activity Monitor, use the Memory tab to watch memory pressure and swap usage. Note the changes before loading, after loading, and during generation, then increase the context gradually.

memory_pressure
vm_stat
df -h "$HOME"

cd ~/mlx-lab
source .venv/bin/activate
python -m pip freeze > requirements-lock.txt
Final checks before you run

Pass these five checks before an overnight run

This checklist is for your own reference on this page; nothing is saved to your order or uploaded to a server. Not every task requires SSH, but test your connection before moving large files or setting up unattended runs.

Next, tackle the bottleneck you actually have

Getting a model to run is just the start. Keep a record of the model version, quantization method, context length, and peak memory usage. That gives you a basis for deciding whether to keep renting, upgrade, or move back to your own machine.

Connection or environment checks failed

Start with the help docs on connectivity, MLX setup, and memory troubleshooting. If you need support, include the instance ID, location, time of the issue, and sanitized error output. Never share your password or private key.

Short prompts work, but your real task runs out of memory

Compare your actual peak usage with the three configurations and decide whether to move to 64GB. Back up your data and plan the migration before switching instances. Moving between physical nodes is not automatic scaling while a task is running.

Test your memory budget
with a real model output

Choose a configuration that suits your model, then decide how long to run it. We accept USDT-TRC20 and Visa / Mastercard / Amex (via Stripe) only, with charges in USD.