Daytona
by Daytona Platforms
Cloud computers for AI code, with GPU and Windows.
Code sandboxesOfficial MCP server
1. Price
Free tier: $200 in free compute, no credit card. As reported on the official pricing page, checked Nov 1, 2026.
daytona.io/pricing2. Commercial use
“distribute, resell, lease, or sublicense the Services to any third party or otherwise commercialize the Services in any way”
Fine as part of your own product, but you may not resell or sublicense the service itself; you answer for what your users and agents run.
daytona.io/terms-of-service3. Key & sign-up
“Every request sends the key as a bearer token.”
API key sent as a bearer token; the SDKs read DAYTONA_API_KEY from the environment or a .env file. The CLI can also log in through the browser.
daytona.io/docs/en/authentication.md4. Agent access
“Daytona Model Context Protocol (MCP) server enables AI agents to interact with Daytona Sandboxes programmatically.”
Our agent check: 6 of 6 (Nov 13, 2026).
daytona.io/docs/en/mcp.mdChecked against the maker's official pages, pricing on Nov 1, 2026. Tap a verdict to see its source.How we checkedReport an error
What Daytona does
Daytona rents you small, separate computers in the cloud, called sandboxes, where code written by an AI agent runs safely away from your app. Besides Linux it offers Windows machines and machines with graphics cards. You pay per second for what you reserve, and new accounts get $200 of free compute.
- Daytona is one of 12 APIs in the Code sandboxes category on AgentGid.
- It is one of 11 that can be started for free.
- It ships an official MCP server, like 3 others here.
- Its official SDK is the 4th most downloaded in the category (2.4M a week).
What people build with it
Run the code your AI agent writes
Your agent writes a Python or TypeScript snippet, a sandbox runs it and your app gets the printed result back.
Chat that analyzes a user's data file
A user uploads a spreadsheet, the AI writes analysis code, and the sandbox runs it and returns numbers and charts.
An agent that drives a desktop
Give an AI agent a Linux or Windows desktop it can see and click, to test desktop apps or finish tasks with a mouse and keyboard.
AI work that needs a graphics card
Rent a sandbox with an NVIDIA or AMD graphics card by the second, for example to test AI models or graphics code.
Run private data with no internet Idea
When an agent works on private files, start its sandbox with all outgoing traffic blocked.
Show a preview of an app the agent built
The agent starts a web app inside the sandbox and you share a link that expires, so a client can look at it.
Daytona popularity
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
$200 in free compute, no credit card
No monthly plan
vCPU $0.0504/hour; memory $0.0162 per GiB-hour; storage $0.000108 per GiB-hour after first 5 GiB free
Pay as you go with volume discounts; Enterprise for SSO/BYOC. Windows $0.0858/vCPU-hour; GPUs from $0.57/hour (RTX 4090 preemptible). MCP server ships in the Daytona CLI ('daytona mcp init/start'), not as a separate package. Startups up to $50k credits. Core development moved to a private codebase in June 2026; the public daytonaio/daytona repo is archived (README). SDKs are published from daytona/clients (npm @daytona/sdk, also still @daytonaio/sdk).
What one action costs
| Action | Price |
|---|---|
| 1 vCPU for 1 hour | $0.0504 |
| 1 GiB of memory for 1 hour | $0.0162 |
| 1 Windows vCPU for 1 hour | $0.0858 |
| 1 hour of an RTX 4090 graphics card (preemptible) | $0.57 |
As reported on the official pricing page, checked Nov 1, 2026. Prices change: confirm before you buy. daytona.io/pricing
Limits
10 vCPU, 10 GiB RAM, 30 GiB disk in total; restricted internet access
100 vCPU, 200 GiB RAM, 300 GiB disk; still restricted internet access
250 to 500 vCPU, full internet access by default
10,000 requests and 300 sandbox creations a minute
A running sandbox stops after 15 minutes of inactivity unless you change it
From the official docs. daytona.io/docs/en/limits.md
Key and access
API key sent as a bearer token; the SDKs read DAYTONA_API_KEY from the environment or a .env file. The CLI can also log in through the browser.
DAYTONA_API_KEYNo
Steps only a person can do
- Create a Daytona account and an API key with an expiry date and the needed permissions. Put it in .env as DAYTONA_API_KEY and create the client with Daytona().
- For full internet access or more resources, verify the account and top up to the needed tier. No code change; network allow lists start to take effect on Tier 3 and 4.
Commercial use and your data
It is a paid cloud service with free starting credit. Use it inside your own product; you may not resell access to the service itself. Mining crypto and other abuse are forbidden.
Fine as part of your own product, but you may not resell or sublicense the service itself; you answer for what your users and agents run.
“distribute, resell, lease, or sublicense the Services to any third party or otherwise commercialize the Services in any way” source
The TypeScript and Python packages are Apache-2.0; keep their notices. The old server code is AGPL-3.0 and no longer maintained.
“"license":"Apache-2.0"” source
Daytona does not train on your content; running your own training jobs (for example reinforcement learning) is a documented use.
“Daytona does not use customer content to improve its services or train models, or for any purpose beyond fulfilling your requests.” source
“Daytona does not use customer content to improve its services or train models, or for any purpose beyond fulfilling your requests.”
“Regions managed by Daytona and available to all organizations:”
Errors to handle
Too many requests for your tier.
Retry with exponential backoff (1s, 2s, 4s, 8s) and watch the X-RateLimit-Remaining headers.
The API key is missing, wrong or expired.
Check DAYTONA_API_KEY and the key's expiry date in the dashboard.
The sandbox or file does not exist (for example, it was deleted after stopping).
Create a new sandbox or check the path.
The sandbox did not start in time; it may still be starting.
Use the sandbox_id on the error to get() the sandbox and delete() it, so it does not keep billing.
Conflicting network settings were sent together.
Set only one of networkAllowList, domainAllowList or networkBlockAll.
Use it from an agent
6 of 6: llms.txt yes, OpenAPI yes, SDK yes, MCP yes, status page yes, AI assistants allowed yes
Checked Nov 13, 2026.
Daytona MCP server (part of the Daytona command-line tool)
daytona login, then: daytona mcp init claude (or cursor, windsurf); for other agents daytona mcp config prints the settings to paste
npm install @daytona/sdkpip install daytonaInstructions in its docs to check first
“powershell -Command "irm https://get.daytona.io/windows | iex"”
Ask the person first; it downloads and runs an install script for a global tool.
“npx skills add https://github.com/daytona/skills --skill daytona”
Ask the person first; it installs an unpinned skill into their agent.
Alternatives
Daytona This page
Pick E2B for Linux-only sandboxes with an open-source engine you can host yourself and $100 of free credits.
Pick Vercel Sandbox when your app runs on Vercel and you want to pay mainly for busy CPU time.
Pick Modal Sandboxes when you also run other serverless GPU jobs on Modal.
Get started
Tell your AI assistant
“Run my agent's code in Daytona: on the server, create a Daytona() client that reads DAYTONA_API_KEY from .env, create a sandbox, run the code with process.code_run, check exit_code, return result, and delete the sandbox when done.”
Create an account, create an API key in the dashboard, and save it as DAYTONA_API_KEY in .env.
DAYTONA_API_KEY=YOUR_API_KEYInstall the package for your language.
pip install daytona # or: npm install @daytona/sdkCreate a sandbox, run code and print the result.
from daytona import Daytona daytona = Daytona() sandbox = daytona.create() response = sandbox.process.code_run('print("Hello World")') print(response.result)
First request
Verbatim from the docs. This example leaves out the key header; every request needs Authorization Bearer with your API key, and the sandbox is created first with POST https://app.daytona.io/api/sandbox.
# API responses include exitCode field for error handling
curl 'https://proxy.app.daytona.io/toolbox/{sandboxId}/process/execute' \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"command": "python3 -c \"invalid python code\""
}'# Response includes:
# {
# "result": "",
# "exitCode": 1
# }Mistakes to avoid
The SDKs read the key from the environment, and a key in code ends up in git.
The standard token controls the whole sandbox, including its terminal and files.
Tier network restrictions override sandbox settings.
Stopped container sandboxes still bill for disk; archived and deleted ones do not.
The sandbox may still be starting and billing.
Questions
Is it free to try?
Yes. The pricing page lists $200 in free compute and a free trial with no credit card.
What does an hour of a small Linux sandbox cost?
By our arithmetic from the listed rates: 1 vCPU ($0.0504) plus 2 GiB of memory (2 x $0.0162) is about $0.083 an hour, billed per second; the first 5 GiB of disk are free.
Does Daytona train AI on my code?
No. The terms say customer content is used only to fulfil your requests, not to train models.
Can I keep data in Europe?
Yes. Daytona has shared regions in the United States and in Europe, chosen with the target setting.
Is Daytona open source?
Not any more for the service itself. The old public code stays available under its license but is no longer maintained; development moved to a private codebase in June 2026.