Skip to content

Commit 72e3c96

Browse files
鲁工鲁工
authored andcommitted
docs: correct the learning note on plan-gated 403 diagnosis
1 parent 567bc49 commit 72e3c96

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

learnings/2026-07-20-remove-model-merge-layer.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,15 @@ defaulted to 3.5.
2727
I reported the merge gap and asked before touching them.
2828
- **Did not "fix" the 403 in code.** `qwen3.8-max` pay-go returned
2929
`403 AccessDenied`; a control test (`qwen3.7-max` → OK on the same key)
30-
proved key+endpoint+model_id are right and the 403 is account-side
31-
(preview not granted). Account state, not a router bug.
30+
proved key+endpoint+model_id are right and the 403 is account-side, not a
31+
router bug. **Correction (same day):** I first told the user to "go activate
32+
the model," which was wrong — there is no activation button. The preview is
33+
delivered *only* via the Token Plan subscription (sk-sp- keys); pay-as-you-go
34+
has no path to it. I had made it the pay-go **default**, so `qwen` resolved
35+
to a model that 403s for every pay-go user. Fixed in v1.11.1: reverted the
36+
pay-go default to 3.7-max, removed the pay-go 3.8 variant, kept 3.8 only on
37+
the qwen-plan (subscription) provider, and pointed `qwen3.8`/`qwen3.8-max`
38+
aliases at the subscription model (its only working home).
3239
- **Did not guess a base_url from the lookalike domain.** The request pointed
3340
at `platform.qianwenai.com` (not Alibaba's usual `dashscope.aliyuncs.com`).
3441
Read the vendor's own Anthropic reference first: the API endpoint is the
@@ -46,4 +53,12 @@ user config merges over defaults per-variant. Always verify with
4653
`node dist/cli.js models` (discovery path), not just `ConfigManager(null)`;
4754
if they disagree, the user's live yaml must be patched too — and that's a
4855
scope decision to confirm, since those files are rarely named in the request.
49-
See also [[vendor-platform-split]].
56+
57+
**Second rule (from the correction):** a brand-new model is often gated to a
58+
*billing plan*, not open on the account's existing billing type. A `403
59+
AccessDenied` on a just-launched model usually means "your billing type has no
60+
path to this model," NOT "click activate." Do NOT prescribe an account action
61+
(open/activate/申请) unless you can point to the actual control; verify the
62+
model is on pay-as-you-go before making it a pay-go **default**, or `qwen`
63+
resolves to a model that 403s for everyone. When in doubt, keep the plan-gated
64+
model on its plan provider only. See also [[vendor-platform-split]].

0 commit comments

Comments
 (0)