Wandering Giants Compute · Learn
Comparison

Best GPU Cloud Providers for AI Agent Infrastructure

How this guide is made. Wandering Giants publishes this guide and sells GPU compute, so we’ve put ourselves first. Other providers are judged on the same criteria, with prices taken from each provider’s own public pricing page (checked November 2026). Prices change often, so check before you buy. Last reviewed 25 November 2026.

The short answer

Wandering Giants Compute is our pick for agents that need a private model and a place to run tools on one machine: a dedicated GPU with an OpenAI-compatible endpoint plus root access, billed by the minute. Use E2B or Modal for many short-lived sandboxes, and Together AI when per-token pricing beats keeping a GPU busy.

An agent step
One LLM call plus, usually, one tool call
Typical agent token mix
Input-heavy: context is re-sent every step
E2B sandbox, 2 vCPU + 4 GiB
About $0.17 per hour (checked Nov 2026)
Together AI gpt-oss-120B
$0.15 in / $0.60 out per 1M tokens (checked Nov 2026)
Wandering Giants H100 80GB
$4.99/hr, billed by the minute
Model for tool calling on 48 GB
Qwen3 32B AWQ on an L40S

The shortlist

  1. Best for: Private model plus tool environment on one dedicated machine · L40S $1.89/hr, H100 $4.99/hr

    Your agent's model runs as an OpenAI-compatible endpoint on your own GPU, and root access lets the tools, browser and code sandboxes run on the same box. Per-minute billing with a hard stop at zero credit suits agents that run in working hours.

  2. Best for: Secure, short-lived code sandboxes for agents · 2 vCPU + 4 GiB about $0.17/hr; Pro $150/month

    Purpose-built sandboxes that start fast and isolate untrusted code. It does not host your model, so pair it with an LLM API or a GPU.

  3. Best for: Serverless GPUs and sandboxes from Python · L40S $1.95/hr, H100 $3.95/hr, per second

    One platform for model inference, background jobs and sandboxes, all scaling to zero. Code-first, with cold starts for large models.

  4. Best for: Per-token open models for agent loops · gpt-oss-120B $0.15/$0.60 per 1M; code interpreter $0.03/session

    Usually the cheapest way to run an agent on an open model at low or medium volume. Prompts go to a shared API and you live within its rate limits.

  5. Best for: Cheap dedicated GPUs for self-hosted agent models · L40S $1.09/hr, H100 PCIe $2.89/hr

    Lower hourly prices than us and per-second billing. You build the endpoint and the tool environment yourself.

  6. Best for: GPU VMs for agent research and evaluation · H100 PCIe $3.79/hr

    Clean VMs on high-end cards, good for running agent benchmarks against self-hosted models at scale.

  7. Best for: Agents next to an existing app on DigitalOcean · L40S $1.57/hr, H100 $4.41/hr

    GPU Droplets bill per second with a 5-minute minimum and sit beside ordinary Droplets, databases and networking you may already use.

  8. Best for: UK-based GPU VMs at low hourly rates · H100 PCIe $2.50/hr, A100 $1.35/hr

    A UK provider with competitive per-minute VM pricing. A good self-hosting base if you are comfortable setting up the stack.

AI agent infrastructure is the set of machines an agent needs: a model that decides what to do next, and an environment where its tools actually run, such as a shell, a browser or a code interpreter. Those two halves have different needs. The model wants a GPU, or a per-token API; the tools want isolated CPU sandboxes. This guide ranks eight providers by how well they serve one or both halves, then prices a realistic agent workload three ways.

How we compared providers for AI agents

We scored providers on what an agent loop actually stresses, which differs from a chatbot. Prices are from each provider's public page, checked in November 2026 or taken from our 25 Nov 2026 price survey.

  • Model hosting. Can you serve an open model with tool calling, and how much control do you get over it?
  • Tool environment. Does the provider give agents somewhere safe to run code, shells and browsers?
  • Cost shape. Per token, per GPU-hour or per sandbox-second, and whether idle time is billed.
  • Per-step latency. Agents make dozens of sequential calls, so time to first token and rate limits compound.
  • Data path. Whether prompts, tool output and files leave your control.
  • Setup time. From sign-up to an agent completing a task.

We have not benchmarked these platforms. Where we estimate throughput we say so and show the method.

What does an AI agent actually need from the cloud?

An agent needs two things: model calls and tool execution. A typical step sends the system prompt, tool definitions and history to the model, receives a tool call, runs it, and appends the result. Three consequences follow.

  1. Input dominates. Context is re-sent every step, so input tokens are often 10 to 20 times output tokens. Prefix caching matters more than raw generation speed.
  2. Latency compounds. A 40-step task with 3 seconds per step takes two minutes. Anything that adds seconds per call, such as queueing or cold starts, multiplies.
  3. Tools need isolation, not GPUs. Running generated code needs a sandbox with CPU, RAM and a network policy. Our guide to GPU vs CPU for AI agents explains where each belongs.

The best GPU cloud providers for AI agent infrastructure

1. Wandering Giants Compute

Wandering Giants Compute rents dedicated NVIDIA GPUs with an API mode, which serves your chosen model through vLLM as an OpenAI-compatible endpoint with your own key, and a Root mode, which gives you the whole machine over SSH. For agents that combination matters: the model runs on the GPU and your agent runtime, headless browser and Docker sandboxes can run on the same host. Prompts and tool output stay on one machine that is yours alone. Wandering Giants is also an agentic venture studio that builds AI agents for businesses, so agent workloads are the ones we think about most.

Strengths. Ready-made tool-calling models: Qwen3 32B AWQ on a 48 GB L40S at $1.89/hr, gpt-oss 120B or Llama 3.3 70B FP8 on an 80 GB H100 at $4.99/hr, or a 96 GB RTX PRO 6000 at $4.89/hr for more context headroom. Billing is by the minute from prepaid credit and the machine stops itself when credit runs out, which is a useful backstop for agents that loop. Pausing overnight costs only disk, about 3 cents an hour per 50 GB.

Weaknesses. No managed sandbox API: you run your own containers. No serverless scale-to-zero, no autoscaling fleet, no multi-node clusters, no SLA. Not the cheapest per GPU-hour. Newly launched.

Best for. Teams that want a private agent stack on one dedicated machine, running in working hours.

2. E2B

E2B is a sandbox cloud built for AI agents: an SDK starts an isolated environment in which the agent runs code, uses a filesystem or a shell. On its pricing page (checked Nov 2026), the Hobby plan is free with a one-time $100 usage credit and sessions up to 1 hour; Pro is $150 a month plus usage, with sessions up to 24 hours. Usage is per second: $0.000014 per vCPU and $0.0000045 per GiB of RAM. A 2 vCPU, 4 GiB sandbox therefore costs ($0.000028 + $0.000018) × 3,600 ≈ $0.17 an hour.

Strengths. Purpose-built isolation, fast start, and SDKs designed around agent workflows. Good for products that spin up a fresh sandbox per user or per task.

Weaknesses. It is the tool half only; you still need a model. Session limits and per-second sandbox charges add up for long-running agents.

Best for. Agent products that run untrusted code for many users.

3. Modal

Modal runs Python functions on CPUs or GPUs in the cloud, billed per second with nothing charged when idle, and it offers sandboxes for running arbitrary code. Pricing (checked Nov 2026): L40S $1.95/hr, A100 80GB $2.50/hr, H100 $3.95/hr, with $30 a month of free compute on the Starter plan.

Strengths. Model serving, background workers and sandboxes on one platform, all scaling to zero. Strong for event-driven agents.

Weaknesses. Large models take time to load on a cold container, so interactive agents usually keep a warm GPU, which removes the scale-to-zero saving. Everything is defined in code.

Best for. Python teams building bursty, event-driven agents.

4. Together AI

Together AI sells serverless open models by the token, and also a code interpreter and sandboxes. Prices (checked Nov 2026): gpt-oss-120B at $0.15 per million input tokens and $0.60 per million output; a 60-minute code interpreter session at $0.03; sandbox VMs at $0.0446 per vCPU-hour and $0.0149 per GiB-hour.

Strengths. At low and medium volume, the cheapest way to run an agent on a strong open model. No infrastructure to run.

Weaknesses. Prompts and tool results go to a shared service, and you work within its rate limits and model versions.

Best for. Getting an agent into production quickly on open models without hosting them.

5. RunPod

RunPod rents per-second GPU pods and serverless workers. Secure Cloud on 25 Nov 2026: RTX 4090 $0.89/hr, L40S $1.09/hr, H100 PCIe $2.89/hr.

Strengths. Lower hourly prices than us, with templates for vLLM. Pods give root-like control inside a container.

Weaknesses. You wire up the endpoint, auth and sandboxes. Pods are containers, so running Docker-in-Docker sandboxes takes more care than on a full VM.

Best for. Cost-focused teams comfortable assembling their own agent stack.

6. Lambda

Lambda rents GPU VMs billed per minute: H100 PCIe at $3.79/hr and SXM at $4.89/hr on 25 Nov 2026.

Strengths. Full VMs, so sandboxes, browsers and the model live together easily. SXM nodes for large-scale agent evaluation.

Weaknesses. No managed inference or sandbox layer. Capacity on popular cards can be tight.

Best for. Research teams running agent benchmarks against self-hosted models.

7. DigitalOcean

DigitalOcean's GPU Droplets bill per second with a 5-minute minimum: L40S $1.57/hr, H100 $4.41/hr and H200 $4.47/hr on 25 Nov 2026. Paperspace is now part of DigitalOcean.

Strengths. Sits next to ordinary Droplets, managed databases and load balancers, so an agent's web app and model can share one account and private network.

Weaknesses. Higher H100 pricing than specialist GPU clouds; no agent-specific tooling.

Best for. Teams already running their product on DigitalOcean.

8. Hyperstack

Hyperstack is a UK GPU cloud with per-minute VMs: H100 PCIe $2.50/hr, A100 $1.35/hr and L40 $1.00/hr on 25 Nov 2026.

Strengths. Low prices for full VMs, which suit self-hosted model plus sandbox setups.

Weaknesses. Self-service infrastructure only; you build the agent platform.

Best for. Cost-conscious teams who want VMs and will do their own setup.

Comparison table: AI agent infrastructure options

ProviderHosts the modelRuns the toolsPrice example (Nov 2026)BillingIdle cost
Wandering Giants ComputeYes, dedicated GPU, vLLM APIYes, on the same root machineL40S $1.89/hrPer minuteDisk only when paused
E2BNoYes, managed sandboxes~$0.17/hr per 2 vCPU + 4 GiBPer secondNone
ModalYes, serverless GPUYes, sandboxesH100 $3.95/hrPer secondNone (cold starts)
Together AIYes, per tokenYes, code interpretergpt-oss-120B $0.15/$0.60 per 1MPer token / sessionNone
RunPodYes, you deployInside your podL40S $1.09/hrPer secondStorage
LambdaYes, you deployOn your VMH100 PCIe $3.79/hrPer minuteInstance billed while on
DigitalOceanYes, you deployOn your DropletsH100 $4.41/hrPer second, 5-min minDroplet billed while on
HyperstackYes, you deployOn your VMH100 PCIe $2.50/hrPer minuteInstance billed while on

Worked example: what does an agent fleet cost to run?

Here is a concrete workload: an internal operations agent that handles 200 tasks a day, 22 working days a month. Each task averages 40 steps. Each step sends about 6,000 input tokens (system prompt, tool schemas and history) and gets back about 400 output tokens.

QuantityFormulaPer day
Model calls200 tasks × 40 steps8,000
Input tokens8,000 × 6,00048 million
Output tokens8,000 × 4003.2 million

Option A: per-token API. On Together AI's gpt-oss-120B (checked Nov 2026): 48 × $0.15 + 3.2 × $0.60 = $7.20 + $1.92 = $9.12 a day, about $201 a month. Sandboxes on E2B for 10 concurrent workers at 2 vCPU and 4 GiB, 10 hours a day: 10 × 10 × 22 × $0.1656 ≈ $364 a month.

Option B: your own H100. gpt-oss 120B on our H100 at $4.99/hr, running 10 hours each working day. At the 25 Nov 2026 price that is 10 × $4.99/hr = $49.90 a day, about $1,098 a month (22 working days). Can one H100 keep up? Output is 3.2 million tokens over 36,000 seconds, an average of about 89 tokens per second; input averages about 1,333 tokens per second, much of it a cached prefix. Both are well inside what an H100 running vLLM can batch, as an estimate. Sandboxes run as Docker containers on the same host, so there is no separate sandbox bill, within the CPU and RAM the machine comes with.

Option C: a smaller model on an L40S. Qwen3 32B AWQ on our L40S at $1.89/hr for the same 10 hours: about $18.90 a day at the 25 Nov 2026 price, roughly $415.80 a month, provided the smaller model handles your tools well enough.

Break-even. One step on the API costs 6,000 × $0.15 ÷ 1,000,000 + 400 × $0.60 ÷ 1,000,000 = $0.00114. A 10-hour H100 day is $49.90, so at the 25 Nov 2026 price the H100 breaks even at about 35,000 steps a day, around 4.4 times this workload. At that volume the H100 would need to average roughly 389 output and 5,800 input tokens a second over 10 hours; that is plausible with prefix caching, but measure it on your own prompts before relying on it.

The honest conclusion: at 8,000 steps a day the API is cheaper on tokens alone. Teams still self-host for four reasons. Prompts and tool output never leave a machine they control. They can run a fine-tuned or unreleased model. Cost is capped and predictable rather than metered per step. And no shared rate limit stalls a 40-step task halfway through.

How fast does a self-hosted agent step run?

A step's wall-clock time is roughly prefill time plus output tokens divided by decode speed, plus the tool's own run time. Decode speed for one sequence is memory-bound, so a rule of thumb is 0.6 to 0.75 × memory bandwidth ÷ bytes of active weights read per token. These are estimates, not measurements.

SetupActive weights read per tokenSingle-stream decode (estimate)400 output tokens40 steps of decode
Qwen3 32B AWQ on L40S (864 GB/s)~18 GB29–36 tok/s11–14 s7–9 min
Qwen3 32B AWQ on H100 PCIe (2.0 TB/s)~18 GB67–83 tok/s5–6 s3–4 min
Qwen3 8B BF16 on RTX 4090 (1,008 GB/s)~16 GB37–46 tok/s9–11 s6–7 min

Three practical lessons come out of this table. Keep outputs short: an agent that writes 150-token tool calls instead of 400-token essays runs more than twice as fast. Bandwidth buys latency: the same 32B model steps two to three times faster on an H100 than on an L40S, which matters for interactive agents and much less for overnight batch agents. And concurrency is nearly free: vLLM batches many agents' steps together, so ten agents sharing one GPU each run only slightly slower than one agent alone, which is why a single dedicated card can carry a whole team's agents.

How to run a private tool-calling model on a rented GPU

On a root-access GPU, vLLM serves Qwen3 with OpenAI-style function calling using the Hermes parser (vLLM 0.10 or later assumed; see the vLLM tool-calling docs):

bash
pip install vllm
vllm serve Qwen/Qwen3-32B-AWQ \
  --max-model-len 32768 \
  --enable-prefix-caching \
  --enable-auto-tool-choice \
  --tool-call-parser hermes \
  --api-key change-me

Your agent then passes tools exactly as it would to OpenAI:

python
from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="change-me")
tools = [{
    "type": "function",
    "function": {
        "name": "run_sql",
        "description": "Run a read-only SQL query against the reporting database",
        "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]},
    },
}]
resp = client.chat.completions.create(
    model="Qwen/Qwen3-32B-AWQ",
    messages=[{"role": "user", "content": "How many orders shipped yesterday?"}],
    tools=tools,
)
print(resp.choices[0].message.tool_calls)

Run each tool in a throwaway container with no network unless it needs one, for example docker run --rm --network none --memory 4g --cpus 2 python:3.12-slim python -c "...". Our guides to AI agent sandboxes and running AI agents in the cloud go further, and the Qwen3 32B AWQ model card lists recommended settings.

How to choose infrastructure for your agents

  • Prototype or low volume. A per-token API plus E2B or Together sandboxes. Cheapest and fastest to build.
  • Many users, each needing isolated code execution. A managed sandbox service such as E2B or Modal, whatever you use for the model.
  • Private data, internal agents, working-hours usage. A dedicated GPU running both model and tools. This is the case Wandering Giants Compute is built for.
  • High, steady volume on one model. Self-host and keep the GPU busy; cheaper hourly providers like RunPod or Hyperstack become attractive if you can run the stack.
  • Event-driven agents that sit idle for hours. Modal's scale-to-zero, accepting cold starts.
  • Agent research and benchmarks. GPU VMs on Lambda or similar, sized to the model under test.

For the architecture behind these choices, read what AI agent infrastructure is, and to build a self-hosted setup end to end, see building a private AI agent platform. For a broader view of GPU clouds, see the best GPU cloud providers.

When Wandering Giants Compute fits your agents

Use us when your agents handle data you do not want in a shared API, when you want the model and its tools on one machine you control, and when the agents work in business hours rather than all night. Launch Qwen3 32B on an L40S or gpt-oss 120B on an H100, point your agent framework at the endpoint, run sandboxes alongside, and pause when the day is done.

Look elsewhere if you need thousands of isolated sandboxes for end users, scale-to-zero, or an SLA, or if your volume is low enough that per-token pricing wins outright, as it does in the example above.

Frequently asked questions

Do AI agents need a GPU?

The agent's orchestration code, tools and sandboxes run happily on CPUs. The GPU is for the model. If you call a hosted API you need no GPU at all; if you want a private or custom model, low per-step latency without rate limits, or fixed costs, you run the model on a GPU.

What is an agent sandbox?

A sandbox is an isolated environment, usually a container or microVM, where an agent can run code, use a shell or drive a browser without touching your production systems. E2B, Modal and Together AI sell sandboxes as a service; on a root-access GPU machine you can run your own with Docker.

Which open model is good for agent tool calling?

Qwen3 models and gpt-oss are widely used for tool calling and both are served with function-calling support in vLLM. Qwen3 32B in 4-bit fits a 48 GB L40S; gpt-oss 120B fits an 80 GB H100. Test on your own tools, because tool-calling quality varies by task.

Is self-hosting the model cheaper for agents than an API?

Only at higher volume. In our worked example, a 200-task-a-day agent costs about $9 a day on Together AI's gpt-oss-120B against about $49.90 a day for an H100 running 10 hours. The GPU breaks even at roughly 35,000 agent steps a day, or sooner if you need privacy or a custom model.

Why do agents use so many input tokens?

Each step re-sends the system prompt, tool definitions and the growing history of previous steps, so input tokens can be ten or more times output tokens. Prefix caching, which vLLM supports, avoids recomputing the shared start of the prompt and makes self-hosted agents much cheaper to run.

Can I run the model and the agent's tools on the same rented machine?

Yes, with root access. Run vLLM on the GPU and your agent runtime, browser automation and Docker sandboxes on the same host's CPUs. That keeps tool results and prompts on one machine and removes a network hop per step.

Wandering Giants Compute

Rent the GPU for this, by the minute.

Launch Qwen3 32B or gpt-oss 120B as a private tool-calling endpoint, with root access for your agent's sandboxes, billed by the minute.

Prepaid credit, billed by the minute, stops itself when credit runs out. Prices in £, $, €, ¥, CA$, A$, CHF and S$; UK prices include VAT.

Keep reading

About this article. Written by the Wandering Giants Compute team, the people who run Wandering Giants Compute. Hardware figures are the manufacturers’ published specifications. Speeds and costs marked as estimates are worked out from those specifications and our current prices, with the method shown; they are not measured benchmarks. Wandering Giants prices are taken live from our price list each time this page is built.

Last reviewed 25 November 2026.