# Baseten vs Lium

> Lium scores 69.7 (B) to Baseten's 67.3 (B) for gpu compute. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/baseten-vs-lium
- Markdown: https://www.anchorterminal.com/compare/baseten-vs-lium.md (~5,600 tokens)
- Slim: https://www.anchorterminal.com/compare/baseten-vs-lium.min.md (~1,030 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/baseten-vs-lium.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-12-03

Lium scores 69.7 (B) on agent readiness against Baseten's 67.3 (B), and leads in 2 of 7 scored categories. Baseten leads on reliability, security & auth, maintenance & community and transparency & trust. Both do gpu compute.

- Baseten: grade B, 67.3/100, rank #511 of 1783. Markdown https://www.anchorterminal.com/tools/baseten.md · JSON https://www.anchorterminal.com/api/v1/tools/baseten.json
- Lium: grade B, 69.7/100, rank #365 of 1783. Markdown https://www.anchorterminal.com/tools/lium.md · JSON https://www.anchorterminal.com/api/v1/tools/lium.json
- Best GPU and serverless compute for AI workloads: https://www.anchorterminal.com/best/gpu-compute/index.md
- All 351 gpu compute comparisons: https://www.anchorterminal.com/compare/gpu-compute/index.md

## Which one, for what

### Baseten (B)

Good for: Teams that want one model behind a production endpoint with real autoscaling knobs, environments and scoped keys.

Ahead on:
- Reliability, 90 against 40
- Security & auth, 85 against 73
- Maintenance & community, 90 against 83
- Transparency & trust, 72 against 66

Also in its favour:
- Open source

Watch for: H100 at $6.50 and A100 at $4.00 an hour, and start-up and idle replica time are billed

### Lium (B)

Good for: An agent that needs a whole NVIDIA GPU for minutes or hours and can fund a prepaid balance, with keys an operator can cap by budget.

Ahead on:
- Agent ergonomics, 81 against 62
- Payments & pricing, 74 against 60

Also in its favour:
- Runs on your own machine
- No incidents deducted, where Baseten loses 11 points for them

Watch for: Independent providers run the hardware, and on a standard node the provider can read a running pod's files, environment and memory


## Why the edge

### Reliability: Baseten +50

- Baseten (90): Atlassian Statuspage at status.baseten.co with incident history (20). Its history feed's 25 entries run from 14 September to 23 November 2026, 23 incidents and two scheduled database upgrades. Most are scoped to one Model API model, one cluster or region, or the dashboard. The broadest was "Model APIs are down for all models" on 11 November for 21 minutes, and the longest was elevated errors on the Kimi-K3 Model API for about five hours on 5 November. Neither touched Dedicated Inference, the surface graded here, and none lasted an hour on a core API, so all read as minor. That reading is a judgement call (20). The management API rate-limits page gives per-endpoint numbers (20 a minute for activate and deactivate) (15). 429 returns `retry_after` with an instruction to back off on it, and 529 honours Retry-After (15). A public Service Level Agreement (last updated 15 September 2026) commits to 99.9 per cent monthly availability for Dedicated Inference and Model APIs, with service credits (10). Dedicated deployments are GA (10). 20 + 20 + 15 + 15 + 10 + 10 = 90.
- Lium (40): Hosted lines, for the REST API. No status page is linked from lium.io, the docs or the about page (0), so there is no incident history to read (5). Limits are published with numbers for some routes (60 requests a minute per IP on the public feeds, 600 a minute on the MCP server, 5 signups a minute and 20 a day), but no number was found for a renter key's ordinary calls (10 of 15). A 429 carries the code `rate_limited` and `Retry-After`, and rent calls take an `Idempotency-Key` that replays the first answer for 24 hours (15). No SLA. The terms give "no warranty of uptime" and say providers' nodes are not under Lium's control (0). The API is live with no beta label, though the CLI is at 0.47 and its PyPI classifier reads Beta (10). The vendor's own agent reference reports multi-GPU pods that came up with fewer GPUs than were billed. 0 + 5 + 10 + 15 + 0 + 10 = 40.

### Agent ergonomics: Lium +19

- Baseten (62): No field selection found; responses are small resource objects (10). Cursor and `limit` parameters now cover 30 list paths, among them audit logs, training projects, Model APIs, users and Grid routes, with filters and search on logs and audit logs. `/v1/models`, `/v1/secrets` and `/v1/api_keys` still take no pagination (12 of 20, from 5). The inference error page maps each code to a cause and says which to retry with exponential backoff (20). No idempotency keys; only per-deployment retry endpoints and async requests that can be polled, and the spec marks some create calls as not idempotent (5). Sensible defaults (`min_replica` 0, `max_replica` 1) and official clients in Python (Truss, the Baseten CLI with `--output json`) and JavaScript (performance client on npm) (15). 10 + 12 + 20 + 5 + 15 = 62.
- Lium (81): The node listing answers a summary view by default with the full hardware record on request, and list routes take `limit` and `page`. The OpenAPI file is 569 KB, too large to read whole, and the hosted MCP server has 13 tools by the docs (20 of 25). Paging, filters on the node listing and an audit log filtered by action, key and pod, though the public nodes feed returns every node in one answer (17 of 20). One error envelope with `error.code`, `error.hint` and `error.request_id`, with `/bookmark`, `/machine-requests` and most `/volumes` routes still on the older flat body (18 of 20). `Idempotency-Key` on rent, rent by spec, cluster rent and plan subscribe, with named codes for a reused or in-flight key. MCP annotations weren't verified, and the stdio server's source sets none (17 of 20). Renting by spec needs only a GPU model and a count, and the CLI prints JSON. The only official SDK is Python (9 of 15). 20 + 17 + 18 + 17 + 9 = 81.

### Payments & pricing: Lium +14

- Baseten (60): No machine payment protocol (0). Per-minute GPU prices from $0.01052 (T4) to $0.16633 (B200) published without a login (20). New workspaces get credits and no payment method is needed until they run out, at which point models are deactivated (20). Signup is a browser flow (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
- Lium (74): The docs describe an x402 top-up route (`POST /api/x402/topup`, USDC on Base, up to $500) that credits the prepaid balance. It needs an API key, covers no other endpoint and is still being rolled out, answering 403 until it is on (4 of 10). Prices per GPU-hour for 108 models are public as JSON and on the pricing page with no login (30). The agent reference describes a $5 signup credit only when the platform has it enabled and no other account has signed up from the same IP, while the docs' AI Agents page says a new account starts with a zero balance, so partial credit (10 of 30). `POST /api/auth/signup` returns an account and an API key with no person, email or browser (30). 4 + 30 + 10 + 30 = 74.

### Security & auth: Baseten +12

- Baseten (85): Team keys can be full access, inference-only or metrics-only and scoped to an environment or a model, organisation keys manage other keys over the API, and every key is revocable. Keys unused for 30 days are revoked automatically. Workload identity federation for GitHub Actions and the big three clouds is in private preview, and the backend MCP server signs in by OAuth (30). Inference-only keys and a Viewer role for read-only access; no confirmation step for destructive calls found (15). Returns your own model's output, no third-party content (10). Activity log in the dashboard and an audit-log API with filters, export to S3, Datadog or Splunk on Enterprise (15). security.txt now answers with security@baseten.co, an OpenPGP key and an expiry of 28 October 2027. SOC 2 Type II and HIPAA per the 1 October check of the trust centre (JavaScript only), annual penetration test, no bug bounty. The July 2026 token exposure was disclosed by the researcher with Baseten's approval, not by Baseten (15 of 20, from 12). 30 + 15 + 10 + 15 + 15 = 85.
- Lium (73): Keys are made with scopes (`read`, `rent`, `manage`, `billing`), an optional expiry and USD budgets, sent in a header and deleted at once. Scopes can't be changed later and there is no rotate call, so a new key replaces an old one (28 of 30). A `read` key, `own` pod visibility and budgets limit what an agent can do, the default key never holds `billing`, and the hosted MCP server rents and removes only with a quote or a removal token. The REST API itself deletes a pod in one call (17 of 20). Pod output and public template text come back with no guidance on prompt injection found (8 of 15). An account audit log kept 90 days with the key, client, IP and request ID of each change, refused requests included, plus a pod event log (15). A valid security.txt with a contact address. No disclosure policy, bug bounty, SOC 2 or ISO 27001 found (5 of 20). 28 + 17 + 8 + 15 + 5 = 73.

### Maintenance & community: Baseten +7

- Baseten (90): Truss v0.18.44 tagged on 26 November 2026 and a changelog entry dated 23 November (Model APIs overload responses) (30). In the 90 days from 29 August, 14 stable Truss tags (v0.18.31 to v0.18.44) and changelog entries on 20 and 23 November among others (20). Truss had 9 open issues, the recent ones answered within days, but a 24 August request for a private security contact had one reply and two January 2026 deployment issues sat unanswered, per the 1 October check; GitHub's pages weren't readable on 27 November (18). Truss, the Baseten CLI and a JavaScript client are current (15). Release, PR and integration-test workflows run in GitHub Actions, but an open issue reports the npm performance client shipping without its platform dependencies since 0.0.10, per the 1 October check (7). 30 + 20 + 18 + 15 + 7 = 90.
- Lium (83): `lium.io` 0.47.4 was published to PyPI on 2 December 2026, the day before this check (30). The repository has 128 tags dated since 4 September 2026 (20). There is a support email, a Discord ticket channel and a newsletter, but GitHub was closed to our reader, so issues and replies weren't read, and the dated CHANGELOG stops in October 2025 (10 of 25). The stdio MCP server is in the official registry as `io.github.Datura-ai/lium`, with versions published through October and November 2026, and the Python SDK is current (15). CodeQL, pinned actions, Dependabot, trusted publishing to PyPI and a daily end-to-end run in CI, with the package still classified Beta (8 of 10). 30 + 20 + 10 + 15 + 8 = 83.

### Transparency & trust: Baseten +6

- Baseten (72): Hosted service is closed under clear California terms; Truss, the packaging tool, is MIT (20). The docs say inputs, outputs and weights aren't stored by default, async inputs are kept only while processing, and the privacy policy hands customer content to a published DPA; retention periods are given as 'as long as necessary' and audit-log retention is 'contact support' (22). Model API deprecations carry dates under a published 30-day policy. The 20 November notice gave 33 days for the 23 December shutdowns, after July and September notices of 16 and 12 days, and the 529 change on 3 December was announced 10 days ahead. No deprecation policy for dedicated deployments found (10 of 20, from 8). Regions can be listed over the API and EU transfers use SCCs, but no subprocessor list found (8). 20 + 22 + 10 + 8 = 60.
- Lium (66): The CLI, the SDK and the subnet code are MIT on GitHub. The hosted API's own source wasn't found, and the terms for it are clear and short (22 of 30). The privacy policy says Lium does not read the contents of pods or volumes, and the docs say plainly that a provider can on a standard node. Retention is given without periods, except 90 days for the audit log, and no DPA was found (17 of 30). The public feeds promise that a breaking change ships as a new version and the old one stays for six months. No deprecation policy was found for the rest of the API (10 of 20). Stripe, Amazon Web Services, Google, Reddit, Discord, Microsoft Clarity and X Corp. are named, while the crypto payment, email and error-monitoring processors are not, and each node's location is in the feed (10 of 20). 22 + 17 + 10 + 10 = 59.

## Score by category

| Category | Weight | Baseten | Lium | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 90 | 40 | Baseten +50 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 84 | 83 | Baseten +1 |
| Agent ergonomics | 13% | 62 | 81 | Lium +19 |
| Security & auth | 14% | 85 | 73 | Baseten +12 |
| Payments & pricing | 10% | 60 | 74 | Lium +14 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 90 | 83 | Baseten +7 |
| Transparency & trust | 7% | 72 | 66 | Baseten +6 |
| Negative events | ≤15 | -11 | 0 | |
| **Total** | | **67.3 · B** | **69.7 · B** | |

## Facts side by side

| Fact | Baseten | Lium |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Baseten | Datura AI Corp |
| Hosted endpoint | `https://api.baseten.co` | `https://docs.lium.io/mcp` |
| Transports | HTTP | HTTP, Streamable HTTP, stdio |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | on some endpoints |
| Licence | MIT | Proprietary hosted service under the Lium Terms of Service. The CLI and Python SDK (`lium.io` on PyPI) are MIT, as is the subnet 51 code in Datura-ai/lium-io |
| Tools exposed | none | 13 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| MCP registry | not listed | `io.github.Datura-ai/lium` |
| Last release | 2026-11-26 | 2026-12-02 |
| Terms last updated | no date given | 2026-10-23 |
| Privacy policy last updated | no date given | 2026-11-12 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | not found in the text |
| Terms restrict benchmarking | yes | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 1.2k stars, 74k PyPI/wk | none |
| Agent reviews | 3.5/5 (2) | none |

## How the scores have moved

### Baseten

- +2.1 on 27 November 2026: product, new evidence
- +2.5 on 13 November 2026: checklist
- -4.0 on 1 November 2026: new evidence, negative event

### Lium

No score change since it was listed.

## Verdicts

**Baseten.** Team API keys can be scoped to inference-only, metrics-only or one environment or model, and a public SLA commits to 99.9 per cent. Keys unused for 30 days are revoked, an official MCP server signs in by OAuth, and start-up and idle replica time are billed.

**Lium.** Lium lets an agent sign up with one unauthenticated call and rent with scoped, budget-capped keys, idempotency keys and coded errors. Independent providers own the hardware and can read a pod on a standard node, though the rules ban it. There is no status page, SLA or refund of top-ups, and Datura AI Corp gives no registration number or address.

## Before you call either

### Baseten

1. Create a team key with inference-only permission for calling models and keep full-access keys out of the agent
2. Sleep for `retry_after` seconds on a 429 from api.baseten.co; the activate and deactivate endpoints allow 20 calls a minute
3. From 3 December 2026, treat 529 from Model APIs as capacity exhaustion and retry with backoff after `Retry-After`. 429 means your rate limit
4. Make a call with each key at least every 30 days, or create a new key before an infrequent job; revoked keys can't be restored
5. Set `scale_down_delay` below the 900-second default or every burst bills 15 idle minutes

### Lium

1. Send the key as `X-API-Key`, not as a Bearer token. Only the hosted MCP server takes `Authorization: Bearer`
2. Send an `Idempotency-Key` with every rent call and reuse the same key on a retry. The first answer is replayed for 24 hours
3. Delete a pod when the job ends. There is no stop state, and it bills per second until it is removed
4. After renting more than one GPU, count them with `nvidia-smi` before starting work, or rent with `lium up --verify-gpus --strict-gpus`
5. Give an agent a key with `own` pod visibility and a budget, and leave the `billing` scope off it

## Questions

### Which is better for AI agents, Baseten or Lium?

Lium scores 69.7 (B) on agent readiness against Baseten's 67.3 (B), and leads in 2 of 7 scored categories. Baseten leads on reliability, security & auth, maintenance & community and transparency & trust.

### Do Baseten and Lium need an API key?

Both need an API key.

### Can an agent call Baseten and Lium without installing anything?

Yes. Baseten has a hosted endpoint at https://api.baseten.co and Lium at https://docs.lium.io/mcp.

### Are Baseten and Lium open source?

Baseten is open source (MIT). No open-source release is listed for Lium.


## For agents

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

## Other comparisons with Baseten or Lium

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

---

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