{"uid":"cap_0d5p0eColTxnOTxaB9Izp","slug":"modal-persistent-volume-create-a7874684","name":"Modal Persistent Volume Create","description":"Create a persistent volume (dynamic pricing: prepaid storage of size_gib for days plus the 3-day post-expiry retention, $0.09/GiB-month + 30%)","url":"https://modal.mpp.tempo.xyz/volume/create?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["gpu","serverless","sandbox","compute","ai"],"displayCostAmount":"unknown","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unknown_unparsed","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"unknown","summary":"price unknown","primary":{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_I3icDkbZ489F4R7X4kecp","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"unknown","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"Modal","brandSlug":"modal","brandBaseUrl":"https://modal.com","brandDocsUrl":"https://modal.com","whatItDoes":"Creates a new persistent storage volume with prepaid capacity (size in GiB) and duration (in days), billed at $0.09/GiB-month plus 30% with a 3-day post-expiry retention window.","exampleAgentPrompt":"Create a persistent Modal volume with 50 GiB of storage prepaid for 30 days so I can store my ML model weights between sandbox runs.","exampleUseCases":[{"title":"Persistent model weights storage","prompt":"Set up a 100 GiB persistent volume on Modal for 14 days to store my fine-tuned LLM weights so I can load them across multiple sandbox executions."},{"title":"Dataset staging area for GPU jobs","prompt":"Create a Modal persistent volume with 200 GiB prepaid for 7 days to stage my training dataset before I kick off a GPU workload."},{"title":"Agent memory store between sessions","prompt":"I need a 20 GiB Modal volume provisioned for 60 days to give my AI agent durable storage that persists between compute sessions."}],"resultDescription":"Returns metadata for the newly created volume including its unique volume ID, size, expiry date (prepaid days plus 3-day retention), and computed cost based on $0.09/GiB-month with a 30% surcharge.","failureModes":["Insufficient USDC balance to cover prepaid storage cost — payment error returned","Invalid size_gib or days values (e.g. zero or negative) — validation error","Wallet not authenticated or missing — authorization failure","Volume name conflict if names must be unique per wallet","Network/service unavailability — 5xx error from Modal infrastructure"],"whenToPreferThis":"Choose this endpoint when you need durable, wallet-scoped storage that persists beyond a single sandbox execution on Modal — especially for ML model weights, datasets, or agent state that must survive across multiple compute jobs. Prefer this over ephemeral sandbox storage when data must outlast the sandbox lifetime, and over generic S3/blob storage when you need volumes mountable directly into Modal sandboxes with per-wallet billing via crypto.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:31:33.129Z","isFirstParty":false,"canonicalSlug":"modal-persistent-volume-create-a7874684"}