Skip to content

daviddallet/antigravity-tools-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

antigravity-tools-linux

Tools for those using Google Antigravity on Linux.

At current time, the scripts focus on two use cases:

  • returning you the result of a 'GetUserStatus' endpoint
  • showing you remaining quota and quota reset information

Prerequisites

Ensure you have the following tools installed:

  • python3
  • lsof
  • curl

Usage

Just make sure those scripts are marked as executable on your filesystem and enter their path in the terminal.

scripts/antigravity_check_quota.py

Just run this python script whilst antigravity is running and it should display your remaining quota for various LLMs.

scripts/antigravity_get_user_status.sh

This script is a little more general, it shows you the curl HTTP request and result for the GetUserStatus endpoint. Run it whilst antigravity is running and it will display various information including quota.

Screenshots

Model Quota Grouping Explanation

Multiple models often share the same quota pool. Based on the API response and various online ressources, it looks they are categorized into distinct groups:

Quota Group Included Models Description
Gemini Pro Gemini 3 Pro (High), Gemini 3 Pro (Low) High-performance Google models sharing a single limit.
Gemini Flash Gemini 3 Flash A standalone category for the faster, lightweight Google model.
Third Party Claude 4.5 (Sonnet/Opus), GPT-OSS 120B External models grouped together under a separate shared quota.

Note

When you use any model within a group, the remaining quota for all models in that same group will decrease simultaneously.

Note

This explanation is about how Google seems to provide you model quota through Antigravity. It may change at any time independtly from the tools of this repository.

Google AI Pro?

Let's say you get an interesting offer for "Google AI Pro" or other paying plan that looks interesting to you. Here is a screenshot with a quota refreshed every 5 hours.

Known caveats

Multiple users/accounts is not supported

It is technically possible to run Google Antigravity with multiple processes associated to multiple unix/linux users and then associated to different Google accounts. The scripts will find at most one endpoint for 'GetUserStatus', and display the quota and other information only for that Google Account. Finding listening ports may fail if you attempt to run the script with a linux/unix user, and an antigravity process is running for another user on the same system.

Linux only

At this time the scripts are not yet compatible with MacOS or Windows.

Misleading values

Plan name such as "TEAMS_TIER_PRO" in the screenshot does not mean what you may expect. In fact I've seen the same value in free tier and "Google AI Pro" offer. The value displayed is the one returned by the endpoint. Also I'm not sure that the display of flow credits and prompt credits make sense. I would say don't focus on what is displayed here if it doesn't change.

Warning/Disclaimer

Warning

These scripts are experimental and were generated with the help of AI. Use them at your own risk. See the LICENSE for more details.

A note on AI

While these tools are designed for Google Antigravity, I do not encourage blind faith in AI. LLMs can make mistakes; always ensure proper isolation and verify results when using AI-assisted tools.

Known alternatives

It seems the following repository provides an alternative to get the quota through a plugin. I have not reviewed or tested it yet: Henrik-3/AntigravityQuota

About

Tools for those using Google Antigravity on Linux - Especially about remaining quota - #AI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published