{
 "kind": "api",
 "slug": "codesandbox-sdk",
 "path": "apis/codesandbox-sdk/",
 "name": "CodeSandbox SDK",
 "logo": "https://agentgid.com/media/avatars/codesandbox.png",
 "maker": "CodeSandbox (Together AI)",
 "density": "basic",
 "crumbs": [
  [
   "APIs",
   "apis/"
  ],
  [
   "Code sandboxes",
   "apis/sandbox/"
  ]
 ],
 "lead": "Programmatic microVM sandboxes with snapshot/fork, for running agent and user code.",
 "chips": [
  {
   "label": "Code sandboxes",
   "path": "apis/sandbox/"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @codesandbox/sdk"
 },
 "links": [
  {
   "label": "Website",
   "href": "https://codesandbox.io"
  },
  {
   "label": "Pricing",
   "href": "https://codesandbox.io/docs/sdk/pricing"
  },
  {
   "label": "GitHub",
   "href": "https://github.com/codesandbox/codesandbox-sdk"
  }
 ],
 "track": "Outages, price changes and new versions on your dashboard",
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free credits",
   "status": "cond",
   "sub": "One-time or needs a card",
   "quote": null,
   "note": "Free tier: Build plan: free, 10 concurrent VMs (included credits not stated). As reported on the official pricing page, checked .",
   "src": "https://codesandbox.io/docs/sdk/pricing"
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": "Read the terms before you ship",
   "note": "We have not read this API's terms yet. Until we do, check its terms of service for commercial use and whether it trains on what you send.",
   "src": "https://codesandbox.io"
  },
  {
   "key": "key",
   "label": "Key & sign-up",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "We have not read how this API signs you up and issues keys yet.",
   "src": "https://codesandbox.io"
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Docs for agents",
   "status": "info",
   "sub": "SDK",
   "quote": null,
   "note": " Our agent check: 2 of 6 (Nov 13, 2026).",
   "src": "https://codesandbox.io"
  }
 ],
 "vfoot": "Checked against the maker's official pages, pricing on .",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What CodeSandbox SDK does",
   "parts": [
    {
     "t": "prose",
     "text": "Programmatic microVM sandboxes with snapshot/fork, for running agent and user code."
    },
    {
     "t": "list",
     "items": [
      "CodeSandbox SDK is one of 12 APIs in the Code sandboxes category on AgentGid.",
      "Its cheapest paid plan ($170 a month) is the 6th cheapest of the 9 here with a monthly plan.",
      "It is one of 11 that can be started for free.",
      "4 of them ship an official MCP server; CodeSandbox SDK does not.",
      "Its official SDK is the 5th most downloaded in the category (70.7K a week)."
     ],
     "muted": true
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "CodeSandbox SDK popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "70.7K",
       "l": "SDK downloads a week",
       "d": null,
       "up": false
      },
      {
       "n": "3",
       "l": "public agent repos use its SDK"
      },
      {
       "n": "116",
       "l": "GitHub stars, codesandbox/codesandbox-sdk"
      }
     ]
    },
    {
     "t": "small",
     "text": "SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026."
    }
   ]
  },
  {
   "id": "pricing",
   "nav": "Pricing and limits",
   "h2": "Pricing",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free tier",
       "v": "Build plan: free, 10 concurrent VMs (included credits not stated)"
      },
      {
       "l": "Cheapest plan",
       "v": "$170 a month"
      },
      {
       "l": "Usage price",
       "v": "$0.01486 per VM credit; Nano VM (2 cores, 4 GB) 10 credits/hour = $0.1486/hour; Pico 5 credits/hour = $0.0743/hour"
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported on the official pricing page, checked . Prices change: confirm before you buy.",
     "link": "codesandbox.io/docs/sdk/pricing",
     "href": "https://codesandbox.io/docs/sdk/pricing"
    }
   ]
  },
  {
   "id": "agent",
   "nav": "For agents",
   "h2": "Use it from an agent",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Our agent check",
       "v": "2 of 6: llms.txt no, OpenAPI no, SDK yes, MCP no, status page yes, AI assistants allowed no",
       "sub": "Checked Nov 13, 2026."
      },
      {
       "l": "MCP server",
       "v": "None found",
       "sub": null
      },
      {
       "l": "npm",
       "v": "npm install @codesandbox/sdk",
       "code": true
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "CodeSandbox SDK",
       "me": true,
       "facts": [
        "from $0.01486 per VM credit",
        "Free tier"
       ]
      },
      {
       "name": "Modal Sandboxes",
       "why": "Serverless isolated containers for coding agents and untrusted code, with GPUs available.",
       "path": "apis/modal-sandboxes/",
       "facts": [
        "from $0.00000667 per GiB per",
        "Free tier"
       ]
      },
      {
       "name": "Vercel Sandbox",
       "why": "Ephemeral Linux microVMs on Vercel for running untrusted or AI-generated code.",
       "path": "apis/vercel-sandbox/",
       "facts": [
        "from $0.0212 per GB-hour",
        "Free tier",
        "Official MCP"
       ]
      },
      {
       "name": "E2B",
       "why": "Secure cloud sandboxes (microVMs) where agents run code, start in under a second.",
       "path": "apis/e2b/",
       "facts": [
        "Free (open source)",
        "Free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Daytona",
       "why": "Fast-starting sandboxes (CPU, GPU, Windows) for running AI-generated code, billed per second.",
       "path": "apis/daytona/",
       "facts": [
        "from $0.000108 per GiB-hour after",
        "Free tier",
        "Official MCP"
       ]
      }
     ],
     "more": "All code sandboxes APIs",
     "more_path": "apis/sandbox/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install the official SDK.",
     "code": "npm install @codesandbox/sdk"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for CodeSandbox SDK yet: we have not written its hand-checked card. Its official docs are linked at the top."
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "CodeSandbox (Together AI)"
  ],
  [
   "Category",
   "Code sandboxes"
  ],
  [
   "Price",
   "from $0.01486 per VM credit"
  ],
  [
   "Plans from",
   "$170/mo"
  ],
  [
   "Official SDK",
   "npm @codesandbox/sdk"
  ],
  [
   "Agent check",
   "2 of 6"
  ]
 ],
 "good": [],
 "checked_line": "From the official site and pricing page, checked ; no hand-checked card yet; usage numbers update daily."
}