docs: fix worker billing, pod billing unit and job states - #870
Open
justinwlin wants to merge 3 commits into
Open
justinwlin wants to merge 3 commits into
justinwlin wants to merge 3 commits into
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
justinwlin
marked this pull request as ready for review
October 3, 2026 06:44
justinwlin
force-pushed
the
docs/billing-and-job-states
branch
from
October 3, 2026 06:44
c6c9bf3 to
6c5f011
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three pages contradict the rest of the docs and the API. This fixes them so each fact has one public answer.
serverless/workers/overview.mdx,serverless/pricing.mdx): the pricing page's "Start time: Initializing the container and loading models" read as if the worker table's Initializing state were billed, which it is not. Now both pages say the same thing: billing starts when a worker switches to Running and stops when it scales down. Image pull and cached-model downloads happen while Initializing and are not billed. Handler cold start, request processing and the idle timeout (shown as Running in the console) are billed.pods/overview.mdx,get-started/products.mdx): "billed by the minute" → "billed by the second", matching Pod pricing and Billing.serverless/endpoints/job-states.mdx): removesRUNNING. The job API reportsIN_PROGRESSwhile a worker processes a job and never returnsRUNNING.get-started/products.mdx,serverless/overview.mdx): "no idle costs" → workers bill while they run and scale down to zero when there are no requests. The idle timeout after each request is billed.