◉ANTIGRAVITY LABJP
Articles/Antigravity Basics
◉ Antigravity Basics/2026-12-01Intermediate

Your Editor Can't Show Antigravity's Remaining Quota — Check /usage in agy at Each Break Instead

When you run Antigravity through agy acp in Zed or a JetBrains IDE, your plan quota and AI credit balance never show up in the editor. Here is where the official numbers live (/usage, /credits, the statusline), why I don't scrape them with third-party tools, and the small check I now put between tasks.

Antigravity427ACP3/usagequota12indie developer22

I was working through a client site's CSS one stylesheet at a time, calling Antigravity from Zed's agent panel through agy acp. Back when I used it in the terminal, the credit count sat in the corner of the screen. Inside the editor, it never appeared once.

I only noticed when I was about to hand over a bigger refactor. I asked myself how much I had left, and realized I had no number to remember.

The thing I want to say first: the missing quota display isn't a setting you forgot. ACP simply has no channel for it yet. So you need a separate, deliberate place to check.

Why the editor can't show it

agy acp is an ACP server that your editor launches as a subprocess. According to the official docs, the agent, its tools, your sign-in and your settings all come from Antigravity CLI. In other words, the editor is spending the same account and the same quota as your terminal.

What's missing is a way to pass that remaining quota to the ACP client. Issue #1793, opened on November 23, is a request from an ACP client developer to expose the 5-hour window, the weekly window and the AI credit balance over ACP. The issue also notes that, according to a Google reply on the developer forum, even read-only agy -p /usage calls from a third-party app aren't supported on consumer plans.

Other clients have had their usage bars disappear after updates, too. I read that less as a client bug and more as a sign that there is no official outlet to rely on yet.

Three official places to check

Every supported way to see your remaining quota lives in Antigravity itself.

WhereWhat it tells youHow to open it
/usage (alias /quota)Remaining quota per model group. Models in a group share a weekly limit and a five-hour limitType it in an agy session and press Enter. It re-fetches from the backend when it opens
/creditsYour AI credit balance and what you've used in the current billing cycleSame, inside agy. Esc closes it
Right side of the statuslineRemaining credits, shown like AI Credits: 42, highlighted when lowAlways visible while agy runs interactively

If you use the desktop app, its Settings page also shows baseline quota usage across models. I've covered how the plans differ in Antigravity pricing and usage, and how to read your plan state from a single line of that screen in when Gemini 4 shows Unavailable on Google AI Pro.

One caveat: /usage shows the value at the moment you open the panel. Leaving it open won't refresh it, so close and reopen it after you've done some work.

The check I put between tasks

What I do now is keep working in the editor, and check from agy in the terminal at each break.

  1. Before handing a larger task to the editor, open agy in a terminal
  2. Run /usage and look at the group for the model you'll use
  3. If you plan to continue on credits, run /credits too
  4. Write down what you saw and what you're about to hand over
  5. Close agy and go back to the editor

For step 4 I use this shell function. It reads nothing on its own; I type in the number I saw with my own eyes.

# Put this in ~/.zshrc or ~/.bashrc. A manual note of what /usage showed you.
# Usage: qnote 62 "Pro group" "before handing over the homepage CSS cleanup"
qnote() {
  local file="$HOME/.agy-quota-notes.tsv"
  if [ $# -lt 3 ]; then
    echo "usage: qnote <remaining %> <model group> <task you're about to hand over>" >&2
    return 1
  fi
  # Accept only an integer 0-100 so a typo can't break the table
  case "$1" in
    ''|*[!0-9]*) echo "remaining % must be a number" >&2; return 1 ;;
  esac
  [ "$1" -le 100 ] || { echo "must be 100 or less" >&2; return 1; }
  printf '%s\t%s\t%s\t%s\n' "$(date '+%Y-%m-%d %H:%M')" "$1" "$2" "$3" >> "$file"
  tail -n 5 "$file" | column -t -s $'\t'
}

Why not automate the reading? Because, as #1793 describes, polling CLI output from a third-party tool isn't an expected use on consumer plans. There are also scripts going around that take stored credentials and call internal endpoints directly. I'd rather not lean on undocumented plumbing: if it breaks the terms or breaks on the next update, I'm the one left cleaning up.

Typing the number takes about 10 seconds. In those 10 seconds I ask myself whether this task really needs to go out now, and honestly that pause has turned out to be the more useful part.

Keep credit fallback off where you can't see

The other decision worth making for editor use is what happens when the baseline quota runs out. In the CLI, useG1Credits in settings.json, or Use AI Credits under /config, decides whether agy falls back to your personal credits. The default is false.

{
  "useG1Credits": false
}

If you set it to true while working somewhere the balance isn't visible, credits start draining without you noticing the quota ran out. On days I work through the editor, I leave it at false and treat a stop as my cue to take a break. After it stops, I open /usage in the terminal and switch it on then, if I decide to continue.

The desktop app's AI Credit Overages setting (Never / Always) is worth choosing the same way.

Where I draw the line

At first I tried to keep everything inside the editor and went looking for an external tool that could show the quota there. It didn't go well. Everything I found depended on undocumented paths.

Do the work in the editor; check what's left in agy itself. With one fixed place to look, the habit will still hold if ACP starts exposing quota later.

I've written up the editor-specific setup differences in the three places Zed's Antigravity settings don't carry over to VS Code, JetBrains and Xcode. As an indie developer who bounces between those editors, that list saved me more than once.

Next time you're about to hand over something big, try opening /usage in a terminal just once first. That one check should cut down the moments where you stall inside the editor wondering what you have left.

Share

Thank You for Reading

Antigravity Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

◉ Antigravity2026-11-26
Should the Orchestrator's Planner and Executor Share a Model? What Runs as One Agent in 1.5.17, and What I Keep Two-Phase
Since Antigravity CLI 1.5.17, choosing the same model and the same Effort for both Planner and Executor in /model runs a single agent. A different Effort keeps it two-phase. Here is a small script that reads settings.json to tell which you have, and where I draw the line.
◉ Antigravity2026-11-23
Paying for Google AI Pro but Gemini 4 says Unavailable? Read the plan line first
You pay for Google AI Pro, yet Antigravity won't let you pick Gemini 4. Whether the plan line reads Starter Quota or Google AI Pro changes where you should look. Here are three patterns, the order I check them in, and a small script that keeps a record you can hand to support.
◉ Antigravity2026-11-12
When "Always Proceed" Still Asks for Approval, Decide How Loose to Go by Command Type, Not Setting Name
You picked Always Proceed and the agent still asks before running terminal commands. Before hunting for the cause, sort commands into read-only, local-write, and delete-or-send, and decide your own line. A small classifier script included.