# Fast inside the thinking panel

The open thinking panel's header carries the effort heading, then, right-aligned, a Gauge button and the [help tip](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/composer/effort-picker.html). There is no separate speed pill or menu item, and the closed effort control shows only the effort label. Thinking effort stays independent.

## Connections

| Connection | Capability | Request |
| --- | --- | --- |
| xAI API, Grok 4.6 | Supported only for `grok-4.6` on `https://api.x.ai/v1`, never by name prefix | Fast: `service_tier: priority`. Standard: `default`. |
| Grok subscription, Grok 4.6 | The CLI chat proxy accepts the same values. Other subscription models stay unknown. | Same |
| Custom gateway | Nothing inherited from the model name. Route configuration can declare support; explicit `false` wins. | Configured adapter mapping, only when supported |
| Codex, Claude | Existing evidence sources; UI consumes the capability dispatch uses | Existing priority, or speed and beta, mapping |

Resolved by `fast_capability()` in `openprogram/models/providers/settings/fast.py`: supported, unsupported or unknown, with a source. `chat.fast` is a compatibility projection. Official account data, then route configuration, then static declarations, then catalogue; a network failure keeps a valid cached declaration.

## Behaviour

| Aspect | Rule |
| --- | --- |
| Default | Standard. Saved per conversation branch, on each toggle and each send, and per route/model. An unseen route starts at Standard, so a model change never enables a paid tier. |
| Off | Standard is sent explicitly, overriding an agent's priority default. Omitting the field would inherit it. |
| Applies to | The next submitted turn. Queued messages keep their setting; a running request is unchanged. |
| Authorization | Backend resolves for the actual turn provider and model, and again before dispatch. Another execution model resolves its own capability. |
| Unverified route | A visible, focusable, unavailable control with an explanation. Unsupported and unknown are distinct; never described as a model that lacks Fast. |
| No effort slider | Same popover with the speed control and no slider |
| Open panel | Hides the Jump to latest button so the two do not stack. Toggling keeps it open and does not move the slider. |

## Requested and actual speed

| Response tier | Shown as |
| --- | --- |
| `priority` | Fast served |
| `default` | Standard served, even for a priority request |
| Absent | Unconfirmed, not acceleration |
| Priority fails | Existing error handling; no automatic second billable request |

xAI documents a 2× [priority premium](https://docs.x.ai/developers/pricing); the provider-specific note shows before use. Billing follows the returned tier and reported usage. No blanket multiplier for other vendors and no latency guarantee.

## Gauge

- **Icon**: Outlined `GaugeIcon`, spring stiffness 160, damping 17, mass 1. Idle needle: off. Advanced needle: on.
- **On**: `--accent-red`. No border, glow or flame.
- **Hover**: Animates the needle, tints a 24px target
- **Focus**: Ring for keyboard focus only; exposes the state and usage note

**References and rejected options**

Adopted: xAI's [request and actual-tier separation](https://docs.x.ai/developers/advanced-api-usage/priority-processing), through OpenProgram's OpenAI-compatible xAI adapter. Rejected: a global Grok name-prefix override, reduced reasoning as a substitute for Fast, a fixed speed multiplier.

**Acceptance**

- Capability: xAI API and Grok 4.6 subscription are separate from unknown subscription models; switching routes updates the reason; catalogue failure preserves known support.
- Composer: keyboard and pointer select speed, reload preserves it, a different model starts at Standard, narrow layouts work.
- Dispatch: priority only for the selected supported route; queued settings stable; reasoning unchanged.
- Response: synthetic priority, default, absent, error and cancelled responses keep accurate status, with no duplicate request or invented price.

## Implementation status

Gauge, capability, request preference, saved response tier and actual xAI cost are implemented. Live paid calls are not part of automated verification.
