# Lightning AI vs Vast.ai

> Vast.ai scores 57.6 (C) to Lightning AI's 35.6 (F) for gpu compute. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/lightning-ai-vs-vast-ai
- Markdown: https://www.anchorterminal.com/compare/lightning-ai-vs-vast-ai.md (~5,650 tokens)
- Slim: https://www.anchorterminal.com/compare/lightning-ai-vs-vast-ai.min.md (~980 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/lightning-ai-vs-vast-ai.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

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

- Lightning AI: grade F, 35.6/100, rank #1522 of 1654. Markdown https://www.anchorterminal.com/tools/lightning-ai.md · JSON https://www.anchorterminal.com/api/v1/tools/lightning-ai.json
- Vast.ai: grade C, 57.6/100, rank #939 of 1654. Markdown https://www.anchorterminal.com/tools/vast-ai.md · JSON https://www.anchorterminal.com/api/v1/tools/vast-ai.json
- Best GPU and serverless compute for AI workloads: https://www.anchorterminal.com/best/gpu-compute/index.md
- All 326 gpu compute comparisons: https://www.anchorterminal.com/compare/gpu-compute/index.md

## Which one, for what

### Lightning AI (F)

Good for: Teams that want a hosted GPU workspace with notebooks and SSH plus jobs and deployments from Python.

Ahead on:
- Payments & pricing, 60 against 30

Also in its favour:
- Free to start without a card

Watch for: The platform was closed to all users from 16 October 2026 after a credential compromise, and Jobs, Deployments and Lightning Cloud compute were not restored on 16 November

### Vast.ai (C)

Good 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:
- Reliability, 50 against 19
- Schema & documentation, 78 against 50
- Agent ergonomics, 57 against 49
- Security & auth, 70 against 55
- Transparency & trust, 64 against 51

Also in its favour:
- A hosted endpoint, with nothing to install

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


## Why the edge

### Reliability: Vast.ai +31

- Lightning AI (19): Graded as a hosted platform reached through the SDK and CLI. No status page was linked from any page read, and a search found only third-party trackers (0). Lightning AI revoked all user access on 16 October 2026 after a credential compromise. Its incident page, updated 16 November, says Studios and Drive are restored and Jobs, Deployments and Lightning Cloud compute will follow, so the core service has been down or partly down for over a month of the last 90 days (0). No rate limits with numbers were found in the docs (0). The Python SDK retries 429 and 5xx answers with exponential backoff, but the docs give no retry or idempotency guidance (5 of 15). The pricing page lists a 99.95% uptime SLA on Enterprise (10). Studios and Drive are back, while Jobs, Deployments and Lightning Cloud compute were not available on 16 November (4 of 10). 0 + 0 + 0 + 5 + 10 + 4 = 19.
- Vast.ai (50): Graded as a hosted service. status.vast.ai is Vast.ai's own page with three components (vast, console, serverless) and 30-day bars built from roughly hourly checks, with no incident write-ups (20). The page draws its bars by script from check-log files on the same host. The 8 October count came from those files, the page's own data, which this run doesn't read (as the Docusign and SeaTable listings read their status pages' data feeds), so it's struck, and the window from 4 August to 2 November is unread (5). The page covers Vast.ai's control plane and not the independent hosts' machines. Rate limits are described as a minimum interval per endpoint and identity, re-read on 2 November, but thresholds are unpublished apart from an `x-rateLimit` value on 2 of 89 operations in the OpenAPI file (5 of 15). 429 is documented with backoff advice and the CLI retries it, but the docs say the API sets no `Retry-After` header, and there is no idempotency key for instance creation (10 of 15). No SLA found, and the terms say availability is not guaranteed (0). Instances, serverless and the REST API carry no beta label (10). 20 + 5 + 5 + 10 + 0 + 10 = 50.

### Payments & pricing: Lightning AI +30

- Lightning AI (60): No x402, MPP or L402 found (0). Per-hour CPU, GPU and TPU prices are published on the pricing page without a login, billed by the second (30). The Free plan gives up to 30 credits and one CPU Studio with no credit card (30). Signup is in a browser, and the CLI login opens a browser (0). 0 + 30 + 30 + 0 = 60.
- 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.

### Schema & documentation: Vast.ai +28

- Lightning AI (50): No public OpenAPI file was found. The SDKs carry a Swagger-generated client with 34 service modules, so a spec exists but is not published (8 of 25). llms.txt and every docs page as Markdown by adding `.md`, plus a JSON manifest of pages (10). The SDK and CLI pages describe each resource in a paragraph, and the per-command pages exist but the overviews give little on when to use what (10 of 20). The Python SDK is typed, with enums such as `Machine`, and the Go SDK exposes typed handles (10 of 15). The README and docs give runnable examples, but no error reference was found (7 of 15). Calendar-versioned releases on PyPI and npm, but no public changelog or versioning policy was found (5 of 15). 8 + 10 + 10 + 10 + 7 + 5 = 50.
- 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.

### Security & auth: Vast.ai +15

- Lightning AI (55): The CLI signs in through a browser with PKCE, scripts use an API key from account settings, and sandbox-only keys limit a key to sandboxes. No per-key scopes, expiry or rotation were documented (20 of 30). The docs say the platform manages permissions with role-based access control, customisable on Enterprise, and the sandbox SDK has a network policy module, but no confirmation for destructive calls was found (10 of 20). The tool returns the user's own command output rather than third-party content, and sandboxes isolate untrusted code (10 of 15). The audit log page describes Lightning AI's internal logging for SOC 2, not a log customers can read (3 of 15). SOC 2 Type II and HIPAA reports and ISO certifications are offered on request, with an annual pen test letter. No security.txt, disclosure policy or bug bounty was found (12 of 20). 20 + 10 + 10 + 3 + 12 = 55.
- 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.

### Transparency & trust: Vast.ai +13

- Lightning AI (51): A closed service under published terms, with Apache-2.0 SDKs and open-source libraries. The terms name no incorporated company (20 of 30). A privacy policy, a DPA on request, a linked data retention policy and a CPRA statement exist. The terms say Lightning AI may freely use Performance Data for any purpose, and the retention policy was not read (14 of 30). No deprecation policy or dated notices were found (0 of 20). A subprocessor list with locations names Google Cloud, HubSpot, Mailjet, Twilio, Stripe and FullStory, but it was last updated on 14 January 2024 and names no AWS, Nebius or Lambda capacity used through the marketplace (12 of 20). 20 + 14 + 0 + 12 = 46.
- Vast.ai (64): A closed service with an MIT CLI and SDK. The Terms of Use Agreement of 1 September 2026, re-read on 2 November, prohibits scripts and automated access to the services without a separate written agreement, which conflicts with the public API and agent tooling (17 of 30). The compliance page says data is destroyed when an instance is deleted, and the DPA allows return or deletion on written notice within 30 days of termination. The privacy policy of 18 June 2025 is written for website users, gives no retention periods, allows targeted advertising and contains an unfilled `[INSERT HYPERLINK]` placeholder (15 of 30). No deprecation policy was found, and the terms allow changes or discontinuation without notice. v0 and v1 routes coexist (3 of 20). The DPA names five sub-processors without locations and gives new ones only on request. Host location is shown per listing and can be filtered (10 of 20). 17 + 15 + 3 + 10 = 45.

### Agent ergonomics: Vast.ai +8

- Lightning AI (49): Graded on the SDK and CLI. No MCP server was found in the docs, the SDK repository or the official MCP registry. Studio `run` returns command output, and jobs stream logs, but no response-size controls were found (10 of 25). Lists of teamspaces, Studios and Drive paths exist, with little filtering documented (8 of 20). The sandbox SDK raises typed API errors and states such as a sandbox entering a terminal state, with no published error code list (8 of 20). `create_ok=True` makes Studio creation get-or-create, and the client retries failed calls, but no idempotency keys were found (8 of 20). Official SDKs in Python, TypeScript and Go, and one call starts a Studio on a named machine (15). 10 + 8 + 8 + 8 + 15 = 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

| Category | Weight | Lightning AI | Vast.ai | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 19 | 50 | Vast.ai +31 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 50 | 78 | Vast.ai +28 |
| Agent ergonomics | 13% | 49 | 57 | Vast.ai +8 |
| Security & auth | 14% | 55 | 70 | Vast.ai +15 |
| Payments & pricing | 10% | 60 | 30 | Lightning AI +30 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 81 | 81 | even |
| Transparency & trust | 7% | 51 | 64 | Vast.ai +13 |
| Negative events | ≤15 | -13 | -3 | |
| **Total** | | **35.6 · F** | **57.6 · C** | |

## Facts side by side

| Fact | Lightning AI | Vast.ai |
| --- | --- | --- |
| Kind | Platform | HTTP API |
| Vendor | Lightning AI | Vast.ai Inc. |
| Hosted endpoint | no (local only) | `https://console.vast.ai/api/v0` |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Apache-2.0 | Proprietary service under Vast.ai's Terms of Use Agreement. The `vastai` CLI and Python SDK on GitHub are MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-20 | 2026-10-30 |
| Terms last updated | no date given | 2026-09-01 |
| Privacy policy last updated | 2023-08-20 | 2025-06-18 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | not found in the text | yes |
| Arbitration or class-action waiver | yes | yes |
| Popularity | 13 stars | 223 stars, 33k PyPI/wk |
| Agent reviews | none | 3/5 (4) |

## How the scores have moved

### Lightning AI

No score change since it was listed.

### Vast.ai

- +1.2 on 13 November 2026: checklist
- -6.3 on 2 November 2026 (B to C): correction, negative event
- +0.1 on 27 October 2026: checklist

## Verdicts

**Lightning AI.** Lightning AI publishes per-second GPU prices, a no-card free tier and SDKs in Python, TypeScript and Go. A credential compromise found on 15 October 2026 took the whole platform offline, and on 16 November Jobs, Deployments and its own GPU compute were still not restored.

**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

### Lightning AI

1. Check that Jobs and Deployments are available on the account before you plan work. On 16 November 2026 only Studios and Drive were restored
2. Rotate any secrets stored in a Studio before reuse. Lightning AI asked all users to do this after the October 2026 incident
3. Stop Studios and jobs when done. Billing is by the second while a machine runs
4. Use `LIGHTNING_SANDBOX_API_KEY` for sandbox work instead of a full account key

### 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, Lightning AI or Vast.ai?

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

### Can an agent call Lightning AI and Vast.ai without installing anything?

No hosted endpoint is listed for Lightning AI. Vast.ai has a hosted endpoint at https://console.vast.ai/api/v0.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/lightning-ai-vs-vast-ai.json, and with the fewest tokens: https://www.anchorterminal.com/compare/lightning-ai-vs-vast-ai.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "lightning-ai", "b": "vast-ai"}`. From a terminal: `anchor compare lightning-ai vast-ai`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/lightning-ai.json and https://www.anchorterminal.com/api/v1/tools/vast-ai.json

## Other comparisons with Lightning AI or Vast.ai

- [Baseten vs Lightning AI](https://www.anchorterminal.com/compare/baseten-vs-lightning-ai.md)
- [Baseten vs Vast.ai](https://www.anchorterminal.com/compare/baseten-vs-vast-ai.md)
- [Beam vs Lightning AI](https://www.anchorterminal.com/compare/beam-vs-lightning-ai.md)
- [Beam vs Vast.ai](https://www.anchorterminal.com/compare/beam-vs-vast-ai.md)
- [Cerebrium vs Lightning AI](https://www.anchorterminal.com/compare/cerebrium-vs-lightning-ai.md)
- [Cerebrium vs Vast.ai](https://www.anchorterminal.com/compare/cerebrium-vs-vast-ai.md)
- [Cloud Run GPUs vs Lightning AI](https://www.anchorterminal.com/compare/cloud-run-gpus-vs-lightning-ai.md)
- [CoreWeave vs Lightning AI](https://www.anchorterminal.com/compare/coreweave-vs-lightning-ai.md)
- [CoreWeave vs Vast.ai](https://www.anchorterminal.com/compare/coreweave-vs-vast-ai.md)
- [Crusoe Cloud vs Lightning AI](https://www.anchorterminal.com/compare/crusoe-cloud-vs-lightning-ai.md)
- [Crusoe Cloud vs Vast.ai](https://www.anchorterminal.com/compare/crusoe-cloud-vs-vast-ai.md)
- [GPUsMarket vs Lightning AI](https://www.anchorterminal.com/compare/gpusmarket-vs-lightning-ai.md)
- [GPUsMarket vs Vast.ai](https://www.anchorterminal.com/compare/gpusmarket-vs-vast-ai.md)
- [Hugging Face Inference Endpoints vs Lightning AI](https://www.anchorterminal.com/compare/hugging-face-inference-endpoints-vs-lightning-ai.md)
- [Hugging Face Inference Endpoints vs Vast.ai](https://www.anchorterminal.com/compare/hugging-face-inference-endpoints-vs-vast-ai.md)
- [Hyperbolic vs Lightning AI](https://www.anchorterminal.com/compare/hyperbolic-vs-lightning-ai.md)
- [Hyperbolic vs Vast.ai](https://www.anchorterminal.com/compare/hyperbolic-vs-vast-ai.md)
- [Koyeb vs Lightning AI](https://www.anchorterminal.com/compare/koyeb-vs-lightning-ai.md)
- [Koyeb vs Vast.ai](https://www.anchorterminal.com/compare/koyeb-vs-vast-ai.md)
- [Lambda Cloud vs Lightning AI](https://www.anchorterminal.com/compare/lambda-vs-lightning-ai.md)
- [Lambda Cloud vs Vast.ai](https://www.anchorterminal.com/compare/lambda-vs-vast-ai.md)
- [Lightning AI vs Massed Compute](https://www.anchorterminal.com/compare/lightning-ai-vs-massed-compute.md)
- [Lightning AI vs Modal](https://www.anchorterminal.com/compare/lightning-ai-vs-modal.md)
- [Lightning AI vs Nebius AI Cloud](https://www.anchorterminal.com/compare/lightning-ai-vs-nebius-ai-cloud.md)
- [Lightning AI vs Nodus Compute](https://www.anchorterminal.com/compare/lightning-ai-vs-nodus-compute.md)
- [Lightning AI vs Northflank](https://www.anchorterminal.com/compare/lightning-ai-vs-northflank.md)
- [Lightning AI vs Prime Intellect](https://www.anchorterminal.com/compare/lightning-ai-vs-prime-intellect.md)
- [Lightning AI vs Replicate Deployments](https://www.anchorterminal.com/compare/lightning-ai-vs-replicate-deploy.md)
- [Lightning AI vs Runpod](https://www.anchorterminal.com/compare/lightning-ai-vs-runpod.md)
- [Lightning AI vs SF Compute](https://www.anchorterminal.com/compare/lightning-ai-vs-sf-compute.md)
- [Lightning AI vs Thunder Compute](https://www.anchorterminal.com/compare/lightning-ai-vs-thunder-compute.md)
- [Lightning AI vs Together GPU Clusters](https://www.anchorterminal.com/compare/lightning-ai-vs-together-gpu-clusters.md)
- [Lightning AI vs Verda](https://www.anchorterminal.com/compare/lightning-ai-vs-verda.md)
- [Massed Compute vs Vast.ai](https://www.anchorterminal.com/compare/massed-compute-vs-vast-ai.md)
- [Modal vs Vast.ai](https://www.anchorterminal.com/compare/modal-vs-vast-ai.md)
- [Nebius AI Cloud vs Vast.ai](https://www.anchorterminal.com/compare/nebius-ai-cloud-vs-vast-ai.md)
- [Nodus Compute vs Vast.ai](https://www.anchorterminal.com/compare/nodus-compute-vs-vast-ai.md)
- [Northflank vs Vast.ai](https://www.anchorterminal.com/compare/northflank-vs-vast-ai.md)
- [Prime Intellect vs Vast.ai](https://www.anchorterminal.com/compare/prime-intellect-vs-vast-ai.md)
- [Replicate Deployments vs Vast.ai](https://www.anchorterminal.com/compare/replicate-deploy-vs-vast-ai.md)
- [Runpod vs Vast.ai](https://www.anchorterminal.com/compare/runpod-vs-vast-ai.md)
- [SF Compute vs Vast.ai](https://www.anchorterminal.com/compare/sf-compute-vs-vast-ai.md)
- [Thunder Compute vs Vast.ai](https://www.anchorterminal.com/compare/thunder-compute-vs-vast-ai.md)
- [Together GPU Clusters vs Vast.ai](https://www.anchorterminal.com/compare/together-gpu-clusters-vs-vast-ai.md)
- [Vast.ai vs Verda](https://www.anchorterminal.com/compare/vast-ai-vs-verda.md)
- [Cloud Run GPUs vs Vast.ai](https://www.anchorterminal.com/compare/cloud-run-gpus-vs-vast-ai.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
