[GH-ISSUE #30] 模型使用的是3.1 pro,但是v1/usage的用量提示是3.0pro #25

Closed
opened 2026-02-27 15:37:59 +03:00 by kerem · 9 comments
Owner

Originally created by @DanqingLuan on GitHub (Feb 20, 2026).
Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/30

What happened?

{
"mitm": {
"per_model": {
"gemini-2.5-flash": {
"cache_creation_tokens": 0,
"cache_read_tokens": 0,
"input_tokens": 88910,
"output_tokens": 952,
"requests": 7
},
"gemini-3-flash": {
"cache_creation_tokens": 0,
"cache_read_tokens": 0,
"input_tokens": 37397,
"output_tokens": 5333,
"requests": 4
},
"gemini-3-pro-high": {
"cache_creation_tokens": 0,
"cache_read_tokens": 0,
"input_tokens": 61896,
"output_tokens": 20013,
"requests": 3
}
},
"total_cache_creation_tokens": 0,
"total_cache_read_tokens": 0,
"total_input_tokens": 188203,
"total_output_tokens": 26298,
"total_requests": 14,
"total_response_output_tokens": 0,
"total_thinking_output_tokens": 19177,
"total_tokens": 214501
}
}

我使用的模型是 "gemini-3.1-pro",但是显示的是 "gemini-3-pro-high",另外 "gemini-2.5-flash" 也不对,我并没有使用这个模型。

How to reproduce

No response

Diagnostic Report

Additional Context

No response

Originally created by @DanqingLuan on GitHub (Feb 20, 2026). Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/30 ### What happened? { "mitm": { "per_model": { "gemini-2.5-flash": { "cache_creation_tokens": 0, "cache_read_tokens": 0, "input_tokens": 88910, "output_tokens": 952, "requests": 7 }, "gemini-3-flash": { "cache_creation_tokens": 0, "cache_read_tokens": 0, "input_tokens": 37397, "output_tokens": 5333, "requests": 4 }, "gemini-3-pro-high": { "cache_creation_tokens": 0, "cache_read_tokens": 0, "input_tokens": 61896, "output_tokens": 20013, "requests": 3 } }, "total_cache_creation_tokens": 0, "total_cache_read_tokens": 0, "total_input_tokens": 188203, "total_output_tokens": 26298, "total_requests": 14, "total_response_output_tokens": 0, "total_thinking_output_tokens": 19177, "total_tokens": 214501 } } 我使用的模型是 "gemini-3.1-pro",但是显示的是 "gemini-3-pro-high",另外 "gemini-2.5-flash" 也不对,我并没有使用这个模型。 ### How to reproduce _No response_ ### Diagnostic Report ```text 无 ``` ### Additional Context _No response_
kerem 2026-02-27 15:37:59 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@NikkeTryHard commented on GitHub (Feb 20, 2026):

use zg status in the meantime while i update v1 usage

<!-- gh-comment-id:3931357496 --> @NikkeTryHard commented on GitHub (Feb 20, 2026): use zg status in the meantime while i update v1 usage
Author
Owner

@DanqingLuan commented on GitHub (Feb 20, 2026):

● ZeroGravity v1.1.8 — running on port 8741

Endpoints
Gemini http://localhost:8741/v1beta/models/MODEL:ACTION
OpenAI http://localhost:8741/v1/chat/completions
Responses http://localhost:8741/v1/responses
Anthropic http://localhost:8741/v1/messages
Models http://localhost:8741/v1/models

Plan: Pro (Google AI Pro)

Quota
Model Remaining Bar Reset
Gemini 3.1 Pro (High) 100% ██████████ 1h 5m
Gemini 3.1 Pro (Low) 100% ██████████ 1h 5m
Gemini 3 Pro (High) 100% ██████████ 1h 5m
Gemini 3 Pro (Low) 100% ██████████ 1h 5m
Gemini 3 Flash 100% ██████████ 1h 5m
Claude Sonnet 4.6 (Thinking) 0% ░░░░░░░░░░ 49h 38m
Claude Opus 4.6 (Thinking) 0% ░░░░░░░░░░ 49h 38m
GPT-OSS 120B (Medium) 0% ░░░░░░░░░░ 49h 38m

Usage
Requests 72
Tokens 1.6M in / 208.5K out
Thinking 146.9K tokens

gemini-2.5-flash 34 req · 726.7K tok in · 4.7K tok out
gemini-3-flash 12 req · 136.7K tok in · 14.0K tok out
gemini-3-pro-high 26 req · 713.0K tok in · 189.7K tok out

zg status仍然显示的gemini 3 pro 而不是 3.1 pro

模型我尝试了 gemini-3.1-pro-high 和 gemini-3.1-pro,但是都不行。

<!-- gh-comment-id:3931380372 --> @DanqingLuan commented on GitHub (Feb 20, 2026): ● ZeroGravity v1.1.8 — running on port 8741 Endpoints Gemini http://localhost:8741/v1beta/models/MODEL:ACTION OpenAI http://localhost:8741/v1/chat/completions Responses http://localhost:8741/v1/responses Anthropic http://localhost:8741/v1/messages Models http://localhost:8741/v1/models Plan: Pro (Google AI Pro) Quota Model Remaining Bar Reset Gemini 3.1 Pro (High) 100% ██████████ 1h 5m Gemini 3.1 Pro (Low) 100% ██████████ 1h 5m Gemini 3 Pro (High) 100% ██████████ 1h 5m Gemini 3 Pro (Low) 100% ██████████ 1h 5m Gemini 3 Flash 100% ██████████ 1h 5m Claude Sonnet 4.6 (Thinking) 0% ░░░░░░░░░░ 49h 38m Claude Opus 4.6 (Thinking) 0% ░░░░░░░░░░ 49h 38m GPT-OSS 120B (Medium) 0% ░░░░░░░░░░ 49h 38m Usage Requests 72 Tokens 1.6M in / 208.5K out Thinking 146.9K tokens gemini-2.5-flash 34 req · 726.7K tok in · 4.7K tok out gemini-3-flash 12 req · 136.7K tok in · 14.0K tok out gemini-3-pro-high 26 req · 713.0K tok in · 189.7K tok out zg status仍然显示的gemini 3 pro 而不是 3.1 pro 模型我尝试了 gemini-3.1-pro-high 和 gemini-3.1-pro,但是都不行。
Author
Owner

@NikkeTryHard commented on GitHub (Feb 20, 2026):

具体日志分享一下 zg report

<!-- gh-comment-id:3931397556 --> @NikkeTryHard commented on GitHub (Feb 20, 2026): 具体日志分享一下 zg report
Author
Owner

@NikkeTryHard commented on GitHub (Feb 20, 2026):

我看没问题啊

<!-- gh-comment-id:3931398100 --> @NikkeTryHard commented on GitHub (Feb 20, 2026): 我看没问题啊
Author
Owner

@DanqingLuan commented on GitHub (Feb 20, 2026):

Generating diagnostic report...
[] Collecting system info...
[
] Checking ZeroGravity build...
[] Checking service status...
[
] Reading config...
[] Checking LS binary...
[
] Querying API endpoints...
[] Reading logs...
[
] Collecting traces...
[*] Writing report (5841 bytes)...
Failed to write report to /home/luangg/.config/zerogravity/diagnostic.toon: No such file or directory (os error 2)
Dumping to stdout instead:
generated_at: 2026-02-20T03:30:16Z
format: TOON/1.0
system:
os: Linux
kernel: 6.6.87.2-microsoft-standard-WSL2
arch: x86_64
distro: Ubuntu 24.04.1 LTS
glibc: ldd (Ubuntu GLIBC 2.39-0ubuntu8.5) 2.39
memory_total: 15Gi
memory_available: 14Gi
in_docker: false
zerogravity:
version: 1.1.8
dev_build: false
zg_binary: <install_dir>/bin/zg
service:
running: true
proxy_port: 8741
mitm_port: 8742
systemd: inactive
listeners[2]:
- "LISTEN 0 4096 *:8741 : "
- "LISTEN 0 4096 *:8742 :"
config:
config_dir: ~/.config/zerogravity
token_file_exists: false
token_env_set: false
api_key_set: false
env:
ls_binary:
found: false
api:
health: "{"status":"ok"}"
models: "{"data":[{"created":1700000000,"id":"opus-4.6","meta":{"enum_value":1026,"label":"Claude Opus 4.6 (Thinking)"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"opus-4.6"},{"created":1700000000,"id":"sonnet-4.6","meta":{"enum_value":1035,"label":"Claude Sonnet 4.6 (Thinking)"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"sonnet-4.6"},{"created":1700000000,"id":"opus-4.5","meta":{"enum_value":1012,"label":"Claude Opus 4.5 (Thinking)"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"opus-4.5"},{"created":1700000000,"id":"gemini-3-pro","meta":{"enum_value":1008,"label":"Gemini 3 Pro (High)"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"gemini-3-pro"},{"created":1700000000,"id":"gemini-3-pro-high","meta":{"enum_value":1008,"label":"Gemini 3 Pro (High)"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"gemini-3-pro-high"},{"created":1700000000,"id":"gemini-3-pro-low","meta":{"enum_value":1007,"label":"Gemini 3 Pro (Low)"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"gemini-3-pro-low"},{"created":1700000000,"id":"gemini-3-flash","meta":{"enum_value":1018,"label":"Gemini 3 Flash"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"gemini-3-flash"},{"created":1700000000,"id":"gemini-3.1-pro","meta":{"enum_value":1037,"label":"Gemini 3.1 Pro (High)"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"gemini-3.1-pro"},{"created":1700000000,"id":"gemini-3.1-pro-high","meta":{"enum_value":1037,"label":"Gemini 3.1 Pro (High)"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"gemini-3.1-pro-high"},{"created":1700000000,"id":"gemini-3.1-pro-low","meta":{"enum_value":1036,"label":"Gemini 3.1 Pro (Low)"},"object":"model","owned_by":"antigravity","parent":null,"permission":[],"root":"gemini-3.1-pro-low"}],"object":"list"}"
quota: "{"last_updated":"2026-02-20T03:29:39.015946033+00:00","models":[{"label":"Claude Opus 4.6 (Thinking)","model_id":"MODEL_PLACEHOLDER_M26","remaining_fraction":0.0,"remaining_pct":0.0,"reset_in_human":"49h 29m","reset_in_secs":178165,"reset_time":"2026-02-22T04:59:05Z"},{"label":"GPT-OSS 120B (Medium)","model_id":"MODEL_OPENAI_GPT_OSS_120B_MEDIUM","remaining_fraction":0.0,"remaining_pct":0.0,"reset_in_human":"49h 29m","reset_in_secs":178165,"reset_time":"2026-02-22T04:59:05Z"},{"label":"Gemini 3.1 Pro (High)","model_id":"MODEL_PLACEHOLDER_M37","remaining_fraction":1.0,"remaining_pct":100.0,"reset_in_human":"0h 56m","reset_in_secs":3368,"reset_time":"2026-02-20T04:25:48Z"},{"label":"Gemini 3.1 Pro (Low)","model_id":"MODEL_PLACEHOLDER_M36","remaining_fraction":1.0,"remaining_pct":100.0,"reset_in_human":"0h 56m","reset_in_secs":3368,"reset_time":"2026-02-20T04:25:48Z"},{"label":"Gemini 3 Pro (High)","model_id":"MODEL_PLACEHOLDER_M8","remaining_fraction":1.0,"remaining_pct":100.0,"reset_in_human":"0h 56m","reset_in_secs":3368,"reset_time":"2026-02-20T04:25:48Z"},{"label":"Gemini 3 Pro (Low)","model_id":"MODEL_PLACEHOLDER_M7","remaining_fraction":1.0,"remaining_pct":100.0,"reset_in_human":"0h 56m","reset_in_secs":3368,"reset_time":"2026-02-20T04:25:48Z"},{"label":"Gemini 3 Flash","model_id":"MODEL_PLACEHOLDER_M18","remaining_fraction":1.0,"remaining_pct":100.0,"reset_in_human":"0h 56m","reset_in_secs":3362,"reset_time":"2026-02-20T04:25:42Z"},{"label":"Claude Sonnet 4.6 (Thinking)","model_id":"MODEL_PLACEHOLDER_M35","remaining_fraction":0.0,"remaining_pct":0.0,"reset_in_human":"49h 29m","reset_in_secs":178165,"reset_time":"2026-02-22T04:59:05Z"}],"plan":{"plan_name":"Pro","tier_id":"g1-pro-tier","tier_name":"Google AI Pro"}}"
usage: "{"mitm":{"per_model":{"gemini-2.5-flash":{"cache_creation_tokens":0,"cache_read_tokens":0,"input_tokens":726736,"output_tokens":4745,"requests":34},"gemini-3-flash":{"cache_creation_tokens":0,"cache_read_tokens":0,"input_tokens":136662,"output_tokens":14002,"requests":12},"gemini-3-pro-high":{"cache_creation_tokens":0,"cache_read_tokens":0,"input_tokens":713037,"output_tokens":189725,"requests":26}},"total_cache_creation_tokens":0,"total_cache_read_tokens":0,"total_input_tokens":1576435,"total_output_tokens":208472,"total_requests":72,"total_response_output_tokens":0,"total_thinking_output_tokens":146948,"total_tokens":1784907}}"
logs:
exists: false
traces:
date: 2026-02-20
total_today: 0

<!-- gh-comment-id:3931404732 --> @DanqingLuan commented on GitHub (Feb 20, 2026): Generating diagnostic report... [*] Collecting system info... [*] Checking ZeroGravity build... [*] Checking service status... [*] Reading config... [*] Checking LS binary... [*] Querying API endpoints... [*] Reading logs... [*] Collecting traces... [*] Writing report (5841 bytes)... Failed to write report to /home/luangg/.config/zerogravity/diagnostic.toon: No such file or directory (os error 2) Dumping to stdout instead: generated_at: 2026-02-20T03:30:16Z format: TOON/1.0 system: os: Linux kernel: 6.6.87.2-microsoft-standard-WSL2 arch: x86_64 distro: Ubuntu 24.04.1 LTS glibc: ldd (Ubuntu GLIBC 2.39-0ubuntu8.5) 2.39 memory_total: 15Gi memory_available: 14Gi in_docker: false zerogravity: version: 1.1.8 dev_build: false zg_binary: <install_dir>/bin/zg service: running: true proxy_port: 8741 mitm_port: 8742 systemd: inactive listeners[2]: - "LISTEN 0 4096 *:8741 *:* " - "LISTEN 0 4096 *:8742 *:*" config: config_dir: ~/.config/zerogravity token_file_exists: false token_env_set: false api_key_set: false env: ls_binary: found: false api: health: "{\"status\":\"ok\"}" models: "{\"data\":[{\"created\":1700000000,\"id\":\"opus-4.6\",\"meta\":{\"enum_value\":1026,\"label\":\"Claude Opus 4.6 (Thinking)\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"opus-4.6\"},{\"created\":1700000000,\"id\":\"sonnet-4.6\",\"meta\":{\"enum_value\":1035,\"label\":\"Claude Sonnet 4.6 (Thinking)\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"sonnet-4.6\"},{\"created\":1700000000,\"id\":\"opus-4.5\",\"meta\":{\"enum_value\":1012,\"label\":\"Claude Opus 4.5 (Thinking)\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"opus-4.5\"},{\"created\":1700000000,\"id\":\"gemini-3-pro\",\"meta\":{\"enum_value\":1008,\"label\":\"Gemini 3 Pro (High)\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"gemini-3-pro\"},{\"created\":1700000000,\"id\":\"gemini-3-pro-high\",\"meta\":{\"enum_value\":1008,\"label\":\"Gemini 3 Pro (High)\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"gemini-3-pro-high\"},{\"created\":1700000000,\"id\":\"gemini-3-pro-low\",\"meta\":{\"enum_value\":1007,\"label\":\"Gemini 3 Pro (Low)\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"gemini-3-pro-low\"},{\"created\":1700000000,\"id\":\"gemini-3-flash\",\"meta\":{\"enum_value\":1018,\"label\":\"Gemini 3 Flash\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"gemini-3-flash\"},{\"created\":1700000000,\"id\":\"gemini-3.1-pro\",\"meta\":{\"enum_value\":1037,\"label\":\"Gemini 3.1 Pro (High)\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"gemini-3.1-pro\"},{\"created\":1700000000,\"id\":\"gemini-3.1-pro-high\",\"meta\":{\"enum_value\":1037,\"label\":\"Gemini 3.1 Pro (High)\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"gemini-3.1-pro-high\"},{\"created\":1700000000,\"id\":\"gemini-3.1-pro-low\",\"meta\":{\"enum_value\":1036,\"label\":\"Gemini 3.1 Pro (Low)\"},\"object\":\"model\",\"owned_by\":\"antigravity\",\"parent\":null,\"permission\":[],\"root\":\"gemini-3.1-pro-low\"}],\"object\":\"list\"}" quota: "{\"last_updated\":\"2026-02-20T03:29:39.015946033+00:00\",\"models\":[{\"label\":\"Claude Opus 4.6 (Thinking)\",\"model_id\":\"MODEL_PLACEHOLDER_M26\",\"remaining_fraction\":0.0,\"remaining_pct\":0.0,\"reset_in_human\":\"49h 29m\",\"reset_in_secs\":178165,\"reset_time\":\"2026-02-22T04:59:05Z\"},{\"label\":\"GPT-OSS 120B (Medium)\",\"model_id\":\"MODEL_OPENAI_GPT_OSS_120B_MEDIUM\",\"remaining_fraction\":0.0,\"remaining_pct\":0.0,\"reset_in_human\":\"49h 29m\",\"reset_in_secs\":178165,\"reset_time\":\"2026-02-22T04:59:05Z\"},{\"label\":\"Gemini 3.1 Pro (High)\",\"model_id\":\"MODEL_PLACEHOLDER_M37\",\"remaining_fraction\":1.0,\"remaining_pct\":100.0,\"reset_in_human\":\"0h 56m\",\"reset_in_secs\":3368,\"reset_time\":\"2026-02-20T04:25:48Z\"},{\"label\":\"Gemini 3.1 Pro (Low)\",\"model_id\":\"MODEL_PLACEHOLDER_M36\",\"remaining_fraction\":1.0,\"remaining_pct\":100.0,\"reset_in_human\":\"0h 56m\",\"reset_in_secs\":3368,\"reset_time\":\"2026-02-20T04:25:48Z\"},{\"label\":\"Gemini 3 Pro (High)\",\"model_id\":\"MODEL_PLACEHOLDER_M8\",\"remaining_fraction\":1.0,\"remaining_pct\":100.0,\"reset_in_human\":\"0h 56m\",\"reset_in_secs\":3368,\"reset_time\":\"2026-02-20T04:25:48Z\"},{\"label\":\"Gemini 3 Pro (Low)\",\"model_id\":\"MODEL_PLACEHOLDER_M7\",\"remaining_fraction\":1.0,\"remaining_pct\":100.0,\"reset_in_human\":\"0h 56m\",\"reset_in_secs\":3368,\"reset_time\":\"2026-02-20T04:25:48Z\"},{\"label\":\"Gemini 3 Flash\",\"model_id\":\"MODEL_PLACEHOLDER_M18\",\"remaining_fraction\":1.0,\"remaining_pct\":100.0,\"reset_in_human\":\"0h 56m\",\"reset_in_secs\":3362,\"reset_time\":\"2026-02-20T04:25:42Z\"},{\"label\":\"Claude Sonnet 4.6 (Thinking)\",\"model_id\":\"MODEL_PLACEHOLDER_M35\",\"remaining_fraction\":0.0,\"remaining_pct\":0.0,\"reset_in_human\":\"49h 29m\",\"reset_in_secs\":178165,\"reset_time\":\"2026-02-22T04:59:05Z\"}],\"plan\":{\"plan_name\":\"Pro\",\"tier_id\":\"g1-pro-tier\",\"tier_name\":\"Google AI Pro\"}}" usage: "{\"mitm\":{\"per_model\":{\"gemini-2.5-flash\":{\"cache_creation_tokens\":0,\"cache_read_tokens\":0,\"input_tokens\":726736,\"output_tokens\":4745,\"requests\":34},\"gemini-3-flash\":{\"cache_creation_tokens\":0,\"cache_read_tokens\":0,\"input_tokens\":136662,\"output_tokens\":14002,\"requests\":12},\"gemini-3-pro-high\":{\"cache_creation_tokens\":0,\"cache_read_tokens\":0,\"input_tokens\":713037,\"output_tokens\":189725,\"requests\":26}},\"total_cache_creation_tokens\":0,\"total_cache_read_tokens\":0,\"total_input_tokens\":1576435,\"total_output_tokens\":208472,\"total_requests\":72,\"total_response_output_tokens\":0,\"total_thinking_output_tokens\":146948,\"total_tokens\":1784907}}" logs: exists: false traces: date: 2026-02-20 total_today: 0
Author
Owner

@DanqingLuan commented on GitHub (Feb 20, 2026):

Gemini 3.1 Pro is not available on this version. Please upgrade to the latest version.

可能是这个原因,我直接在antigravity中使用3.1 pro用不了。。

<!-- gh-comment-id:3931467644 --> @DanqingLuan commented on GitHub (Feb 20, 2026): Gemini 3.1 Pro is not available on this version. Please upgrade to the latest version. 可能是这个原因,我直接在antigravity中使用3.1 pro用不了。。
Author
Owner

@DanqingLuan commented on GitHub (Feb 20, 2026):

但是这应该是 antigravity版本的问题,咱直接调用API按说不应该有影响。
我先下载最新版的 antigravity 试试。

<!-- gh-comment-id:3931474999 --> @DanqingLuan commented on GitHub (Feb 20, 2026): 但是这应该是 antigravity版本的问题,咱直接调用API按说不应该有影响。 我先下载最新版的 antigravity 试试。
Author
Owner

@DanqingLuan commented on GitHub (Feb 20, 2026):

我已经升级到最新的1.18.3版本,这个版本下可以正常使用gemini 3.1 pro了。

<!-- gh-comment-id:3931507314 --> @DanqingLuan commented on GitHub (Feb 20, 2026): 我已经升级到最新的1.18.3版本,这个版本下可以正常使用gemini 3.1 pro了。
Author
Owner

@NikkeTryHard commented on GitHub (Feb 20, 2026):

see if fixed with v1.1.9

<!-- gh-comment-id:3931521846 --> @NikkeTryHard commented on GitHub (Feb 20, 2026): see if fixed with v1.1.9
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/zerogravity#25
No description provided.