Worker states represent the current operational status of your serverless worker instances. Understanding these states helps you monitor your workers’ health and manage your costs effectively.
The worker logs, accessible through the Vast CLI and UI, have more detailed descriptions of worker states to aid in debugging issues.
These are described in the table below:
State Name
Description
Billing State
Ready (IDLE)
Worker is fully initialized with model loaded and ready to process tasks
Ready
Loading (LOADING)
Worker is performing docker pull/run operations
Loading
Model Loading (MODEL_LOADING)
Worker is loading the model for the first time in its lifetime
Loading
Inactive (STOPPED)
Worker is created but stopped, not currently processing
Inactive
Destroying (DESTROYING)
Worker is being destroyed and resources are being released
Not Billed
Error (ERROR)
Worker has encountered an error (version mismatch, error message, etc.)
Not Billed
Rebooting (REBOOTING)
Worker is restarting to apply updates or recover from issues
Billed by previous state
Creating (CREATING)
Worker instance creation API call has succeeded
Creating
Created (CREATED)
Worker is created but stopped in database
Creating
Starting (STARTING)
Worker is starting up after initial boot (not first time)
Ready
Stopping (STOPPING)
Worker is in the process of transitioning to stopped state
Inactive
Pending (PENDING)
Rental offer has been accepted, worker setup is pending
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Vast.ai Documentation: Affordable GPU Cloud Marketplace","colors":{"primary":"#315FFF","light":"#315FFF","dark":"#315FFF"},"logo":{"light":"https://mintcdn.com/vastai-80aa3a82/lDYZh_6OFg5OOaSN/logo/light.svg?fit=max\u0026auto=format\u0026n=lDYZh_6OFg5OOaSN\u0026q=85\u0026s=7f79454b79a0cfc463ec063cd29faea0","dark":"https://mintcdn.com/vastai-80aa3a82/lDYZh_6OFg5OOaSN/logo/dark.svg?fit=max\u0026auto=format\u0026n=lDYZh_6OFg5OOaSN\u0026q=85\u0026s=a0ab9c5200d0f126bb744a83bc1b1ee2"},"favicon":"https://mintcdn.com/vastai-80aa3a82/1e4lY_zkN1CU9p24/favicon.svg?fit=max\u0026auto=format\u0026n=1e4lY_zkN1CU9p24\u0026q=85\u0026s=0d6a4623043c830bd4703fe39c7c8dc3","navbar":{"links":[{"href":"/guides/reference/faq","label":"FAQ"},{"href":"https://discord.gg/vast","label":"Discord"}],"primary":{"type":"button","label":"Console","href":"https://cloud.vast.ai/"}},"footer":{"socials":{"x":"https://x.com/vast_ai","github":"https://github.com/vast-ai","youtube":"https://www.youtube.com/@vast_ai/videos"}},"seo":{"metatags":{"indexing":"all","author":"Vast.ai Team","robots":"index, follow","googlebot":"index, follow","google":"notranslate","google-site-verification":"WHKqvZxf1snX5HX4y0luN_AnAvAPGoSjUcMv03b_NsI","generator":"Mintlify","theme-color":"#000000","color-scheme":"light dark","format-detection":"telephone=no","referrer":"origin","rating":"general","revisit-after":"7 days","language":"en","copyright":"Copyright 2025","reply-to":"contact@vast.ai","distribution":"global","coverage":"Worldwide","category":"Developer Documentation","target":"all","HandheldFriendly":"True","MobileOptimized":"320","apple-mobile-web-app-capable":"yes","apple-mobile-web-app-status-bar-style":"black","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@vast_ai","twitter:creator":"@vast_ai"}},"integrations":{"ga4":{"measurementId":"G-DG15WC8WXG"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vastai-80aa3a82","hasAudioNarration":false,"actualSubdomain":"vastai-80aa3a82","customDomains":["docs.vast.ai"],"gitSource":{"type":"github","owner":"vast-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adfbe11db56f9a377f1e85d","collectionId":"19df4429-5845-44de-b641-dfaf4afb19cb","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adfbe11db56f9a377f1e85d"},"feedback":{"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adfc284cade0989ea623e30","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"CLI \u0026 SDK","count":258},{"language":"default","tag":"CLI","count":148},{"language":"default","tag":"SDK","count":143},{"language":"default","tag":"API","count":108},{"language":"default","tag":"Guides","count":101},{"language":"default","tag":"Endpoints","count":100},{"language":"default","tag":"Instances","count":94},{"language":"default","tag":"Host","count":87},{"language":"default","tag":"Serverless","count":80},{"language":"default","tag":"Accounts","count":58}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width:1024px){div:has(>nav#sidebar){max-width:none!important}#navbar>div{max-width:none!important}#content-area>#content,#content-area>#header{max-width:900px;margin-left:auto;margin-right:auto}}.table-column-dividers td+td,.table-column-dividers th+th{border-left:1px solid color-mix(in srgb,currentColor 20%,transparent)}"}],"page":{"pagePath":"guides/serverless/worker-states","slug":"/guides/serverless/worker-states","pageMetadata":{"title":"Worker States","description":"Learn about the different worker states","canonical":"/guides/serverless/worker-states","href":"/guides/serverless/worker-states"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Learn about the different worker states\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Worker states represent the current operational status of your serverless worker instances. Understanding these states helps you monitor your workers’ health and manage your costs effectively.`}),`\n`,_jsx(Heading,{level:`2`,id:`worker-states-in-the-vast-ui`,children:`Worker States in the Vast UI`}),`\n`,_jsx(_components.p,{children:`The following table describes all available worker states that are shown to users in the UI:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`State Name`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Billing State`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Ready`}),_jsx(_components.td,{children:`Worker is fully initialized with model loaded and ready to process tasks`}),_jsx(_components.td,{children:`Ready`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Loading`}),_jsx(_components.td,{children:`Worker is loading resources or configurations`}),_jsx(_components.td,{children:`Loading`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Inactive`}),_jsx(_components.td,{children:`Worker is created but stopped, not currently processing`}),_jsx(_components.td,{children:`Inactive`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Destroying`}),_jsx(_components.td,{children:`Worker is being destroyed and resources are being released`}),_jsx(_components.td,{children:`Not billed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Error`}),_jsx(_components.td,{children:`Worker has encountered an error and requires attention`}),_jsx(_components.td,{children:`Not billed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rebooting`}),_jsx(_components.td,{children:`Worker is restarting to apply updates or recover from issues`}),_jsx(_components.td,{children:`Billed by previous state`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Creating`}),_jsx(_components.td,{children:`Worker is being created and initialized`}),_jsx(_components.td,{children:`Creating`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Starting`}),_jsx(_components.td,{children:`Worker is in the process of transitioning to Ready state`}),_jsx(_components.td,{children:`Ready`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Stopping`}),_jsx(_components.td,{children:`Worker is in the process of transitioning to Inactive state`}),_jsx(_components.td,{children:`Inactive`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Updating`}),_jsx(_components.td,{children:`Worker is in the process of being updated and rebooted`}),_jsx(_components.td,{children:`Ready`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`For more information on the specific breakdown of charges, please refer to `,_jsx(_components.a,{href:`/guides/serverless/pricing`,children:`Serverless pricing`})]}),`\n`,_jsx(Heading,{level:`2`,id:`worker-states-in-the-vast-cli-and-logs`,children:`Worker States in the Vast CLI and logs`}),`\n`,_jsx(_components.p,{children:`The worker logs, accessible through the Vast CLI and UI, have more detailed descriptions of worker states to aid in debugging issues.\nThese are described in the table below:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`State Name`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Billing State`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Ready (IDLE)`}),_jsx(_components.td,{children:`Worker is fully initialized with model loaded and ready to process tasks`}),_jsx(_components.td,{children:`Ready`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Loading (LOADING)`}),_jsx(_components.td,{children:`Worker is performing docker pull/run operations`}),_jsx(_components.td,{children:`Loading`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Model Loading (MODEL_LOADING)`}),_jsx(_components.td,{children:`Worker is loading the model for the first time in its lifetime`}),_jsx(_components.td,{children:`Loading`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Inactive (STOPPED)`}),_jsx(_components.td,{children:`Worker is created but stopped, not currently processing`}),_jsx(_components.td,{children:`Inactive`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Destroying (DESTROYING)`}),_jsx(_components.td,{children:`Worker is being destroyed and resources are being released`}),_jsx(_components.td,{children:`Not Billed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Error (ERROR)`}),_jsx(_components.td,{children:`Worker has encountered an error (version mismatch, error message, etc.)`}),_jsx(_components.td,{children:`Not Billed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rebooting (REBOOTING)`}),_jsx(_components.td,{children:`Worker is restarting to apply updates or recover from issues`}),_jsx(_components.td,{children:`Billed by previous state`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Creating (CREATING)`}),_jsx(_components.td,{children:`Worker instance creation API call has succeeded`}),_jsx(_components.td,{children:`Creating`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Created (CREATED)`}),_jsx(_components.td,{children:`Worker is created but stopped in database`}),_jsx(_components.td,{children:`Creating`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Starting (STARTING)`}),_jsx(_components.td,{children:`Worker is starting up after initial boot (not first time)`}),_jsx(_components.td,{children:`Ready`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Stopping (STOPPING)`}),_jsx(_components.td,{children:`Worker is in the process of transitioning to stopped state`}),_jsx(_components.td,{children:`Inactive`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Pending (PENDING)`}),_jsx(_components.td,{children:`Rental offer has been accepted, worker setup is pending`}),_jsx(_components.td,{children:`Not Billed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update Ready (UPDATE_READY)`}),_jsx(_components.td,{children:`Worker is prepared and ready for update reboot`}),_jsx(_components.td,{children:`Ready`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update Rebooting (UPDATE_REBOOTING)`}),_jsx(_components.td,{children:`Worker is rebooting after update (non-alive)`}),_jsx(_components.td,{children:`Ready`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update Starting (UPDATE_STARTING)`}),_jsx(_components.td,{children:`Worker is starting up after update reboot`}),_jsx(_components.td,{children:`Ready`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Worker States","description":"Learn about the different worker states","canonical":"/guides/serverless/worker-states","href":"/guides/serverless/worker-states"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Worker States in the Vast UI","slug":"worker-states-in-the-vast-ui","depth":2,"children":[]},{"title":"Worker States in the Vast CLI and logs","slug":"worker-states-in-the-vast-cli-and-logs","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/vastai-80aa3a82/54e4ee435ab02cb8/structured-data.js"],"subdomain":"vastai-80aa3a82","siteName":"Vast.ai Documentation: Affordable GPU Cloud Marketplace","title":"Worker States - Vast.ai Documentation: Affordable GPU Cloud Marketplace","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-29T01:58:07.097Z","originalFileLocation":"guides/serverless/worker-states.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Learn about the different worker states\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Worker States - Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn about the different worker states\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head property=\"og:url\" content=\"/guides/serverless/worker-states\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vastai-80aa3a82.mintlify.app/_mintlify/api/og/v2?division=Monitoring+and+Debug\u0026amp;title=Worker+States\u0026amp;description=Learn+about+the+different+worker+states\u0026amp;theme=bf5e39208aeafab2e44b0496\u0026amp;signature=0af0cd3213f735080409e88392f3cc5adb484286a7dd46f0a3116e121a733985\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Worker States - Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn about the different worker states\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vastai-80aa3a82.mintlify.app/_mintlify/api/og/v2?division=Monitoring+and+Debug\u0026amp;title=Worker+States\u0026amp;description=Learn+about+the+different+worker+states\u0026amp;theme=bf5e39208aeafab2e44b0496\u0026amp;signature=0af0cd3213f735080409e88392f3cc5adb484286a7dd46f0a3116e121a733985\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#315FFF\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"indexing\" content=\"all\">\u003cmeta data-mint-head name=\"author\" content=\"Vast.ai Team\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"google\" content=\"notranslate\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"WHKqvZxf1snX5HX4y0luN_AnAvAPGoSjUcMv03b_NsI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#000000\">\u003cmeta data-mint-head name=\"color-scheme\" content=\"light dark\">\u003cmeta data-mint-head name=\"format-detection\" content=\"telephone=no\">\u003cmeta data-mint-head name=\"referrer\" content=\"origin\">\u003cmeta data-mint-head name=\"rating\" content=\"general\">\u003cmeta data-mint-head name=\"revisit-after\" content=\"7 days\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"copyright\" content=\"Copyright 2025\">\u003cmeta data-mint-head name=\"reply-to\" content=\"contact@vast.ai\">\u003cmeta data-mint-head name=\"distribution\" content=\"global\">\u003cmeta data-mint-head name=\"coverage\" content=\"Worldwide\">\u003cmeta data-mint-head name=\"category\" content=\"Developer Documentation\">\u003cmeta data-mint-head name=\"target\" content=\"all\">\u003cmeta data-mint-head name=\"HandheldFriendly\" content=\"True\">\u003cmeta data-mint-head name=\"MobileOptimized\" content=\"320\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-capable\" content=\"yes\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-status-bar-style\" content=\"black\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@vast_ai\">\u003clink data-mint-head rel=\"canonical\" href=\"/guides/serverless/worker-states\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/serverless/worker-states.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vast.ai/#organization\",\"name\":\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\",\"url\":\"https://docs.vast.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vastai-80aa3a82/lDYZh_6OFg5OOaSN/logo/light.svg?fit=max\u0026auto=format\u0026n=lDYZh_6OFg5OOaSN\u0026q=85\u0026s=7f79454b79a0cfc463ec063cd29faea0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vast.ai#website\",\"name\":\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\",\"url\":\"https://docs.vast.ai\",\"publisher\":{\"@id\":\"https://docs.vast.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vast.ai/guides/serverless/worker-states#webpage\",\"url\":\"https://docs.vast.ai/guides/serverless/worker-states\",\"name\":\"Worker States\",\"description\":\"Learn about the different worker states\",\"dateModified\":\"2026-04-29T01:58:07.097Z\",\"isPartOf\":{\"@id\":\"https://docs.vast.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vast.ai/guides/serverless/worker-states#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vast.ai/guides/serverless/worker-states#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Serverless\",\"item\":\"https://docs.vast.ai/guides/serverless/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Worker States\",\"item\":\"https://docs.vast.ai/guides/serverless/worker-states\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.vast.ai/guides/serverless/worker-states#article\",\"headline\":\"Worker States\",\"name\":\"Worker States\",\"description\":\"Learn about the different worker states\",\"url\":\"https://docs.vast.ai/guides/serverless/worker-states\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vast.ai/guides/serverless/worker-states#webpage\"},\"dateModified\":\"2026-04-29T01:58:07.097Z\",\"publisher\":{\"@id\":\"https://docs.vast.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vast.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Vast.ai Documentation: Affordable GPU Cloud Marketplace","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"Welcome","href":"/guides/get-started"},{"title":"Sign up and rent your first GPU","sidebarTitle":"Quickstart","href":"/guides/get-started/quickstart"},{"title":"Concepts","href":"/guides/concepts"},{"title":"Manage API keys","sidebarTitle":"API keys","href":"/guides/reference/api-keys"},{"title":"Quick Start","sidebarTitle":"Templates","href":"/guides/templates/quickstart"},{"title":"Using Vast.ai with Agents","sidebarTitle":"For Agents","href":"/guides/get-started/agents"},{"title":"Teams Quickstart","sidebarTitle":"For Teams","href":"/guides/teams/teams-quickstart"}]},{"group":"Instances","icon":"server","pages":[{"title":"Overview","href":"/guides/instances/overview"},{"title":"Pricing","href":"/guides/instances/pricing"},{"group":"Find \u0026 rent","pages":[{"title":"Choosing Instances Overview","href":"/guides/instances/choosing/overview"},{"title":"Finding \u0026 Renting Instances","href":"/guides/instances/choosing/find-and-rent"},{"title":"Instance Types","href":"/guides/instances/choosing/instance-types"},{"title":"Choosing a Template","href":"/guides/instances/choosing/templates"},{"title":"Reserved Instances","href":"/guides/instances/choosing/reserved-instances"}]},{"group":"Connect","pages":[{"title":"Overview","href":"/guides/instances/connect/overview"},{"title":"SSH Connection","href":"/guides/instances/connect/ssh"},{"title":"Jupyter","href":"/guides/instances/connect/jupyter"},{"title":"Windows SSH Guide","href":"/guides/instances/connect/windows-guide"},{"title":"Instance Portal","href":"/guides/instances/connect/instance-portal"},{"title":"Networking \u0026 Ports","href":"/guides/instances/connect/networking"}]},{"group":"Storage \u0026 data","pages":[{"title":"Storage Types","href":"/guides/instances/storage/types"},{"title":"Volumes","href":"/guides/instances/storage/volumes"},{"title":"Data Movement","href":"/guides/instances/storage/data-movement"},{"title":"Cloud Sync","href":"/guides/instances/storage/cloud-sync"},{"title":"Scheduled Cloud Backups","href":"/guides/instances/storage/cloud-backups"}]},{"group":"Manage","pages":[{"title":"Managing Instances","href":"/guides/instances/manage-instances"},{"title":"Docker Execution Environment","sidebarTitle":"Docker Execution Environment","href":"/guides/instances/docker-environment"},{"title":"Virtual Machines","href":"/guides/instances/virtual-machines"}]}]},{"group":"Serverless","icon":"bolt","pages":[{"title":"Serverless","href":"/guides/serverless/index"},{"title":"Quickstart","href":"/guides/serverless/quickstart"},{"title":"Setting Up Endpoints","href":"/guides/serverless/setting-up-endpoints"},{"group":"Architecture","pages":[{"title":"Architecture","href":"/guides/serverless/architecture"},{"title":"The PyWorker","href":"/guides/serverless/overview"},{"title":"The SDK","href":"/guides/serverless/sdk-overview"},{"title":"OpenAI API-compatible Interface","href":"/guides/serverless/openai-compatible-api"},{"title":"Automated Performance Testing","href":"/guides/serverless/automated-performance-testing"}]},{"group":"Deployments","pages":[{"title":"Deployments Overview","href":"/guides/serverless/deployments/index"},{"title":"Architecture Overview","href":"/guides/serverless/deployments/architecture"},{"title":"Configuring Deployments","href":"/guides/serverless/deployments/configuration"},{"title":"@remote Functions","href":"/guides/serverless/deployments/remote-functions"},{"title":"@context Classes","href":"/guides/serverless/deployments/context"},{"group":"Examples","pages":[{"title":"Square Function","href":"/guides/serverless/deployments/examples/square"},{"title":"MNIST Training \u0026 Inference","href":"/guides/serverless/deployments/examples/train-mnist"},{"title":"vLLM Text Generation","href":"/guides/serverless/deployments/examples/vllm"}]}]},{"group":"Scaling Behavior","pages":[{"title":"Endpoint Parameters","href":"/guides/serverless/serverless-parameters"},{"title":"Managing Scale","href":"/guides/serverless/managing-scale"}]},{"title":"Workergroup Parameters","href":"/guides/serverless/workergroup-parameters"},{"title":"Choosing GPUs for Your Workload","href":"/guides/serverless/choosing-gpus"},{"title":"Creating Custom PyWorkers","href":"/guides/serverless/creating-new-pyworkers"},{"title":"Using Worker Sessions","description":"Pin a series of requests to a single Serverless worker, run long asynchronous tasks on it, and release it automatically when the work is done.","href":"/guides/serverless/sessions"},{"group":"Monitoring and Debug","pages":[{"title":"Worker States","href":"/guides/serverless/worker-states"},{"title":"Zero Downtime Worker Update","description":"Update your Serverless template or model without dropping in-flight requests.","href":"/guides/serverless/zero-downtime-worker-update"},{"title":"Endpoint and Worker Logs","href":"/guides/serverless/logging"}]},{"title":"Pricing","href":"/guides/serverless/pricing"},{"group":"Pre-built Templates","pages":[{"title":"vLLM","href":"/guides/serverless/vllm"},{"title":"Text Generation Inference (TGI)","href":"/guides/serverless/text-generation-inference-tgi"},{"title":"Comfy UI","href":"/guides/serverless/comfy-ui"},{"title":"ComfyUI Wan 2.2","href":"/guides/serverless/comfyui-wan-2.2"},{"title":"ComfyUI ACE Step","href":"/guides/serverless/comfyui-acestep"}]}]},{"group":"Templates","icon":"layer-group","pages":[{"title":"Templates","sidebarTitle":"Introduction","href":"/guides/templates/introduction"},{"title":"Creating Templates","sidebarTitle":"Creating Templates","href":"/guides/templates/creating-templates"},{"title":"Managing Templates","href":"/guides/templates/managing-templates"},{"title":"Template Settings","sidebarTitle":"Template Settings","href":"/guides/templates/template-settings"},{"title":"Advanced Setup","sidebarTitle":"Advanced Setup","href":"/guides/templates/advanced-setup"}]},{"group":"Teams","icon":"users","pages":[{"title":"Teams Overview","href":"/guides/teams/teams-overview"},{"title":"Managing Your Team","href":"/guides/teams/managing-teams"},{"title":"Teams Roles","href":"/guides/teams/teams-roles"},{"title":"Legacy Teams","href":"/guides/teams/legacy-teams"}]},{"group":"Account \u0026 billing","icon":"user","pages":[{"title":"Pricing overview","href":"/guides/pricing"},{"title":"Account Settings","href":"/guides/reference/account-settings"},{"title":"Billing","href":"/guides/reference/billing"},{"group":"Notifications","pages":[{"title":"Notifications","sidebarTitle":"Notifications","href":"/guides/reference/notifications"},{"title":"Notification Webhooks","sidebarTitle":"Webhooks","href":"/guides/reference/notification-webhooks"}]},{"title":"Keys","href":"/guides/reference/keys"},{"title":"Two-Factor Authentication","href":"/guides/reference/two-factor-authentication"},{"title":"Referral Program","href":"/guides/reference/referral-program"},{"title":"Troubleshooting","href":"/guides/reference/troubleshooting"}]},{"group":"FAQ","icon":"circle-question","pages":[{"title":"FAQ Overview","sidebarTitle":"Overview","href":"/guides/reference/faq/index"},{"title":"General FAQ","sidebarTitle":"General","href":"/guides/reference/faq/general"},{"title":"Instances FAQ","sidebarTitle":"Instances","href":"/guides/reference/faq/instances"},{"title":"Rental Types FAQ","sidebarTitle":"Rental Types","href":"/guides/reference/faq/rental-types"},{"title":"Jupyter \u0026 SSH FAQ","sidebarTitle":"Jupyter \u0026 SSH","href":"/guides/reference/faq/jupyter-ssh"},{"title":"Billing","href":"/guides/reference/faq/billing"},{"title":"Security FAQ","sidebarTitle":"Security","href":"/guides/reference/faq/security"},{"title":"Technical FAQ","sidebarTitle":"Technical","href":"/guides/reference/faq/technical"},{"title":"Networking","href":"/guides/reference/faq/networking"}]}]},{"tab":"CLI \u0026 SDK","pages":[{"title":"CLI \u0026 SDK","href":"/cli/hello-world"}]},{"tab":"API","pages":[{"title":"API","href":"/api-reference/hello-world"}]},{"tab":"Host","pages":[{"title":"Host","href":"/host/hosting-overview"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/pytorch"}]}]},"title":"Worker States - Vast.ai Documentation: Affordable GPU Cloud Marketplace","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":[],"chunks":[]}