app.nzapp
AppsProjectsReposPullsChatIntegrationsGatewayModelsEvalsToolsDatasetsMCPDeploysPricingBlogDocsAssistantsCharactersArtMusic
Sign inStart building
Agent stack
Cloud coding agentAgents SDKIntegrationsBrowser agentMonitors & auto-agentsSchedulersAgent skillsMCP serversDeep research
Models & API
AI GatewayModel catalogModel evalsModel spacesPlaygroundText to imageImage to 3DText to 3DMusic & SFXAudio editorMedia optimizerAI art & libraryChatAPI referenceSchemaBecome a provider
Compute & hosting
DeploysAddonsPostgres hostinggobed vector searchSite hostingAnalyticsCog GPU hostingRL trainingBuilds & CIWorkersTask queuesDomainsGit hosting
Tools
AI toolsDrawDiffusion canvasLive DrawWriteSheetsArtifactsVideo studioNotebooksDatasets
Learn
DocsBlogEval guidesPrompt libraryCLIAlternativesPapersAI charactersArt gallerySecurityConsulting
Company
PricingEnterpriseSettingsBillingStatusInvestorsCreate accountTerms of ServicePrivacy Policy
app.nzapp.nz

AI agent cloud for coding, deploys, model routing, and research. Built for teams shipping software.

Built in New Zealand by App AI NZ.

Social
X / TwitterGitHubYouTube
The app.nz network
GpuBrainPapersReading TimemojojojoNetwrckText-Generator.ioCodex InfinityOpenPathsCuteDSLAI Art GeneratorAIArt-Generator.artSiteSimSimplexGenDictatorFlowWebFiddleRing.nzChatGibidyBitBankExperimentFlowEvangelerHires.nzHow.nzV5 GamesAddicting Word GamesBig Multiplayer ChessWord SmashingreWord GameMultiplication Master
© 2026 App AI NZ Ltd. All rights reserved.All systems normalTermsPrivacy
Blog
July 7, 2026·5 min read·app.nz

RunPod serverless endpoints under the hood

How app.nz creates scale-to-zero GPU endpoints with bounded workers, queue-delay scaling, endpoint reuse, job polling, image updates, and explicit failure handling.

Listen to this article

On-device voice

Uses the voice built into your browser; no article text leaves this page.

Audio narration is not supported by this browser.

RunPod serverless is a good fit for GPU workloads that are valuable when they run but mostly idle the rest of the day. app.nz uses it as one tier in the GPU routing system, not as the only execution model.

The goal is to pay for work, not for silence.

Endpoint shape

When app.nz creates a serverless endpoint, the defaults are tuned for scale-to-zero:

  • workersMin is zero,
  • workersMax is bounded,
  • queue-delay scaling is enabled,
  • idle timeout is set,
  • the endpoint points at the model image and environment.

workersMin zero is the product promise. If nothing is running, the endpoint should not burn GPU time.

Submitting work

Serverless requests become provider jobs. app.nz sends the input payload, receives a job id, and polls until the job finishes or fails. That is different from a warm pod where app.nz can proxy HTTP directly to a model server.

This difference leaks into UX. Serverless is naturally job-shaped:

submit queued running completed or failed

For image and video workflows, that is fine. For low-latency chat-like inference, it may feel wrong.

Why queue delay matters

Queue-delay scaling tells the provider when to add workers. If the queue starts waiting too long, scale up within the configured bounds. If traffic disappears, workers scale down.

The platform should set bounds because unbounded GPU fan-out is dangerous. A viral endpoint should not create unlimited spend just because the user shared a link.

Endpoint reuse

Creating endpoints has its own overhead. app.nz can keep the serverless endpoint object around while allowing workers to scale to zero. That way the next request avoids the control-plane setup cost but still does not keep a GPU warm.

When the deployment image changes, the old endpoint should be retired or replaced. Reusing an endpoint for the wrong image is worse than a cold start.

Failure modes

Serverless can fail in ways a pod does not:

  • job queue timeout,
  • worker never becomes healthy,
  • provider capacity unavailable,
  • image pull auth failure,
  • payload too large,
  • endpoint stuck on an old image.

Those failures need to show up as deployment or prediction errors, not generic 500s.

When app.nz chooses it

Serverless is best when idle cost dominates:

  • sporadic generation jobs,
  • demos,
  • internal admin tools,
  • user-triggered media tasks,
  • workloads with acceptable queue latency.

When a model receives steady traffic, app.nz promotes to a pod. When a user wants maximum control, they can pin dedicated capacity.

Serverless is not magic. It is a cost shape. app.nz's job is to use that shape when it fits and leave it when it stops fitting.

Build what you just read

Ship agents, models, and apps on one cloud.

Start with free credits, then use the same platform from the web app, CLI, desktop app, or MCP.

Start building freeRead the docs

Keep reading

Packaging MiniMax H3 for Cog, R2, RTX 5090, and scale to zero

A careful H3 video workflow with text, keyframes, native audio, true loops, verified R2 weights, GPU AV1, serverless pricing, and a fail-closed license gate.

How app.nz runs GPUs on demand

Inside the GPU lifecycle: hardware catalogues with VRAM and compute capability, Cog cold starts, local GPU headroom, RunPod pods, schema introspection, metering, and idle reaping.

Serverless vs serverful GPU inference

The GPU router behind app.nz cogs and Comfy deployments: local headroom, RunPod serverless, dedicated pods, hysteresis, single-flight cold starts, and when each tier wins.