Create (and start) a deployment
create_deploymentLaunch a Nosana GPU deployment from a template or custom job definition, start it on the selected GPU, and receive a deployment ID to poll for readiness.
Instructions
SPENDS CREDITS. Creates a Nosana deployment from a template or job definition on the chosen GPU and starts it. Requires confirm=true, which you must only pass after the user has seen the estimate from estimate_deployment and agreed. Returns the deployment id; then poll wait_for_deployment until the endpoint is ready or the job completes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu | Yes | GPU market slug, short name or address, e.g. "nvidia-5090" or "5090" (see list_gpus). | |
| name | No | Deployment name (default: <template>-<timestamp>). | |
| force | No | Deploy despite blocking warnings (too little VRAM, non-Blackwell GPU, insufficient credits). | |
| start | No | Start immediately (false leaves a DRAFT; note drafts cannot be deleted until started once). | |
| confirm | No | Must be true. Confirms the user approved the estimated cost. | |
| variant | No | Variant id, e.g. "i2v-32gb". Required when the template has variants. | |
| replicas | No | Parallel jobs. | |
| schedule | No | Cron expression (5 fields). SCHEDULED strategy only. | |
| strategy | No | SIMPLE runs once and stops at the timeout (predictable cost). SIMPLE-EXTEND keeps extending while credits last. SCHEDULED needs schedule. INFINITE keeps a replacement job ready. | SIMPLE |
| template | No | Template id or name, e.g. "minimax-h3" (see list_templates). Omit when passing job_definition. | |
| confidential | No | Hide the job on the explorer and protect the endpoint with an auth header. | |
| job_definition | No | A custom Nosana job definition object instead of a template. | |
| timeout_minutes | No | Minutes the GPU is reserved per job. Nosana refuses anything below 60. Big templates such as MiniMax H3 want 120 or more. | |
| include_community_gpus | No | Allow community GPU markets, not only the premium ones the dashboard shows. |