What
Reshapes the single google AI Studio door from #10618 into Drew's per-project alias scheme (2026-11-16 design change), and raises every Gemini free seat to its model's top effort.
Final naming
- Alias providers (one per Google project,
_openai.main/opencode-go.* convention): google.muse, google.gen-lang, google.personal, google.drew (free), google.developing-today (PAYG).
- Groups:
google-free (the four free aliases) and google-payg (google.developing-today alone).
Group construct used: the config's native provider route (virtual provider) — a providers list + selection, exactly the openai-plan / opencode-go-plans / zen-plans pattern. No route-as-group workaround was needed. google-free is selection: round-robin with no weights map (Drew's explicit setting), so consumers naming google-free/<model> rotate evenly across the four projects and draw all four per-model daily bucket sets (free quota is per model PER PROJECT). google-payg is round-robin over its single member.
Why per-project providers (credential mechanics, fork-verified): the fork keeps exactly ONE active credential per integration — Credential.create deactivates all sibling rows for the integration, and Integration.connection.active returns the single active row (packages/core/src/credential.ts, integration.ts). Multiple rows under one provider pin to one project; they do not rotate or fail over. Separate alias providers are the only shape that multiplies the per-project buckets.
Credential rows (created 2026-11-16, all active):
google.muse → cred_1a1e31a2756001K8DAZCcJAYfd (Bitwarden google.gemini-api-key)
google.gen-lang → cred_1a1e31a2b54001V4cvy5RTp0yS (Bitwarden google.aistudio.free-gen-lang-api-key)
google.personal → cred_1a1e31a2ec9001eC5fCvlVLOv7 (Bitwarden google.aistudio.free-personal-api-key)
google.drew → cred_1a1e31a32a3001PJGZOrc1f4NN (Bitwarden google.aistudio.free-drew-api-key)
google.developing-today → cred_1a1e31a32bd0012ke9R3NZh3NZ (Bitwarden google.aistudio.payg-api-key)
- Deleted: the config: Google AI Studio (Gemini) free-tier door — provider google + gemini-free-plan #10618 bare-
google row and the two legacy bare-google rows — zero rows remain under the bare id.
Bare google returns to the tombstone set: with its definition moved into the aliases, the bare id again has no definition; without the disabled_providers entry the provider catalog auto-activates it (the original 2026-11-03 tombstone rationale). The entry is exact-id and does not touch the dotted aliases. Header + tombstone comments carry the dated reshape notes.
Consumers rewired through google-free:
gemini-free-plan legs are now google-free/<model>#<top effort>.
gemini-hydrogen-plan's first door is google-free/gemini-4-hydrogen; its _antigravity leg stays inert second.
Effort raise (Drew): the free tier meters REQUESTS per day, not tokens, so a request costs the same 1 RPD at any effort — every google-free leg takes the highest effort the model offers: Hydrogen #xhigh (its top variant), 3.8-flash / 3.5-flash / both Flash-Lites #high (their top). The hydrogen-plan clamp {high→medium, xhigh→medium, max→medium} is removed; only max→xhigh remains (xhigh is the highest the free doors serve). TPM nuance: the 250k input TPM cap per model per project can pace large-context background sessions below the RPM cap — acceptable, not a blocker.
google-payg: ready, seated NOWHERE. Definition + group + credential row are wired, but no route or pool names it (Drew: the PAYG key is set up and confirmed, not configured for use). Seating it later is a one-line route change; note its prepay balance was depleted at setup (402), so it also needs funding before it can serve.
Key probes (2026-11-16, direct API, Drew's curl shape): all three new free keys serve — 200 on gemini-4-hydrogen, gemini-3.5-flash, gemini-3.5-flash-lite, gemini-3.1-flash-lite; gemini-3.8-flash entitled on all three (503 UNAVAILABLE "high demand"; two probe attempts timed out at the transport level under the same capacity stress — not auth/quota failures). No blocked-account failure on any key. Keys stored in Bitwarden and hash-verified byte-identical to the supplied values.
Proof state: direct-API proof per key is done (above). Route-level (route_attempt) proof rides the next switch — the running server (gen 557) predates both #10618 and this config.
Guards (worktree, pre-push): metered-provider guard PASS · route-rules guard PASS · fixture tests 103/103 PASS · config-normalize tests PASS.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.