Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

Gemini 3.8 Flash in the preset catalog (#603)

Yaowei Zheng582344dc061b
diff --git a/changelog/unreleased/2026-09-03-gemini-3.8-flash.md b/changelog/unreleased/2026-09-03-gemini-3.8-flash.md
new file mode 100644
index 00000000..d5dc5dd7
--- /dev/null
+++ b/changelog/unreleased/2026-09-03-gemini-3.8-flash.md
@@ -0,0 +1,31 @@
+# Gemini 3.8 Flash in the preset catalog, and the launch discount on every row that carries it
+
+- **Date:** 2026-09-03
+- **Type:** feat
+- **Scope:** `core`, `docs`, `plugins`
+- **PR:** [#603](https://github.com/Prism-Shadow/penguin-harness/pull/603)
+
+[中文版](2026-09-03-gemini-3.8-flash.zh.md)
+
+The preset catalog gains Gemini 3.8 Flash twice: directly on Google with your own key, and on
+OpenRouter as `google/gemini-3.8-flash`. Both rows carry a 1,048,576-token context window and
+accept images.
+
+Every Gemini 3.x Flash generation Google runs a launch discount on — 3.6, 3.7 and 3.8, directly
+and on OpenRouter — now stores the $0.15/$1.50/$7.50 list price and declares that discount as
+`discount: 0.5`. A Project is preset with, and the cost center bills, the $0.075/$0.75/$3.75
+either seller charges through 2026-12-31, while the price to return to afterwards stays on the
+row: one field to delete when the promotion lapses, rather than three numbers to reconstruct.
+Two rows were also billing the wrong figure. The OpenRouter `google/gemini-3.7-flash` row had
+the gateway's deeper 75%-off promotion baked into its numbers, and that promotion has since
+ended, so the row under-billed by half; the OpenRouter `google/gemini-3.6-flash` row stored the
+list price while the gateway charged half of it. Both now bill what the gateway bills today.
+
+Every other Gemini 3.x row — 3.5 Flash, 3.5 Flash-Lite, 3.1 Flash-Lite, 3.1 Pro Preview and the
+legacy 3 Flash Preview, plus the two OpenRouter 3.5 rows — was re-read against Google's page and
+OpenRouter's endpoints on 2026-09-09 and left as it is: each price is a tier of its own with no
+launch discount (3.5 Flash's $9 output is that tier's list price), and the catalog test now pins
+those numbers so a lower figure cannot pass as a list price unnoticed.
+
+The `unified-llm-api` skill's model table lists the new generation alongside its OpenRouter
+variant.
diff --git a/changelog/unreleased/2026-09-03-gemini-3.8-flash.zh.md b/changelog/unreleased/2026-09-03-gemini-3.8-flash.zh.md
new file mode 100644
index 00000000..4ad08a80
--- /dev/null
+++ b/changelog/unreleased/2026-09-03-gemini-3.8-flash.zh.md
@@ -0,0 +1,25 @@
+# 预置目录收录 Gemini 3.8 Flash,并为每条适用记录声明首发折扣
+
+- **Date:** 2026-09-03
+- **Type:** feat
+- **Scope:** `core`, `docs`, `plugins`
+- **PR:** [#603](https://github.com/Prism-Shadow/penguin-harness/pull/603)
+
+[English](2026-09-03-gemini-3.8-flash.md)
+
+预置目录以两条记录收录 Gemini 3.8 Flash:一条为使用自有 Key 的 Google 直连,另一条为 OpenRouter 上的
+`google/gemini-3.8-flash`。两条都是 1,048,576 token 上下文窗口,且支持图像输入。
+
+Google 施加首发折扣的每一代 Gemini 3.x Flash——3.6、3.7 与 3.8,直连与 OpenRouter 两条路径——现在都存
+$0.15/$1.50/$7.50 牌价,并以 `discount: 0.5` 声明该折扣。预置进 Project、并由成本中心计费的,是两家在
+2026-12-31 前实收的 $0.075/$0.75/$3.75,而促销结束后要回到的价格仍留在记录上:促销失效时只需删掉一个字段,
+而不必重新推算三个数字。其中两条记录此前计费有误。OpenRouter 的 `google/gemini-3.7-flash` 把该网关更深的
+75% 促销直接写进了数字,而该促销此后已经结束,这条记录因此少计一半;OpenRouter 的
+`google/gemini-3.6-flash` 存的是牌价,而网关实际只收一半。两条现在都按网关当前实收计费。
+
+其余每一条 Gemini 3.x 记录——3.5 Flash、3.5 Flash-Lite、3.1 Flash-Lite、3.1 Pro Preview 与已列入 legacy 的
+3 Flash Preview,以及 OpenRouter 上的两条 3.5 记录——都在 2026-09-09 对照 Google 价目页与 OpenRouter 的
+endpoints 重新核过,维持原样:各自的价格都是独立的价档而非首发折扣(3.5 Flash 的 $9 输出就是该档牌价),
+目录测试现在把这些数字钉住,较低的数字不会再被当成牌价悄悄通过。
+
+`unified-llm-api` 技能的模型表中一并列出该代及其 OpenRouter 变体。
diff --git a/packages/core/src/state/model-catalog.ts b/packages/core/src/state/model-catalog.ts
index c2edb7a2..cf982229 100644
--- a/packages/core/src/state/model-catalog.ts
+++ b/packages/core/src/state/model-catalog.ts
@@ -10,8 +10,9 @@
* the direct qwen3.8-flash: 2026-08-26; the vLLM group: 2026-09-03; the direct DeepSeek V4
* Flash rows (flash and flash-vision-exp): 2026-09-08, for the official adjustment effective
* 2026-09-10; the GPT-6 Astra rows (direct + OpenRouter): 2026-09-09; the pre-registered
- * deepseek-v4.1-flash row: 2026-09-09, from DeepSeek's release announcement — per each
- * provider's docs).
+ * deepseek-v4.1-flash row: 2026-09-09, from DeepSeek's release announcement; the whole Gemini
+ * 3.x line-up, direct + OpenRouter — the 3.6 / 3.7 / 3.8 Flash launch discounts declared,
+ * every other row re-read and unchanged: 2026-09-09 — per each provider's docs).
* Docs: packages/docs/content/models.{zh,en}.md (site path /docs/models) documents the
* provider groups and credential resolution described here.
*
@@ -548,12 +549,15 @@ export const MODEL_CATALOG: ModelCatalogEntry[] = [
// costs correctly compute to 0. GPT models are uniformly vision-capable (OpenAI
// product-line policy) even where the gateway page omits the modality.
//
- // Discounts: these rows store what OpenRouter actually BILLS, so an active promotion is
- // stored at its discounted rate (unlike the direct-vendor rows, which keep the list price).
- // The endpoints API exposes the running promotion as `pricing.discount` on the default
- // endpoint; rows sitting on one say so and name the rate to restore, because a lapsed
- // promotion silently doubles the real cost — that is exactly how the gpt-5.6-terra and
- // gpt-5.6-luna rows drifted 2x low before the 2026-08-18 re-read. --
+ // Discounts: what these rows record is what OpenRouter actually BILLS, so a gateway
+ // promotion is stored at its discounted rate (unlike the direct-vendor rows, which keep the
+ // list price). The Gemini 3.x Flash rows are the exception: the promotion they sit on is
+ // Google's own dated launch discount rather than the gateway's, so they keep the list price
+ // and declare it in `discount`, exactly as their direct-vendor twins do. The endpoints API
+ // exposes the running promotion as `pricing.discount` on the default endpoint; rows sitting
+ // on one say so and name the rate to restore, because a lapsed promotion silently doubles
+ // the real cost — that is exactly how the gpt-5.6-terra and gpt-5.6-luna rows drifted 2x
+ // low before the 2026-08-18 re-read. --
{
modelId: "anthropic/claude-fable-5",
displayName: "Claude Fable 5",
@@ -662,17 +666,32 @@ export const MODEL_CATALOG: ModelCatalogEntry[] = [
baseUrl: OPENROUTER_BASE_URL,
},
{
- // Same Gemini cache conventions as the gemini-3.6-flash row below. The stored rates are
- // what OpenRouter currently bills: the default Google endpoint runs `discount: 0.75` off
- // the $0.15/$1.50/$7.50 list price (Google's launch discount through 2026-12-31, which
- // OpenRouter deepens further), so it bills $0.0375/$0.375/$1.875 — re-read when the
- // discount ends, and restore the $0.15/$1.50/$7.50 list then (the direct-vendor row
- // stores that list price already).
+ // Same Gemini cache conventions as the gemini-3.7-flash row below. OpenRouter passes
+ // Google's launch discount through, so it bills $0.075/$0.75/$3.75 — the list price less
+ // 50%, declared in `discount` so the $0.15/$1.50/$7.50 list survives the promotion (same
+ // treatment as the 3.6 and 3.7 rows below).
+ modelId: "google/gemini-3.8-flash",
+ displayName: "Gemini 3.8 Flash",
+ provider: "openrouter",
+ contextWindow: 1048576,
+ pricing: usd(0.15, 1.5, 7.5),
+ discount: 0.5,
+ supportsVision: true,
+ clientType: "openai-chat",
+ baseUrl: OPENROUTER_BASE_URL,
+ },
+ {
+ // Same Gemini cache conventions as the gemini-3.6-flash row below. The default Google
+ // endpoint now bills $0.075/$0.75/$3.75 with `discount: 0.5` (endpoints API, read
+ // 2026-09-09) — Google's launch discount passed straight through; the deeper
+ // `discount: 0.75` promotion this row used to store has ended. Declared in `discount` so
+ // the $0.15/$1.50/$7.50 list stays on file.
modelId: "google/gemini-3.7-flash",
displayName: "Gemini 3.7 Flash",
provider: "openrouter",
contextWindow: 1048576,
- pricing: usd(0.0375, 0.375, 1.875),
+ pricing: usd(0.15, 1.5, 7.5),
+ discount: 0.5,
supportsVision: true,
clientType: "openai-chat",
baseUrl: OPENROUTER_BASE_URL,
@@ -681,17 +700,25 @@ export const MODEL_CATALOG: ModelCatalogEntry[] = [
// cache_read is billed as its own bucket in the cost center, and an input-priced
// cache_read would overstate cache-heavy Gemini spend 10x; cache_write repeats the input
// price (see the block comment — Gemini publishes storage-per-hour, not per-token write),
- // matching the direct-vendor Gemini rows below.
+ // matching the direct-vendor Gemini rows below. OpenRouter bills $0.075/$0.75/$3.75
+ // today (endpoints API, read 2026-09-09): it reports that halved rate as its plain price
+ // with `discount: 0`, but it is Google's launch discount passed through and ends with it
+ // on 2026-12-31, so this row records the list price and the promotion the way its
+ // siblings do.
modelId: "google/gemini-3.6-flash",
displayName: "Gemini 3.6 Flash",
provider: "openrouter",
contextWindow: 1048576,
pricing: usd(0.15, 1.5, 7.5),
+ discount: 0.5,
supportsVision: true,
clientType: "openai-chat",
baseUrl: OPENROUTER_BASE_URL,
},
{
+ // The 3.5 tier's own list price — $1.50 input / $9.00 output / $0.15 cache hit on Google's
+ // page, with no launch discount — and OpenRouter's default endpoint bills exactly that
+ // (`discount: 0`, read 2026-09-09). The $9 output is the tier, not a promotion to declare.
modelId: "google/gemini-3.5-flash",
displayName: "Gemini 3.5 Flash",
provider: "openrouter",
@@ -703,7 +730,7 @@ export const MODEL_CATALOG: ModelCatalogEntry[] = [
},
{
// Same published-cache-price convention as gemini-3.6-flash above (2026-07-22: $0.03/mtok
- // cache hit, $0.30 input, $2.50 output).
+ // cache hit, $0.30 input, $2.50 output; re-read 2026-09-09, unchanged and `discount: 0`).
modelId: "google/gemini-3.5-flash-lite",
displayName: "Gemini 3.5 Flash-Lite",
provider: "openrouter",
@@ -1468,26 +1495,46 @@ export const MODEL_CATALOG: ModelCatalogEntry[] = [
},
// -- Google Gemini (official USD pricing) --
{
- // Official list price, identical to gemini-3.6-flash (per AgentHub 0.4.2's registry and
- // Google's price page). Google halves all three rates as a launch discount through
- // 2026-12-31; like other limited-time promotions the discount is not stored (the
- // OpenRouter row bills — and stores — the halved rates instead).
+ // Same list price and same launch discount as the gemini-3.7-flash and gemini-3.6-flash
+ // rows below: Google halves all three rates through 2026-12-31. Like those rows this one
+ // declares the promotion in `discount`, so the list price stays on file while a Project is
+ // preset with — and the cost center bills — the 0.075/0.75/3.75 Google actually charges
+ // today. One field to delete when the promotion lapses.
+ modelId: "gemini-3.8-flash",
+ displayName: "Gemini 3.8 Flash",
+ provider: "google",
+ contextWindow: 1048576,
+ pricing: usd(0.15, 1.5, 7.5),
+ discount: 0.5,
+ supportsVision: true,
+ },
+ {
+ // Google's list price, identical to gemini-3.6-flash (per AgentHub 0.4.2's registry and
+ // Google's price page), halved through 2026-12-31 by a launch discount on all three
+ // rates. That promotion is declared in `discount` — same treatment as gemini-3.8-flash
+ // above — so the list price survives it and there is one field to delete when it lapses.
modelId: "gemini-3.7-flash",
displayName: "Gemini 3.7 Flash",
provider: "google",
contextWindow: 1048576,
pricing: usd(0.15, 1.5, 7.5),
+ discount: 0.5,
supportsVision: true,
},
{
+ // Same list price and same launch discount as the 3.7 and 3.8 rows: Google halves all
+ // three rates through 2026-12-31 (Google's pricing page, read 2026-09-09).
modelId: "gemini-3.6-flash",
displayName: "Gemini 3.6 Flash",
provider: "google",
contextWindow: 1048576,
pricing: usd(0.15, 1.5, 7.5),
+ discount: 0.5,
supportsVision: true,
},
{
+ // Google's 3.5 tier list price ($1.50 / $9.00 / $0.15 cache hit), which carries no launch
+ // discount — re-read 2026-09-09. The $9 output is what the tier costs, not a promotion.
modelId: "gemini-3.5-flash",
displayName: "Gemini 3.5 Flash",
provider: "google",
diff --git a/packages/core/test/model-catalog.test.ts b/packages/core/test/model-catalog.test.ts
index 2a065a7b..9d21f88c 100644
--- a/packages/core/test/model-catalog.test.ts
+++ b/packages/core/test/model-catalog.test.ts
@@ -298,6 +298,7 @@ describe("model-catalog", () => {
"deepseek/deepseek-v4-flash-vision-exp",
"deepseek/deepseek-v4-pro-0813",
"deepseek/deepseek-v4-pro",
+ "google/gemini-3.8-flash",
"google/gemini-3.7-flash",
"google/gemini-3.6-flash",
"google/gemini-3.5-flash",
@@ -585,8 +586,10 @@ describe("model-catalog", () => {
const sonnet5 = catalogEntryFor("openrouter", "anthropic/claude-sonnet-5")!.pricing!;
expect([sonnet5.cache_read, sonnet5.cache_write, sonnet5.output]).toEqual([0.2, 2.5, 10]);
// Gemini 3.6 Flash and 3.5 Flash Lite: upstream publishes a cache-hit price, so cache_read
- // stores the real discounted price (not the input price) — cache_read is its own billing
+ // stores the real cache-hit price (not the input price) — cache_read is its own billing
// bucket in the cost center. cache_write repeats input (no per-token cache-write fee).
+ // What the 3.6 row stores is the LIST price; the launch discount it also declares, and
+ // the halved rate it bills today, are asserted with the rest of the 3.x Flash rows below.
const g36 = catalogEntryFor("openrouter", "google/gemini-3.6-flash")!;
expect([g36.contextWindow, g36.supportsVision]).toEqual([1048576, true]);
expect([g36.pricing!.cache_read, g36.pricing!.cache_write, g36.pricing!.output]).toEqual([
@@ -623,6 +626,7 @@ describe("model-catalog", () => {
// Dictionary order by tier with newer versions of a tier first (same rule the OpenRouter
// block follows for the identical Claude line-up).
expect(MODEL_CATALOG.filter((m) => m.provider === "google").map((m) => m.modelId)).toEqual([
+ "gemini-3.8-flash",
"gemini-3.7-flash",
"gemini-3.6-flash",
"gemini-3.5-flash",
@@ -638,20 +642,58 @@ describe("model-catalog", () => {
"glm-5.1",
"glm-5",
]);
- // Gemini 3.7 Flash: the direct row stores Google's official list price (the launch
- // discount that halves it through 2026-12-31 is not stored, matching the catalog's
- // no-promotions policy), while the OpenRouter row stores what the gateway actually
- // bills — a `discount: 0.75` off that same list price, i.e. a quarter of it.
- const g37 = catalogEntryFor("google", "gemini-3.7-flash")!;
- expect([g37.contextWindow, g37.supportsVision]).toEqual([1048576, true]);
- expect([g37.pricing!.cache_read, g37.pricing!.cache_write, g37.pricing!.output]).toEqual([
- 0.15, 1.5, 7.5,
- ]);
- const g37or = catalogEntryFor("openrouter", "google/gemini-3.7-flash")!;
- expect([g37or.contextWindow, g37or.supportsVision]).toEqual([1048576, true]);
- expect([g37or.pricing!.cache_read, g37or.pricing!.cache_write, g37or.pricing!.output]).toEqual([
- 0.0375, 0.375, 1.875,
- ]);
+ // Gemini 3.6 / 3.7 / 3.8 Flash: Google halves all three of them through 2026-12-31, and
+ // all six of their rows — direct and on OpenRouter — store Google's list price and
+ // declare that launch discount in `discount`, so the list survives the promotion and
+ // effectivePricing yields the 0.075/0.75/3.75 either seller bills today.
+ for (const [provider, modelId] of [
+ ["google", "gemini-3.8-flash"],
+ ["google", "gemini-3.7-flash"],
+ ["google", "gemini-3.6-flash"],
+ ["openrouter", "google/gemini-3.8-flash"],
+ ["openrouter", "google/gemini-3.7-flash"],
+ ["openrouter", "google/gemini-3.6-flash"],
+ ] as const) {
+ const row = catalogEntryFor(provider, modelId)!;
+ expect([row.contextWindow, row.supportsVision, row.discount], modelId).toEqual([
+ 1048576,
+ true,
+ 0.5,
+ ]);
+ expect(
+ [row.pricing!.cache_read, row.pricing!.cache_write, row.pricing!.output],
+ modelId,
+ ).toEqual([0.15, 1.5, 7.5]);
+ const billed = effectivePricing(row)!;
+ expect([billed.cache_read, billed.cache_write, billed.output], modelId).toEqual([
+ 0.075, 0.75, 3.75,
+ ]);
+ }
+ // No other Gemini row carries a launch discount: Google's pricing page marks one on the
+ // 3.6 / 3.7 / 3.8 Flash generations and on nothing else in this catalog, so these rows
+ // bill exactly the list price they store. The numbers are pinned because none of them is
+ // the Flash list price above and each is a genuine other tier, not a hidden promotion —
+ // re-read 2026-09-09: 3.5 Flash $1.50 / $9.00 / $0.15 cache hit, 3.5 Flash-Lite
+ // $0.30 / $2.50 / $0.03, 3.1 Flash-Lite $0.25 / $1.50 / $0.025, 3.1 Pro Preview ≤200K
+ // $2 / $12 / $0.20, the legacy 3 Flash Preview $0.50 / $3 / $0.05, and OpenRouter's default
+ // endpoints billing the 3.5 pair at exactly that list with `discount: 0`.
+ for (const [provider, modelId, list] of [
+ ["google", "gemini-3.5-flash", [0.15, 1.5, 9]],
+ ["google", "gemini-3.5-flash-lite", [0.03, 0.3, 2.5]],
+ ["google", "gemini-3.1-flash-lite", [0.025, 0.25, 1.5]],
+ ["google", "gemini-3.1-pro-preview", [0.2, 2, 12]],
+ ["google", "gemini-3-flash-preview", [0.05, 0.5, 3]],
+ ["openrouter", "google/gemini-3.5-flash", [0.15, 1.5, 9]],
+ ["openrouter", "google/gemini-3.5-flash-lite", [0.03, 0.3, 2.5]],
+ ] as const) {
+ const row = catalogEntryFor(provider, modelId)!;
+ expect(row.discount, modelId).toBeUndefined();
+ expect(
+ [row.pricing!.cache_read, row.pricing!.cache_write, row.pricing!.output],
+ modelId,
+ ).toEqual(list);
+ expect(effectivePricing(row), modelId).toEqual(row.pricing);
+ }
// GLM-5.3 is listed both directly and on OpenRouter; the gateway runs no discount, so
// the two rows agree on price and differ only in context window and protocol pin.
const glm53or = catalogEntryFor("openrouter", "z-ai/glm-5.3")!;
diff --git a/packages/docs/content/models.en.md b/packages/docs/content/models.en.md
index 251a3ab6..83b6739b 100644
--- a/packages/docs/content/models.en.md
+++ b/packages/docs/content/models.en.md
@@ -78,7 +78,7 @@ The gateway groups (openrouter / fireworks / siliconflow / tokendance / qwen-pay
The preset catalog also carries OpenRouter's free tier: the `:free` model variant `nvidia/nemotron-3-ultra-550b-a55b:free` and the `openrouter/free` unified Free Models Router. They cost nothing, but are subject to OpenRouter's free-tier rate limits and data policy.
-Some models in the preset catalog: deepseek-v4.1-flash / deepseek-v4-pro / deepseek-v4-flash / deepseek-v4-flash-vision-exp (deepseek-v4.1-flash and deepseek-v4-flash-vision-exp are the DeepSeek group's vision-capable models), MiniMax-M3, gemini-3.7-flash, claude-opus-5 / claude-opus-4-8 / claude-sonnet-5, gpt-6-astra / gpt-5.6 / gpt-5.5, glm-5.3 / glm-5.3-flash, kimi-k3, qwen3.8-max / qwen3.8-flash (not exhaustive). The whole OpenAI line-up is listed twice — directly (your own OpenAI key, list prices) and on OpenRouter as `openai/<id>` (the gateway's rates, which follow its running promotions). DeepSeek's direct-group rows record the official peak tier and declare its off-peak schedule: outside Beijing weekday 9:00–12:00 and 14:00–18:00 every bucket is halved, which the models page marks with a `-50%` tag and the cost center bills at. The stored price is always the peak one, so what is on disk does not depend on the hour a Project was created or re-synced in. `glm-5.3-flash` appears three times, and all three rows accept images: AgentHub's GLM client forwards image parts for this one GLM id (every other GLM id refuses them), while the OpenRouter row `z-ai/glm-5.3-flash` and the TokenDance row go through the generic OpenAI-compatible client, which carries them for any id. What the three rows do not share is the price: each records what its own seller charges, so they disagree while a promotion is running.
+Some models in the preset catalog: deepseek-v4.1-flash / deepseek-v4-pro / deepseek-v4-flash / deepseek-v4-flash-vision-exp (deepseek-v4.1-flash and deepseek-v4-flash-vision-exp are the DeepSeek group's vision-capable models), MiniMax-M3, gemini-3.8-flash, claude-opus-5 / claude-opus-4-8 / claude-sonnet-5, gpt-6-astra / gpt-5.6 / gpt-5.5, glm-5.3 / glm-5.3-flash, kimi-k3, qwen3.8-max / qwen3.8-flash (not exhaustive). The whole OpenAI line-up is listed twice — directly (your own OpenAI key, list prices) and on OpenRouter as `openai/<id>` (the gateway's rates, which follow its running promotions). DeepSeek's direct-group rows record the official peak tier and declare its off-peak schedule: outside Beijing weekday 9:00–12:00 and 14:00–18:00 every bucket is halved, which the models page marks with a `-50%` tag and the cost center bills at. The stored price is always the peak one, so what is on disk does not depend on the hour a Project was created or re-synced in. `glm-5.3-flash` appears three times, and all three rows accept images: AgentHub's GLM client forwards image parts for this one GLM id (every other GLM id refuses them), while the OpenRouter row `z-ai/glm-5.3-flash` and the TokenDance row go through the generic OpenAI-compatible client, which carries them for any id. What the three rows do not share is the price: each records what its own seller charges, so they disagree while a promotion is running.
TokenDance rows record the gateway's list price and, where a promotion is running, the rate off it. Six models are discounted today — `deepseek-v4-flash-0731`, `deepseek-v4-pro-0813` and `glm-5.3-flash` at 50% off, `kimi-k3` at 20%, `glm-5.3` and `qwen3.8-max` at 10%. Their model cards show the price being billed right now, with the rate as a badge, and a Project is preset with the **discounted** price, so the cost center charges what the gateway charges. Prices you edit yourself keep the discount decoration off the card: the figure is then yours, not the gateway's.
diff --git a/packages/docs/content/models.zh.md b/packages/docs/content/models.zh.md
index 6968a179..ed38f40f 100644
--- a/packages/docs/content/models.zh.md
+++ b/packages/docs/content/models.zh.md
@@ -78,7 +78,7 @@ api_key = "sk-..."
预置目录还收录了 OpenRouter 的免费档:`:free` 模型变体 `nvidia/nemotron-3-ultra-550b-a55b:free` 与统一路由 `openrouter/free`(Free Models Router),零成本可用,但受 OpenRouter 免费档速率限制与数据政策约束。
-预置目录中的部分模型:deepseek-v4.1-flash / deepseek-v4-pro / deepseek-v4-flash / deepseek-v4-flash-vision-exp(其中 deepseek-v4.1-flash 与 deepseek-v4-flash-vision-exp 是 DeepSeek 分组中支持图像输入的两条)、MiniMax-M3、gemini-3.7-flash、claude-opus-5 / claude-opus-4-8 / claude-sonnet-5、gpt-6-astra / gpt-5.6 / gpt-5.5、glm-5.3 / glm-5.3-flash、kimi-k3、qwen3.8-max / qwen3.8-flash 等(非完整清单)。OpenAI 全系列都收录了两份——直连(用自己的 OpenAI Key,记牌价)与 OpenRouter 上的 `openai/<id>`(记网关实际计费价,会随其促销浮动)。DeepSeek 直连分组的条目记录官方高峰档,并声明其空闲时段规则:在北京时间周一至周五 9:00–12:00、14:00–18:00 之外,各档价格减半——模型页以 `-50%` 标记,成本中心按此计价。存盘的始终是高峰价,因此磁盘上的数字不会随 Project 创建或同步预置的时刻而变。`glm-5.3-flash` 收录了三份,三条都支持图像输入:AgentHub 的 GLM 客户端只为这一个 GLM id 转发图像部件(其余 GLM id 一律拒绝),而 OpenRouter 上的 `z-ai/glm-5.3-flash` 与 TokenDance 分组的同名条目走通用 OpenAI 兼容客户端,对任何 id 都能携带图片。三条不一致的是价格:每一条都记录各自卖家的收费,因此促销期间三者不同。
+预置目录中的部分模型:deepseek-v4.1-flash / deepseek-v4-pro / deepseek-v4-flash / deepseek-v4-flash-vision-exp(其中 deepseek-v4.1-flash 与 deepseek-v4-flash-vision-exp 是 DeepSeek 分组中支持图像输入的两条)、MiniMax-M3、gemini-3.8-flash、claude-opus-5 / claude-opus-4-8 / claude-sonnet-5、gpt-6-astra / gpt-5.6 / gpt-5.5、glm-5.3 / glm-5.3-flash、kimi-k3、qwen3.8-max / qwen3.8-flash 等(非完整清单)。OpenAI 全系列都收录了两份——直连(用自己的 OpenAI Key,记牌价)与 OpenRouter 上的 `openai/<id>`(记网关实际计费价,会随其促销浮动)。DeepSeek 直连分组的条目记录官方高峰档,并声明其空闲时段规则:在北京时间周一至周五 9:00–12:00、14:00–18:00 之外,各档价格减半——模型页以 `-50%` 标记,成本中心按此计价。存盘的始终是高峰价,因此磁盘上的数字不会随 Project 创建或同步预置的时刻而变。`glm-5.3-flash` 收录了三份,三条都支持图像输入:AgentHub 的 GLM 客户端只为这一个 GLM id 转发图像部件(其余 GLM id 一律拒绝),而 OpenRouter 上的 `z-ai/glm-5.3-flash` 与 TokenDance 分组的同名条目走通用 OpenAI 兼容客户端,对任何 id 都能携带图片。三条不一致的是价格:每一条都记录各自卖家的收费,因此促销期间三者不同。
TokenDance 分组的条目记录该网关的牌价,并在有促销时记录折扣率。当前有六个模型处于折扣中——`deepseek-v4-flash-0731`、`deepseek-v4-pro-0813` 与 `glm-5.3-flash` 五折,`kimi-k3` 八折,`glm-5.3` 与 `qwen3.8-max` 九折。它们的模型卡片显示当前实际计费的那个价格,并以徽标标出折扣率;新建 Project 预置的是**折后价**,因此成本中心按网关实际收费计价。自行修改过价格的条目不再显示折扣标记:此时那个数字属于你,而不是网关。
diff --git a/plugins/agent-development/plugin.json b/plugins/agent-development/plugin.json
index 38c9fce6..2387813a 100644
--- a/plugins/agent-development/plugin.json
+++ b/plugins/agent-development/plugin.json
@@ -3,6 +3,6 @@
"description_zh": "基于 PenguinHarness 的智能体开发:用 SDK 构建应用、经统一的 LLM API 调用任意模型、管理模型与密钥、编排智能体/会话/成本/定时任务。",
"short_description": "SDK, unified LLM API, config and orchestration.",
"short_description_zh": "SDK、统一 LLM API、配置与编排。",
- "version": "2026-09-09.1",
+ "version": "2026-09-09.2",
"category": "ai-app-development"
}
diff --git a/plugins/agent-development/skills/unified-llm-api/SKILL.md b/plugins/agent-development/skills/unified-llm-api/SKILL.md
index e628d362..5b2286b0 100644
--- a/plugins/agent-development/skills/unified-llm-api/SKILL.md
+++ b/plugins/agent-development/skills/unified-llm-api/SKILL.md
@@ -45,6 +45,7 @@ Use exact model ids. If an id is not in the table below and the user has not giv
| Family | Official IDs | Gateway variants |
| ---------------- | --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
+| Gemini 3.8 | `gemini-3.8-flash` | OpenRouter `google/gemini-3.8-flash` |
| Gemini 3.7 | `gemini-3.7-flash` | OpenRouter `google/gemini-3.7-flash` |
| Gemini 3.6 | `gemini-3.6-flash`, `gemini-3.5-flash-lite` | — |
| Gemini 3 | `gemini-3.1-pro-preview`, `gemini-3.5-flash`, `gemini-3.1-flash-lite` | — |