provider: Antigravity's retired 2.5 Flash models are named for themselves again, with no tagDescription to go by (新v学员 on Discord)

新v学员 (#feedback, 10-20; Antigravity on a Google AI Plus plan): three
chips in the subscription's model list read "Gemini 3.5 Flash Lite", and
only one was gemini-3.5-flash-lite; hovering the others showed
gemini-2.5-flash and gemini-2.5-flash-lite.

Cause: Antigravity's fetchAvailableModels still names gemini-2.5-flash,
gemini-2.5-flash-lite (and the hidden -thinking) "Gemini 3.5 Flash Lite".
b68377dae (#1918) renamed them only when their tagDescription named
another family. Google no longer sends a tagDescription for these, and
where it sends one now it is a notice ("GPT-OSS will be removed from
Antigravity on November 2, 2026."), so nothing was renamed. Checked on the
owner's account today: no tagDescription on any Gemini model.

Fix: a model is named for its own id (catalog.NameOf, else its id) when
its name is spelled by another family's id in the list
("Gemini 3.5 Flash Lite" is gemini-3.5-flash-lite), or when its enum
names its own id (MODEL_GOOGLE_GEMINI_2_5_FLASH is gemini-2.5-flash;
models Antigravity names correctly carry MODEL_PLACEHOLDER_M…), which
covers an account whose list has no gemini-3.5-flash-lite. Levels of one
model (gemini-3.7-flash, -low) and a name no id spells, such as
gemini-3-flash-agent "Gemini 3.5 Flash (High)", stay as given. The same
names reach /v1/models, agents' lists and Usage's windows, since all of
them read modelInfo. The GUI's own way of showing what tells same-named
models apart (a77ecbf8a) is unchanged.

Test: TestAntigravityRetiredModelNamedWithoutTag reads
testdata/antigravity-models-2026-10-20.json, the real fetchAvailableModels
reply of today with MIME types and experiments left out. It runs three
cases: the list as given (all three ids that read "Gemini 3.5 Flash
Lite"), the list without gemini-3.5-flash-lite, and the 2.5 models with
placeholder enums. In each, no two models read the same and both 2.5 ids
are named for themselves. On the old google.go it fails in two cases:
"gemini-2.5-flash and gemini-2.5-flash-lite both read "Gemini 3.5 Flash
Lite"", "gemini-2.5-flash is named "Gemini 3.5 Flash Lite", not for
itself", plus the same for Usage's windows. With the enum rule broken by
hand, "no gemini-3.5-flash-lite" fails; with the spelled-name rule
broken, "placeholder enums" fails. TestAntigravityRetiredModelNamedForItself
(#1918's fixture) still passes.

Real use: built with -tags nogui and run as `magpie serve` with
MAGPIE_ADDR=127.0.0.1:3488 in a sandbox HOME, holding only a copy of the
owner's Antigravity login (free tier). /v1/models listed
gemini-2.5-flash "Gemini 2.5 Flash", gemini-2.5-flash-lite "Gemini 2.5
Flash-Lite", gemini-3.5-flash-lite "Gemini 3.5 Flash Lite" and
gemini-3-flash-agent "Gemini 3.5 Flash (High)". Not tried on a Plus account
or in the reporter's Windows/Linux GUI.

Run in a fresh worktree on origin/main e4ac5e871: gofmt -l clean; go vet
./..., GOOS=linux go vet -tags nogui ./..., GOOS=windows go vet ./... all
clean; go build, GOOS=linux go build -tags nogui, GOOS=windows go build
ok; `set -o pipefail; go test -timeout 45m ./...` at load 360-450:
64 packages, 61 ok (internal/provider 806s), 3 red, each already filed:
internal/agent past 45m (TestMorphContextWindow at the deadline, #2544,
#2723), internal/gateway past 45m (TestTierRecordedPerTry at the
deadline, #2870, #2108), internal/middleware TestOnUsageRows
"strategies.seen: took too long" (#2687). None of them reads
Antigravity's names.
No GUI file changed, so the GUI suite was not run.
This commit is contained in:
yetone
2026-10-20 02:49:50 +08:00
parent fb101b0d57
commit 16327872c3
4 changed files with 545 additions and 14 deletions
+18
View File
@@ -72,6 +72,24 @@ func antigravityNameEffort(name string) (string, string) {
return strings.TrimSpace(name[:open]), level
}
// antigravityNameSpells is whether a name, without the level in brackets,
// is the id's family written out: "Gemini 3.5 Flash Lite" spells
// gemini-3.5-flash-lite, "Gemini 3.7 Flash (Low)" gemini-3.7-flash-low;
// "Gemini 3.5 Flash Lite" doesn't spell gemini-2.5-flash.
func antigravityNameSpells(name, id string) bool {
n, _ := antigravityNameEffort(name)
n = strings.Join(strings.Fields(n), "-")
return n != "" && strings.EqualFold(n, EffortFamily(id))
}
// antigravityEnumNames is whether Antigravity's enum for a model names that
// id itself (MODEL_GOOGLE_GEMINI_2_5_FLASH is gemini-2.5-flash); the
// models it names for themselves have placeholders (MODEL_PLACEHOLDER_M198).
func antigravityEnumNames(enum, id string) bool {
e, ok := strings.CutPrefix(enum, "MODEL_GOOGLE_")
return ok && e != "" && strings.EqualFold(e, strings.NewReplacer("-", "_", ".", "_").Replace(id))
}
// antigravityFamily is one family of Antigravity's ids.
type antigravityFamily struct {
id string
+22 -14
View File
@@ -927,7 +927,7 @@ func (g googleAccount) modelInfo(ctx context.Context) ([]googleModelInfo, error)
var res struct {
Models map[string]struct {
DisplayName string `json:"displayName"`
TagDescription string `json:"tagDescription"`
Model string `json:"model"` // its enum: MODEL_GOOGLE_GEMINI_2_5_FLASH, MODEL_PLACEHOLDER_M198
Disabled bool `json:"disabled"`
MaxTokens int `json:"maxTokens"`
MaxOutputTokens int `json:"maxOutputTokens"`
@@ -1001,25 +1001,33 @@ func (g googleAccount) modelInfo(ctx context.Context) ([]googleModelInfo, error)
out = append(out, mi)
}
// Antigravity lists a model it moved its users off under the name
// of the one it moved them to, and tags it with that one's id:
// gemini-2.5-flash and gemini-2.5-flash-lite came as "Gemini 3.5
// Flash Lite", tagged gemini-3.5-flash-lite, beside
// gemini-3.5-flash-lite itself, while each id is still answered by
// its own model (modelVersion gemini-2.5-flash), so the editor
// of the one it moved them to: gemini-2.5-flash and
// gemini-2.5-flash-lite come as "Gemini 3.5 Flash Lite", beside
// gemini-3.5-flash-lite itself, while each id is still answered
// by its own model (modelVersion gemini-2.5-flash), so the editor
// had three chips of one name and the first two weren't it
// (#1918, kchen0x). Such a model is named for its own id; a
// level of the model its tag names (gemini-3.7-flash-low) keeps
// the name it was given.
owners := map[string]int{}
// (#1918, kchen0x). b68377dae told them by tagDescription, which
// then named the model moved to; Google has since left it empty
// or made it a notice ("GPT-OSS will be removed…"), and the chips
// came back (新v学员 on Discord, 10-20). Such a model is named for
// its own id when its enum names that id (MODEL_GOOGLE_GEMINI_2_5_
// FLASH, where the models Antigravity names truly are
// MODEL_PLACEHOLDER_M…), or when another family's model of that
// name is the one its name spells. Levels of one model
// (gemini-3.7-flash, -low) keep the name they share.
spelled := map[string]bool{}
for _, mi := range out {
owners[mi.Name]++
if antigravityNameSpells(mi.Name, mi.ID) {
spelled[mi.Name] = true
}
}
for i, mi := range out {
tag := res.Models[mi.ID].TagDescription
if mi.Name == "" || owners[mi.Name] < 2 || tag == "" || EffortFamily(tag) == EffortFamily(mi.ID) {
if mi.Name == "" || antigravityNameSpells(mi.Name, mi.ID) {
continue
}
out[i].Name = catalog.NameOf(mi.ID) // "" is named later, by its id at the least
if spelled[mi.Name] || antigravityEnumNames(res.Models[mi.ID].Model, mi.ID) {
out[i].Name = catalog.NameOf(mi.ID) // "" is named later, by its id at the least
}
}
rank := map[string]int{}
for _, s := range res.AgentModelSorts {
+89
View File
@@ -732,3 +732,92 @@ func TestAntigravityRetiredModelNamedForItself(t *testing.T) {
}
}
}
// Antigravity's list as it came on 2026-10-20 (testdata, fetchAvailableModels
// on a free-tier account, MIME types and experiments left out): the
// retired gemini-2.5-flash and gemini-2.5-flash-lite are still "Gemini 3.5
// Flash Lite", but with no tagDescription, so naming them by their tag
// left two chips of that name in 新v学员's editor (Discord, 10-20). Each
// is named for its own id with gemini-3.5-flash-lite in the list, and
// without it (an account Antigravity doesn't give it), where only their
// enums, MODEL_GOOGLE_GEMINI_2_5_FLASH…, say what they are, and with their
// enums placeholders, where only gemini-3.5-flash-lite's id spelling the
// name does; no two models read the same, and the names Antigravity gives
// the rest stay.
func TestAntigravityRetiredModelNamedWithoutTag(t *testing.T) {
raw, err := os.ReadFile("testdata/antigravity-models-2026-10-20.json")
if err != nil {
t.Fatal(err)
}
for _, c := range []struct {
name string
withLite, noEnums bool
}{{"as listed", true, false}, {"no gemini-3.5-flash-lite", false, false}, {"placeholder enums", true, true}} {
withLite := c.withLite
t.Run(c.name, func(t *testing.T) {
var list map[string]any
if err := json.Unmarshal(raw, &list); err != nil {
t.Fatal(err)
}
models := list["models"].(map[string]any)
if !withLite {
delete(models, "gemini-3.5-flash-lite")
}
if c.noEnums {
for _, id := range []string{"gemini-2.5-flash", "gemini-2.5-flash-lite"} {
models[id].(map[string]any)["model"] = "MODEL_PLACEHOLDER_M" + id
}
}
body, _ := json.Marshal(list)
f := &fakeGoogle{
load: `{"allowedTiers":[{"id":"free-tier","name":"Antigravity","isDefault":true}]}`,
onboard: `{"done":true,"response":{"cloudaicompanionProject":"ag-proj"}}`,
models: string(body),
}
googleSandbox(t, f)
auth := googleAuth{AccessToken: "tok", RefreshToken: "rt-ag", Expiry: time.Now().Add(time.Hour).UnixMilli()}
if err := addGoogleLogin("antigravity", "ag@example.com", "", auth); err != nil {
t.Fatal(err)
}
acct := googleLogins("antigravity")[0].acct
ms, err := acct.models(context.Background())
if err != nil {
t.Fatal(err)
}
names, seen := map[string]string{}, map[string]string{}
for _, m := range collapseAntigravityModels(catalog.Decorate(ms, nil)) {
names[m.ID] = m.Name
if other, ok := seen[m.Name]; ok {
t.Errorf("%s and %s both read %q", other, m.ID, m.Name)
}
seen[m.Name] = m.ID
}
for _, id := range []string{"gemini-2.5-flash", "gemini-2.5-flash-lite"} {
if n := names[id]; n == "" || strings.Contains(n, "3.5") {
t.Errorf("%s is named %q, not for itself", id, n)
}
}
want := map[string]string{
"gemini-3-flash": "Gemini 3 Flash",
"gemini-3-flash-agent": "Gemini 3.5 Flash (High)",
"gemini-3.1-flash-lite": "Gemini 3.1 Flash Lite",
"gemini-3.1-flash-image": "Gemini 3.1 Flash Image",
"gpt-oss-120b-medium": "GPT-OSS 120B (Medium)",
"gemini-3.8-flash": "Gemini 3.8 Flash",
}
if withLite {
want["gemini-3.5-flash-lite"] = "Gemini 3.5 Flash Lite"
}
for id, w := range want {
if names[id] != w {
t.Errorf("%s is named %q, want %q", id, names[id], w)
}
}
for _, w := range acct.quota(context.Background(), "").Windows {
if strings.HasPrefix(w.Model, "gemini-2.5") && strings.Contains(w.Name, "3.5") {
t.Errorf("Usage's window for %s is named %q", w.Model, w.Name)
}
}
})
}
}
@@ -0,0 +1,416 @@
{
"models": {
"gemini-3-flash": {
"displayName": "Gemini 3 Flash",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": -1,
"minThinkingBudget": 128,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65536,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M18",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true
},
"tab_flash_lite_preview": {
"maxTokens": 16384,
"maxOutputTokens": 4096,
"quotaInfo": {
"remainingFraction": 1
},
"model": "MODEL_PLACEHOLDER_M19",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsCumulativeContext": true,
"supportsEstimateTokenCounter": true,
"toolFormatterType": "TOOL_FORMATTER_TYPE_XML",
"requiresLeadInGeneration": true
},
"gemini-3.8-flash-high": {
"displayName": "Gemini 3.8 Flash (High)",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": -1,
"minThinkingBudget": 32,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65536,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M318",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true
},
"claude-sonnet-4-6": {
"displayName": "Claude Sonnet 4.6 (Thinking)",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": 1024,
"recommended": true,
"maxTokens": 250000,
"maxOutputTokens": 64000,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M35",
"apiProvider": "API_PROVIDER_ANTHROPIC_VERTEX",
"modelProvider": "MODEL_PROVIDER_ANTHROPIC",
"tagTitle": "Notice",
"tagDescription": "Sonnet 5.5 is now available on paid Pro and Ultra plans. Third-party model access will no longer be available on your current plan starting on November 2, 2026.",
"vertexModelId": "claude-sonnet-4-6@default"
},
"gemini-3-flash-agent": {
"displayName": "Gemini 3.5 Flash (High)",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": -1,
"minThinkingBudget": 32,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65536,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M84",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true
},
"gemini-3.5-flash-lite": {
"displayName": "Gemini 3.5 Flash Lite",
"supportsImages": true,
"supportsThinking": true,
"minThinkingBudget": 128,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65535,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M198",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true,
"thinkingLevel": 1
},
"gemini-3.5-flash-extra-low": {
"displayName": "Gemini 3.5 Flash (Low)",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": 1000,
"minThinkingBudget": 32,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65536,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M187",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true
},
"gemini-3.1-flash-image": {
"displayName": "Gemini 3.1 Flash Image",
"supportsImages": true,
"maxTokens": 65536,
"maxOutputTokens": 65536,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M21",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE"
},
"gpt-oss-120b-medium": {
"displayName": "GPT-OSS 120B (Medium)",
"supportsThinking": true,
"thinkingBudget": 8192,
"recommended": true,
"maxTokens": 131072,
"maxOutputTokens": 32768,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_OPENAI_GPT_OSS_120B_MEDIUM",
"apiProvider": "API_PROVIDER_OPENAI_VERTEX",
"modelProvider": "MODEL_PROVIDER_OPENAI",
"tagTitle": "Notice",
"tagDescription": "GPT-OSS will be removed from Antigravity on November 2, 2026.",
"vertexModelId": "openai/gpt-oss-120b-maas"
},
"gemini-2.5-pro": {
"displayName": "Gemini 2.5 Pro",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": 1024,
"minThinkingBudget": 128,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65535,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_GOOGLE_GEMINI_2_5_PRO",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"requiresImageOutputOutsideFunctionResponses": true
},
"gemini-3.5-flash-low": {
"displayName": "Gemini 3.5 Flash (Medium)",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": 4000,
"minThinkingBudget": 32,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65536,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M20",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true
},
"gemini-3.1-flash-lite": {
"displayName": "Gemini 3.1 Flash Lite",
"supportsImages": true,
"supportsThinking": true,
"minThinkingBudget": 128,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65535,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M50",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true,
"thinkingLevel": 1
},
"gemini-3.8-flash-tiered": {
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": -1,
"minThinkingBudget": 32,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65536,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M322",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true
},
"claude-opus-4-6-thinking": {
"displayName": "Claude Opus 4.6 (Thinking)",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": 1024,
"recommended": true,
"maxTokens": 250000,
"maxOutputTokens": 64000,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M26",
"apiProvider": "API_PROVIDER_ANTHROPIC_VERTEX",
"modelProvider": "MODEL_PROVIDER_ANTHROPIC",
"tagTitle": "Notice",
"tagDescription": "Opus 5.5 is now available on paid Pro and Ultra plans. Third-party model access will no longer be available on your current plan starting on November 2, 2026.",
"vertexModelId": "claude-opus-4-6@default"
},
"gemini-2.5-flash-thinking": {
"displayName": "Gemini 3.5 Flash Lite",
"supportsImages": true,
"supportsThinking": true,
"minThinkingBudget": 128,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65535,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_GOOGLE_GEMINI_2_5_FLASH_THINKING",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true,
"thinkingLevel": 1
},
"gemini-2.5-flash-lite": {
"displayName": "Gemini 3.5 Flash Lite",
"supportsImages": true,
"supportsThinking": true,
"minThinkingBudget": 128,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65535,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_GOOGLE_GEMINI_2_5_FLASH_LITE",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true,
"thinkingLevel": 1
},
"chat_23310": {
"maxTokens": 32768,
"quotaInfo": {
"remainingFraction": 1
},
"model": "MODEL_CHAT_23310",
"apiProvider": "API_PROVIDER_INTERNAL",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsCumulativeContext": true,
"supportsEstimateTokenCounter": true,
"isInternal": true,
"promptTemplaterType": "PROMPT_TEMPLATER_TYPE_CHATML",
"toolFormatterType": "TOOL_FORMATTER_TYPE_XML",
"requiresLeadInGeneration": true
},
"gemini-3.8-flash-low": {
"displayName": "Gemini 3.8 Flash (Low)",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": 1000,
"minThinkingBudget": 32,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65536,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M320",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true
},
"tab_jump_flash_lite_preview": {
"maxTokens": 16384,
"maxOutputTokens": 4096,
"quotaInfo": {
"remainingFraction": 1
},
"model": "MODEL_PLACEHOLDER_M28",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsCumulativeContext": true,
"tabJumpPrintLineRange": true,
"supportsEstimateTokenCounter": true,
"addCursorToFindReplaceTarget": true,
"toolFormatterType": "TOOL_FORMATTER_TYPE_XML",
"requiresLeadInGeneration": true,
"requiresNoXmlToolExamples": true
},
"gemini-3.8-flash-medium": {
"displayName": "Gemini 3.8 Flash (Medium)",
"supportsImages": true,
"supportsThinking": true,
"thinkingBudget": 4000,
"minThinkingBudget": 32,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65536,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_PLACEHOLDER_M319",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true
},
"chat_20706": {
"maxTokens": 16384,
"quotaInfo": {
"remainingFraction": 1
},
"model": "MODEL_CHAT_20706",
"apiProvider": "API_PROVIDER_INTERNAL",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsCumulativeContext": true,
"tabJumpPrintLineRange": true,
"supportsEstimateTokenCounter": true,
"isInternal": true,
"addCursorToFindReplaceTarget": true,
"promptTemplaterType": "PROMPT_TEMPLATER_TYPE_CHATML",
"toolFormatterType": "TOOL_FORMATTER_TYPE_XML",
"requiresLeadInGeneration": true
},
"gemini-2.5-flash": {
"displayName": "Gemini 3.5 Flash Lite",
"supportsImages": true,
"supportsThinking": true,
"minThinkingBudget": 128,
"recommended": true,
"maxTokens": 1048576,
"maxOutputTokens": 65535,
"quotaInfo": {
"remainingFraction": 1,
"resetTime": "2026-10-26T17:10:26Z"
},
"model": "MODEL_GOOGLE_GEMINI_2_5_FLASH",
"apiProvider": "API_PROVIDER_GOOGLE_GEMINI",
"modelProvider": "MODEL_PROVIDER_GOOGLE",
"supportsVideo": true,
"thinkingLevel": 1
}
},
"defaultAgentModelId": "gemini-3.8-flash-high",
"agentModelSorts": [
{
"displayName": "Recommended",
"groups": [
{
"modelIds": [
"gemini-3.8-flash-high",
"gemini-3.8-flash-medium",
"gemini-3.8-flash-low",
"claude-sonnet-4-6",
"claude-opus-4-6-thinking",
"gpt-oss-120b-medium"
]
}
]
}
],
"tieredModelIds": {
"flashLite": [
"gemini-3.5-flash-lite"
],
"flash": [
"gemini-3.8-flash-tiered"
],
"pro": [
"gemini-3.8-flash-tiered"
]
}
}