← All applications · Connect apps section on /docs
Limited / depends on the versionManual setup
Google Antigravity CLI
Also known as: antigravity
Google Antigravity CLI: check the version and support for your own key and custom URLs before setup.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
Gemini-compatible (see notes)This app has exceptions — read Notes below before pasting.
Prerequisites
- Antigravity CLI is installed
- Understand that the public ThAPI gateway is optimized for Anthropic + OpenAI
Recommended model: —
Quick way — command / config
# Antigravity CLI typically uses:
# export GEMINI_API_KEY="..."
# export GOOGLE_GEMINI_BASE_URL="https://…/gemini"
# ~/.gemini/antigravity-cli/settings.json → modelProvider: "gemini"
#
# The public ThAPI currently primarily supports:
# Anthropic → https://thapi.cloud
# OpenAI → https://thapi.cloud/v1
#
# If you need Claude/GPT with a ThAPI token: use Claude Code, Cursor,
# OpenClaw, Cline or Codex — do not force Antigravity CLI to call /v1/messages.Where to place file / fill Settings
Filemacos
~/.gemini/antigravity-cli/settings.json
Only change this after Gemini-compatible provider support has been confirmed with ThAPI. Default: switch to Claude Code/Cursor.
Filelinux
~/.gemini/antigravity-cli/settings.json
Same as macOS.
Filewindows
%USERPROFILE%\.gemini\antigravity-cli\settings.json
Same as macOS.
Verify connection
- If you only have a ThAPI token, configure Claude Code or Cursor using its guide, then test a chat.
- Do not expect Antigravity CLI to charge the ThAPI wallet unless ThAPI announces a Gemini endpoint.
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| 404 / model_not_available when pointing to thapi.cloud/v1 | Antigravity CLI does not use plain OpenAI Chat Completions. | Switch to Claude Code / Cursor / Cline with the same ThAPI key. |
Notes
- This page intentionally omits community patches for the IDE/CLI because updates can easily break them.
- See also antigravity-ide.