# Telnyx Compute: GPU Sandboxes — Documentation Index > GPU Sandboxes documentation within the Compute section of the Telnyx developer docs (https://developers.telnyx.com). > This file: https://developers.telnyx.com/docs/development/llms/compute-gpu-sandboxes-llms-txt · Root index: https://developers.telnyx.com/llms.txt ## Overview - [Overview](https://developers.telnyx.com/docs/gpu-sandboxes.md): Run a container image of your choice on a dedicated GPU node, exec into it, transfer files, stream its logs, and read its metrics through one REST API. Billed per second. ## Get Started - [Get Started](https://developers.telnyx.com/docs/gpu-sandboxes/quickstart.md): Create a GPU sandbox, run a command in it, read its output, and terminate it with the Telnyx CLI or curl. ## Concepts - [Lifecycle](https://developers.telnyx.com/docs/gpu-sandboxes/lifecycle.md): Sandbox states, termination reasons, exit codes, timeouts, readiness probes, names, tags, and retention. - [GPU Types and Billing](https://developers.telnyx.com/docs/gpu-sandboxes/resources.md): Whole-node GPU rental, sizing from the GPU type catalog, GPU limits, queueing, and per-second billing for GPU Sandboxes. - [Images and Environment](https://developers.telnyx.com/docs/gpu-sandboxes/images.md): Supported container images, what an image needs to use the GPUs, and how a sandbox's command, working directory, and environment variables are resolved. - [Networking](https://developers.telnyx.com/docs/gpu-sandboxes/networking.md): Sandbox network modes: public internet, a CIDR allowlist, or no network at all. Sandboxes never reach Telnyx internal addresses. ## Guides - [Execs](https://developers.telnyx.com/docs/gpu-sandboxes/execs.md): Run commands in a running sandbox, wait for their exit codes, send signals, and close their stdin. Execs keep running when clients disconnect. - [WebSocket Attach](https://developers.telnyx.com/docs/gpu-sandboxes/attach.md): Stream an exec's output with resumable byte offsets, write to its stdin, and write to the sandbox main process's stdin over WebSockets. - [Files](https://developers.telnyx.com/docs/gpu-sandboxes/files.md): Read, write, list, and delete files inside a running sandbox, with atomic writes and files of up to 64 MiB per request. - [Logs](https://developers.telnyx.com/docs/gpu-sandboxes/logs.md): Read a sandbox's stdout and stderr page by page, or follow them live as Server-Sent Events. Logs are stored in your own Telnyx Cloud Storage bucket. - [Metrics](https://developers.telnyx.com/docs/gpu-sandboxes/metrics.md): Read a sandbox's latest CPU, memory and network usage and a per-minute series for a time range. ## Reference - [API Conventions](https://developers.telnyx.com/docs/gpu-sandboxes/api-conventions.md): Base URL, authentication, access checks, response envelope, pagination, idempotency, long polls, and streaming connections for the GPU Sandboxes API. - [Errors](https://developers.telnyx.com/docs/gpu-sandboxes/errors.md): The GPU Sandboxes API's error body, its named errors with their HTTP statuses, and which errors are safe to retry. - [Limits and Defaults](https://developers.telnyx.com/docs/gpu-sandboxes/limits.md): Defaults, minimums, and maximums for sandboxes, execs, files, logs, metrics, and API requests. ## API Reference (GPU Sandboxes) ### Sandboxes - [Create a sandbox](https://developers.telnyx.com/api-reference/sandboxes/create-a-sandbox.md): Creates a sandbox and returns it at once in state `queued`. It then starts in the background (`queued` → `preparing`, when its GPUs need preparing → `scheduled… - [List sandboxes](https://developers.telnyx.com/api-reference/sandboxes/list-sandboxes.md): Lists your organization's sandboxes, newest first. Without `state`, only non-terminated sandboxes are listed; add `state=terminated` for finished ones. Filter… - [Get a sandbox](https://developers.telnyx.com/api-reference/sandboxes/get-a-sandbox.md): Returns one sandbox: its `state`, `termination_reason`, `exit_code` and `ready`, what was requested, and what was resolved. Poll it to follow a sandbox startin… - [Replace a sandbox's tags](https://developers.telnyx.com/api-reference/sandboxes/replace-a-sandboxs-tags.md): Replaces the sandbox's whole tag set; `{}` clears it. Tags are the only thing you can change after create; any other field is rejected. Works on terminated san… - [Wait for a sandbox to end](https://developers.telnyx.com/api-reference/sandboxes/wait-for-a-sandbox-to-end.md): Long-poll: returns as soon as the sandbox is `terminated`, or after at most 10 s, whichever comes first, always with `200` and the sandbox as it is then. If `s… - [Terminate a sandbox](https://developers.telnyx.com/api-reference/sandboxes/terminate-a-sandbox.md): Stops the sandbox. A queued or preparing sandbox is cancelled at once. A sandbox that has been placed is stopped asynchronously: its processes get `SIGTERM`, t… - [Close the main process's stdin](https://developers.telnyx.com/api-reference/sandboxes/close-the-main-processs-stdin.md): Sends EOF to the stdin of the sandbox's main process, as the attach WebSocket's `stdin_eof` message does: the process sees it once the input already accepted h… ### Sandbox execs - [Run a command in a sandbox](https://developers.telnyx.com/api-reference/sandbox-execs/run-a-command-in-a-sandbox.md): Starts a command inside a running sandbox and returns the exec at once: `running`, or `exited` with its `exit_code` if it already finished. It doesn't wait for… - [List a sandbox's execs](https://developers.telnyx.com/api-reference/sandbox-execs/list-a-sandboxs-execs.md): Lists the sandbox's execs, newest first, optionally filtered by `status`. Works on terminated sandboxes too, while they're readable. A status here may lag the… - [Get an exec](https://developers.telnyx.com/api-reference/sandbox-execs/get-an-exec.md): Returns the exec: `status`, `exit_code` and `reason`. With `wait`, it's a long-poll: it returns as soon as the exec has ended, or after at most 10 s, always wi… - [Send a signal to an exec](https://developers.telnyx.com/api-reference/sandbox-execs/send-a-signal-to-an-exec.md): Sends a signal to the exec's process group (default `SIGKILL`). It's asynchronous: the response shows the exec as it is right after; with `SIGKILL` it ends sho… - [Close an exec's stdin](https://developers.telnyx.com/api-reference/sandbox-execs/close-an-execs-stdin.md): Sends EOF to the exec's stdin, as the exec attach WebSocket's `stdin_eof` message does: the process sees it once the input already accepted has been written. D… ### Sandbox files - [Read a file or list a directory](https://developers.telnyx.com/api-reference/sandbox-files/read-a-file-or-list-a-directory.md): **Without `list`:** downloads the file at `path` as raw bytes (`application/octet-stream`), following a symlink. Its length is declared in `Content-Length` bef… - [Write a file or create a directory](https://developers.telnyx.com/api-reference/sandbox-files/write-a-file-or-create-a-directory.md): Writes the raw request body to the file at `path`, whatever its `Content-Type`: `201` with the file's entry when it was created, `200` when it replaced one. **… - [Delete a file or directory](https://developers.telnyx.com/api-reference/sandbox-files/delete-a-file-or-directory.md): Deletes the file, symlink or empty directory at `path`, `204`. A symlink is removed itself, never what it points to. A non-empty directory needs `recursive=tru… ### Sandbox logs - [Read or follow a sandbox's logs](https://developers.telnyx.com/api-reference/sandbox-logs/read-or-follow-a-sandboxs-logs.md): The output (stdout and stderr) of the sandbox's main process. Exec output isn't included; read it through the exec attach WebSocket. ### Sandbox metrics - [Get a sandbox's metrics](https://developers.telnyx.com/api-reference/sandbox-metrics/get-a-sandboxs-metrics.md): The latest values plus a per-minute series for a time range: CPU, memory, disk and network. The range defaults to the last 60 minutes of the sandbox's life (up… ### Sandbox GPU types - [List GPU types](https://developers.telnyx.com/api-reference/sandbox-gpu-types/list-gpu-types.md): Lists the GPU types you can rent: each with its GPU count per node, the CPU, memory and disk a sandbox of that type gets per GPU, and prices. ### Sandbox access - [Check Sandboxes access](https://developers.telnyx.com/api-reference/sandbox-access/check-sandboxes-access.md): Tells you whether Sandboxes is enabled for your organization. During the invite-only preview, only enabled organizations can use the other Sandboxes endpoints;…