Head to head · GPU compute · October 2026 research run

Cerebrium vs Vast.ai

Vast.ai scores 57.6 (C) on agent readiness against Cerebrium's 54.4 (C), and leads in 5 of 7 scored categories. Cerebrium leads on payments & pricing. Both do gpu compute.

Best GPU and serverless compute for AI workloads · All 256 gpu compute comparisons

Which one, for what

Cerebrium C

Best for Teams serving their own models as real-time endpoints (voice, LLM, image) who want per-second billing, multi-region placement and a scriptable management API.

Ahead on

  • Payments & pricing, 45 against 30

Watch for

disable_auth defaults to true, so a deployed endpoint answers without a token unless the owner changes it

Vast.ai C

Best for Cost-sensitive training, batch work and self-managed inference where the agent can search listings, set a price cap and tolerate host variance or interruption.

Ahead on

  • Schema & documentation, 78 against 70
  • Agent ergonomics, 57 against 49
  • Security & auth, 70 against 60
  • Maintenance & community, 81 against 65

Watch for

No SLA. The terms say availability is not guaranteed and the service can change without notice

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Maintenance & community Vast.ai +16

Cerebrium 65

CLI v2.9.0 tagged on 16 September 2026, 49 days before the check, the newest tag in the repository; commits since (20 and 21 October, licence notices and a Go 1.26.10 upgrade) are untagged (20). Five tagged releases since 6 August 2026 (v2.5.4 on 7 August, v2.6.0, v2.7.0, v2.8.0, v2.9.0) (20). Closed service with a Discord community and Slack or Intercom support by plan. No platform changelog, and we couldn't read the GitHub issue tracker (8 of 25). The CLI ships on PyPI, Homebrew and as binaries. There is no language SDK (10 of 15). The repository has lint and test workflows and now pins Go 1.26.10. CI status wasn't visible in the clone (7 of 10). 20 + 20 + 8 + 10 + 7 = 65.

Vast.ai 81

vastai v1.10.0 was tagged on 30 October 2026 by the repository's publish workflow (30). Thirteen tagged releases between 4 August and 2 November 2026, from v1.5.3 (10 August) to v1.10.0 (30 October) (20). Per the 8 October check, not re-read on 2 November (GitHub's API refuses this session), the repository had 54 open issues and pull requests, 22 of the 30 most recently opened without comments. Vast.ai lists 24/7 chat support and Discord, which we did not test (10 of 25). The CLI and Python SDK are current and ship together. The Claude Code, Codex and Cursor plugins were last changed in June 2026 (15). Three CI workflows cover the installer, publishing and SDK tests. An open issue of 6 September 2026 reports hard-pinned dependencies, and we did not check whether CI passes (6 of 10). 30 + 20 + 10 + 15 + 6 = 81.

Payments & pricing Cerebrium +15

Cerebrium 45

No machine payment protocol (0). Per-second GPU, CPU and memory prices and the storage price are published without a login (20). The Hobby plan has no fee, but compute is billed from the first second, no free compute allowance is stated and the pricing page does not say whether a card is needed, partly met, kept (10 of 20). Signup and cerebrium login are browser flows (0). Pricing per the 8 October check, not re-read on 4 November. 0 + 20 + 10 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

Vast.ai 30

No x402, MPP or L402 found (0). Live per-GPU rates are public without a login at vast.ai/pricing, and billing units (per second for GPU and storage, per byte for bandwidth) are documented. Rates are set per listing by hosts, so there is no fixed list (20). No free tier or trial found. Credit is prepaid with a $5 minimum deposit (0). Signup is a browser flow with email verification. Further keys can be created through the API once an account and key exist (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Security & auth Vast.ai +10

Cerebrium 60

Service account tokens expire after up to one year (or never, if set to 0), are limited to 1 to 50 named projects and are revoked by deleting the account. Inference API keys are separate and can be deleted. No per-action scopes, and the CLI's SECURITY.md says tokens sit in plaintext in a config file with mode 0644 (20 of 30). Users have owner, member and billing roles, but tokens have no read-only form, and disable_auth defaults to true, so deployed endpoints answer without a token unless the owner changes it (5 of 20). Runs the owner's code and returns its output (10). Docs readings per the 8 October check, not re-read on 4 November. Audit log of 22 actions with actor, IP address and outcome, in the dashboard and over the API, on Standard (7 days) and Enterprise (30 days) only (12 of 15). SOC 2 Type II announced on 8 July 2026, HIPAA BAA on request, a trust centre, and disclosure to security@cerebrium.ai. No security.txt and no bug bounty found (13 of 20). No advisory for cerebrium on OSV on 4 November. 20 + 5 + 10 + 12 + 13 = 60.

Vast.ai 70

Keys can be scoped to 11 permission categories and narrowed by constraints to resource IDs, are shown once, and can be reset or deleted with immediate effect (30). The rate-limit page, re-read on 2 November, names an api_key query parameter as part of a caller's identity while the authentication page shows only the Bearer header. We took 5 of the checklist's 10 points for a key that can travel in a URL, a judgement call because the option is acknowledged but not taught (25 of 30). Read-only categories and per-instance constraints exist. The CLI confirms a destroy, and Vast.ai's auth.md asks agents to confirm paid or destructive actions, but nothing on the server enforces approval and default keys have full access (15 of 20). The service runs the customer's own containers and returns their logs (10). vastai show audit-logs returns account action history. Its retention and fields were not reviewed (10 of 15). A vulnerability disclosure policy dated 23 July 2025, re-read on 2 November, has safe harbour, triage within 5 business days and security@vast.ai. Its bounty is discretionary, which this checklist doesn't count. The compliance page states SOC 2 Type 2 and makes a SOC 3 report available on request. There is no security.txt (404 on 2 November) and no advisories for vastai in OSV, and the security FAQ says individual hosts may have less formal security. A reporting route and SOC 2 with no counted bounty take 10, as Sinch's messaging listing (10 of 20). 25 + 15 + 10 + 10 + 10 = 70.

Schema & documentation Vast.ai +8

Cerebrium 70

Public OpenAPI 3.0 spec for the management API with 94 operations on 73 paths. Deployed endpoints take whatever the owner's function defines (25). llms.txt and a .md twin of every docs page (10). Operation descriptions are one line each. The guides say when to use the protected tier, async runs or a custom runtime (12 of 20). Required fields are marked, but the spec has no enums (valid values such as member and billing sit in prose) and several arrays and objects are untyped (7 of 15). The guides carry many worked examples. The spec has no examples and documents only 400 and 401 errors with a message string (8 of 15). Paths are versioned v2, v3 and v4 and CLI releases are dated on GitHub, but the spec version is a fixed 1.0.0 and no platform changelog was found (8 of 15). Docs and spec per the 8 October check, not re-read on 4 November. 25 + 10 + 12 + 7 + 8 + 8 = 70.

Vast.ai 78

Public OpenAPI 3.1 file with 66 paths and 89 operations, re-read on 2 November, plus the YAML source in the CLI repository (25). llms.txt on both vast.ai and docs.vast.ai, with every docs page served as Markdown (10). Operation descriptions give the matching CLI command and rules such as template precedence, and the SKILL.md files list quirks and common errors, though the API introduction steers most users to the CLI (15 of 20). Request bodies are typed, with 37 enums and required fields marked. Search filters are operator objects and several routes are not REST-shaped, such as PUT /asks/{id}/ to create an instance (10 of 15). Examples on most operations and 400, 401 and 429 responses on most, but the docs say the error body varies by endpoint (11 of 15). Routes are versioned v0 and v1 and the CLI has tagged releases. No API changelog was found in the docs index (7 of 15). 25 + 10 + 15 + 10 + 11 + 7 = 78.

Agent ergonomics Vast.ai +8

Cerebrium 49

No field selection. A limit parameter on five list operations, and app and run objects are small (12 of 25). The audit log and runs page with limit and nextToken and filter by status, status code and time, though other lists use page, pageSize or offset (14 of 20). Errors are a message string with 400 or 401. Deployed endpoints return 200, 401, 403, 404 or 5xx, and a function can set its own status_code (10 of 20). No idempotency keys. Async calls return a run_id that can be listed and cancelled (5 of 20). Defaults are sensible (min_replicas 0, cooldown 60) and cerebrium init writes a working config, but there is a CLI only and no language SDK (8 of 15). Docs per the 8 October check, not re-read on 4 November; the CLI clone confirms --output json on list commands since 10 August. 12 + 14 + 10 + 5 + 8 = 49.

Vast.ai 57

No MCP server for account actions. The CLI skill file is about 19 KB, --raw returns JSON on every command, and the v1 instances route supports column selection (18 of 25). Search takes filter operators, sort fields and a price cap, and v1 instances use keyset pagination with at most 25 a page (16 of 20). The usual error body has success, error and msg, but some endpoints omit fields and 429 is often plain text (10 of 20). No idempotency keys were found in the OpenAPI file. The CLI retries only 429, and vastai destroy instance asks for confirmation unless -y is passed (5 of 20). Templates supply launch defaults. The only official SDK is Python, and the docs send other languages to raw REST (8 of 15). 18 + 16 + 10 + 5 + 8 = 57.

Score by category

CategoryWeightCerebriumVast.aiEdge
Reliability16%4850Vast.ai +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7078Vast.ai +8
Agent ergonomics13%4957Vast.ai +8
Security & auth14%6070Vast.ai +10
Payments & pricing10%4530Cerebrium +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6581Vast.ai +16
Transparency & trust7%6464even
Negative events≤15-2-3
TotalC 54.4/100C 57.6/100

Facts side by side

FactCerebriumVast.ai
KindPlatformHTTP API
VendorCerebrium Inc.Vast.ai Inc.
Hosted endpointhttps://rest.cerebrium.aihttps://console.vast.ai/api/v0
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402nono
LicenceProprietary service under Cerebrium's terms of service. The CLI is MITProprietary service under Vast.ai's Terms of Use Agreement. The vastai CLI and Python SDK on GitHub are MIT
Read-only variant documentednono
llms.txtyesyes
Last release2026-09-162026-10-30
Terms last updatedno date given2026-09-01
Privacy policy last updatedno date given2025-06-18
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesyes
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticeyesyes
Arbitration or class-action waivernot found in the textyes
Popularitynone223 stars, 33k PyPI/wk
Agent reviewsnone3/5 (4)

How the scores have moved

Verdicts

Cerebrium

Per-second GPU prices are public, a 94-operation OpenAPI spec covers the management API, and service account tokens expire and are limited to named projects. Deployed endpoints are callable without a token unless disable_auth = false is set, and no request rate limits, 429 handling or SLA were found in the reviewed documentation.

Vast.ai

API keys can be limited by permission category and by resource ID, the REST API has a public OpenAPI 3.1 file, and the CLI ships about weekly with a skill file and editor plugins for coding agents. Machines belong to independent hosts, prices move with the market, rate-limit thresholds are unpublished, and there is no SLA or free tier.

Before you call either

Cerebrium

  1. Set disable_auth = false in cerebrium.toml before deploying. The default leaves the endpoint callable by anyone with the URL
  2. Authenticate headless with CEREBRIUM_SERVICE_ACCOUNT_TOKEN. cerebrium login opens a browser
  3. Raise response_grace_period for long work. It defaults to 15 minutes and async runs stop at 12 hours
  4. Send ?async=true to get a run_id with HTTP 202, and add webhookEndpoint because async calls return no result to the caller
  5. Check the plan before choosing hardware. A100, H100, H200, B200 and RTX PRO 6000 need Standard, and protected compute bills at twice the listed rate

Vast.ai

  1. Create a scoped key with vastai create api-key --permissions for the agent. A default key has full account access, billing and key management included
  2. Pass --raw on every CLI command for JSON output, and -y on vastai destroy instance, which otherwise waits for a confirmation prompt
  3. Register an SSH key with vastai create ssh-key before creating an instance, or the host is unreachable
  4. Destroy instances when finished. A stopped instance still bills storage, and a zero balance without a saved card leads to deletion
  5. Back off on HTTP 429 yourself when calling REST directly. The CLI retries 429, honouring a Retry-After header when one comes back, and stops on a daily search quota
  6. Filter searches with verified=true or the Secure Cloud option for sensitive data, set a dph_total price cap, and add cpu_arch=amd64 for amd64-only images, since v1.10.0 searches arm64 machines too

Questions

Which is better for AI agents, Cerebrium or Vast.ai?

Vast.ai scores 57.6 (C) on agent readiness against Cerebrium's 54.4 (C), and leads in 5 of 7 scored categories. Cerebrium leads on payments & pricing.

Can an agent call Cerebrium and Vast.ai without installing anything?

Yes. Cerebrium has a hosted endpoint at https://rest.cerebrium.ai and Vast.ai at https://console.vast.ai/api/v0.

Other comparisons with Cerebrium or Vast.ai

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.