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

Making Cog containers self-describing

How app.nz warms Cog containers, waits for real readiness, reads health and OpenAPI endpoints, and turns model schemas into typed prediction forms.

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.

A model container is easier to use when the platform knows its inputs. app.nz cogs can provide that schema directly, but the control plane also tries to discover it during warmup so the UI can render a real prediction form instead of a raw JSON box.

This is one of the small details that turns a container runtime into a product.

Warm first, introspect second

The control plane does not introspect an idle model. It first warms the model:

choose hardware start local container or RunPod pod wait for health discover schema mark ready

That ordering matters. A Cog server may not expose a useful OpenAPI document until the app has imported Python, initialized the predictor, and registered routes.

Multiple readiness paths

Different containers expose readiness differently. app.nz tries the common paths:

  • /health-check
  • /healthz
  • /openapi.json

The best path is an honest health-check that reports SETUP until weights are loaded and the model can serve. If a container reports ready too early, the first user prediction pays the remaining setup time.

From schema to UI

Once the OpenAPI or Cog schema is available, app.nz can infer:

  • input names,
  • types,
  • defaults,
  • required fields,
  • file inputs,
  • output shape.

The frontend can render controls for the model instead of asking the user to hand-write JSON. That is especially useful for image, video, and audio cogs where inputs often include dimensions, prompts, seeds, strength values, and uploaded files.

No schema is still allowed

Some images will not expose schema cleanly. The platform should still let the model run. In that case, app.nz keeps the raw prediction API available and the UI falls back to a generic JSON input.

The rule is progressive enhancement: schema makes the experience nicer, but lack of schema should not block power users.

Why introspection happens in the control plane

The model image should not need an app.nz-specific SDK to become usable. If it follows common Cog conventions, app.nz can discover enough. That lowers the cost of bringing existing images into the platform.

It also keeps schema tied to the image that is actually running. A stale hand-written form can drift from the container. Introspection reduces that drift.

The reliability edge

Schema discovery is also an early smoke test. If /openapi.json fails, if the process is not serving HTTP, or if the response is malformed, the model may still be marked ready only after the platform understands what failed.

For users, the symptom becomes actionable: "the container started but did not expose a schema" is much better than "prediction failed."

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

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.

Interactive world models on app.nz: GPU sessions, ABot-World, and ARDY

World models need a GPU that stays up and talks over a socket. How the new session-cog protocol works, the two open-source world models you can drive today, and the harness that keeps every cog README honest with real runs.

Cheaper GPUs by scheduling: multi-cloud arbitrage, hidden cold starts, and cogs that learn their own footprint

How app.nz cog hosting cut serving costs: community-first multi-cloud provisioning under a fixed price, serverless hedging that hides pod cold starts, and per-model learned stats (cold-start EMA, peak VRAM) that feed routing and future GPU bin-packing.