
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
antigravity-usage
Advanced tools
A fast, lightweight, and powerful CLI tool to track your Antigravity model quota and usage. Works offline with your IDE or online with multiple Google accounts.
Inspired by ccusage
If you have Antigravity running in your IDE (VSCode, JetBrains, etc.), you can check your quota immediately without logging in.
# Install globally
npm install -g antigravity-usage
# Check quota immediately (uses your IDE's connection)
antigravity-usage
That's it! The tool automatically connects to your local Antigravity server to fetch the exact same data your IDE sees.
Want to check quota for multiple accounts or when your IDE is closed?
antigravity-usage login
If you are on a headless server or cannot open a browser locally:
antigravity-usage login --manual
Follow the on-screen instructions to paste the authentication URL into your local browser and copy the result back.
antigravity-usage accounts add
antigravity-usage quota --all
Antigravity Usage employs a smart "Dual-Fetch" strategy to ensure you always get data:
By default, antigravity-usage runs in Auto Mode, seamlessly switching between these methods.
Never waste quota again. Automatically wake up your AI models to maximize your daily limits.
See the Wakeup Command section for full details.
Manage multiple Google accounts and compare quota across Personal, Work, and other accounts.
--all flag to fetch and compare quota across all logged-in accounts simultaneouslyDesigned for plane rides and spotty wifi.
To keep the CLI snappy and avoid hitting API rate limits:
--refresh flag to force a new fetch:
antigravity-usage quota --refresh
By default, antigravity-usage hides "autocomplete" models (like gemini-2.5-flash-002) to reduce clutter, as these typically share quota with their main counterparts or are less relevant for tracking.
To see ALL available models, including autocomplete ones:
antigravity-usage quota --all-models
antigravity-usage (Default)Alias for quota. Fetches and displays usage data.
antigravity-usage # Auto-detect (Local -> Cloud)
antigravity-usage --all # Fetch ALL accounts
antigravity-usage --method local # Force local IDE connection
antigravity-usage --method google # Force google IDE connection
antigravity-usage --all-models # Show ALL models (including autocomplete)
antigravity-usage --json # Output JSON for scripts
antigravity-usage --version # Show version number
antigravity-usage --versionDisplay the current version of the CLI tool.
antigravity-usage --version # or -V
antigravity-usage accountsManage your roster of Google accounts.
antigravity-usage accounts list # Show all accounts & status
antigravity-usage accounts add # Login a new account
antigravity-usage accounts switch <email> # Set active account
antigravity-usage accounts remove <email> # Logout & delete data
antigravity-usage doctorTroubleshoot issues with your setup. Checks env vars, auth status, and local server connectivity.
antigravity-usage statusQuickly check if your auth tokens are valid or expired.
antigravity-usage wakeup 🚀Never waste quota again. Automatically wake up your AI models at strategic times to maximize your daily limits.
Platform Support: Currently available on macOS and Linux. Windows support (via Task Scheduler) is coming soon.
antigravity-usage wakeup config # Interactive setup (takes 30 seconds)
antigravity-usage wakeup install # Install to native system cron
antigravity-usage wakeup status # Check configuration & next run
antigravity-usage wakeup test # Test trigger manually (interactive)
antigravity-usage wakeup history # View trigger history
Quick Test with Flags:
# Test with specific email and model
antigravity-usage wakeup test -e your@gmail.com -m claude-sonnet-4-5
# Full command with custom prompt
antigravity-usage wakeup test --email your@gmail.com --model gemini-3-flash --prompt "hello"
# Mix flags (missing ones will be prompted)
antigravity-usage wakeup test -e your@gmail.com
Available Options:
-e, --email <email> - Account email to use for testing-m, --model <model> - Model ID to test (e.g., claude-sonnet-4-5, gemini-3-flash)-p, --prompt <prompt> - Test prompt to send (default: "hi")Why This Matters: Your Antigravity quota resets every ~5 hours, but if you don't use it, you lose it. The wakeup feature ensures you automatically trigger both Claude and Gemini models to keep your quota flowing.
Zero configuration needed. Automatically wakes up:
claude-sonnet-4-5 → Triggers the entire Claude familygemini-3-flash → Triggers Gemini flash quota groupgemini-3-pro-low → Triggers Gemini pro quota groupAll three models combined ensure comprehensive coverage and optimal quota utilization across all available AI models and quota groups.
1. Schedule-Based (Native Cron Integration) Runs locally on your machine with zero dependencies:
antigravity-usage wakeup install
# ✅ Installs to your system's native crontab (macOS/Linux)
# ✅ Runs even when terminal/antigravity is closed
# ✅ Persists across reboots
# ✅ Works on any machine with Node.js installed
2. Smart Quota-Reset Detection (Zero-Waste Mode) The most intelligent trigger mode. Automatically detects when:
When triggered, it wakes up ALL your accounts simultaneously, ensuring none of your quota goes to waste.
antigravity-usage wakeup status
Shows:
Data is stored in your system's standard config location:
~/Library/Application Support/antigravity-usage/~/.config/antigravity-usage/%APPDATA%/antigravity-usage/npm run dev -- quota --all
npm test
MIT
FAQs
CLI tool to check Antigravity model quota via Google Cloud Code API
We found that antigravity-usage demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.