Skip to main content
Documents Stack 0.2.0-dev.20260702.3 inference behavior. The default primary worker remains Codex/BYOK unless you explicitly opt in to Synth inference.
Stack exposes Synth inference as hosted, optional lanes:

1. Sign in and get a key

Create a Synth account and an API key at usesynth.ai/keys.

2. List models

You should see free aux models such as nemotron-3-ultra. When the billed gateway is deployed for your environment, you should also see baseten/zai-org/GLM-5.2 with aliases including glm-5.2. From Stack:

3. Run free aux inference

The aux endpoint requires an X-Stack-Actor-Role header (monitor, gardener, or aux). Use aux for general calls:
Without the x-stack-actor-role header the request returns 403. Primary coding roles (worker, primary, codex, cursor) are intentionally rejected — this endpoint is for auxiliary agents and aux inference.

4. Run billed GLM inference

The billed gateway uses the same Responses wire shape and accepts GLM aliases:
Primary worker roles require an explicit opt-in header and an explicit actor profile. This prevents a local Codex/BYOK worker from silently switching to billed Synth inference.

5. Usage and cost

Free aux requests count against the aux budget:
Billed GLM usage is visible through Stack:
Usage rows include token and cost summaries, not prompts or transcripts.

In Stack

Monitor profiles are opt-in:
If the selected Synth route is unavailable, Stack falls back to the Codex app-server monitor with a visible notice. The signed-out local loop (Quickstart) keeps working without any hosted inference.