Access premium AI models (Claude Opus 4.6, Claude Sonnet 4.6, Gemini 3 Pro) through Antigravity’s OAuth-based platform. Features real-time quota monitoring and multi-account support.
Antigravity provides access to Claude and Gemini models through a subscription service. CCS integrates seamlessly with OAuth authentication and real-time quota tracking.Provider Identifier:agyCommand:ccs agySupported Models:
Claude Opus 4.6 Thinking (default) - Latest flagship with extended thinking
Claude Opus 4.6 - Latest flagship standard
Claude Sonnet 4.6 Thinking - Balanced with extended thinking
Claude Sonnet 4.6 - Fast and capable
Gemini 3 Pro - Google’s latest model via Antigravity
Interactive model picker via --config
Claude 4.5 model IDs are deprecated in AGY as of v7.51. Existing sessions referencing 4.5 model IDs are automatically migrated to their 4.6 equivalents. Re-run ccs doctor --fix if you see 502 errors after upgrading.
Do not reuse the same Google account for both ccs gemini and ccs agy. Using one Google account across both providers causes token conflicts and authentication failures (see issue #509). Use separate Google accounts for each provider.
# Run Antigravity for the first timeccs agy "analyze this code"# Browser opens automatically# → Complete OAuth login# → Token cached at ~/.ccs/cliproxy/auth/# → Future runs require no re-auth
Authentication Flow:
Authorization Code flow via browser callback
OAuth tokens include project_id for quota API access
Unique Feature: CCS displays real-time quota percentages for Antigravity accounts.
# Quota checked automatically before executionccs agy "your prompt"# Output before Claude starts:# [i] Antigravity Quota:# Claude Opus 4.5 Thinking: 85% used (resets 2024-01-05 23:59:59 UTC)# Gemini 3 Pro: 42% used (resets 2024-01-05 23:59:59 UTC)
# Show all authenticated Antigravity accountsccs agy --accounts# Output:# Accounts for agy:# [default] work (work@company.com) - Quota: 85%# personal (personal@gmail.com) - Quota: 12%
Antigravity supports interactive model selection with extended context support:
# Open model pickerccs agy --config# Interactive menu appears:# Available models for Antigravity:# 1. Claude Opus 4.6 Thinking (Recommended, default)# 2. Claude Opus 4.6# 3. Claude Sonnet 4.6 Thinking# 4. Claude Sonnet 4.6# 5. Gemini 3 Pro# 6. Gemini 3 Pro Preview# Select model [1-6]:
Model Settings:~/.ccs/agy.settings.jsonFirst-Run Behavior: Prompts for model selection before first executionExtended Context Support:
Claude Opus 4.6: Use --1m flag for 1M token window (opt-in)
Gemini 3 Pro: 1M token window auto-enabled by default
Other models: Standard context windows
Auto-Rotation: CLIProxyAPI can auto-rotate accounts on rate limit (configured in config.yaml)
# Pause an account from rotationccs cliproxy pause agy user@gmail.com# Resume a paused accountccs cliproxy resume agy user@gmail.com# Check status of all accountsccs cliproxy status agy
Dashboard: Pause/resume toggles also available in web dashboard account dropdown.
Antigravity accounts have tier classifications for quota prioritization:Tier Types:
Tier
Description
Priority
ultra
Premium tier with highest limits
Highest
pro
Professional tier with standard limits
Medium
free
Free tier with limited quota
Lowest
unknown
Tier detection failed
Lowest
Tier Storage:~/.ccs/cliproxy/accounts.json → .providers.agy.accounts[].tierTier Prioritization:CCS uses tier information for intelligent account selection:
# config.yamlquota_management: auto: tier_priority: ["ultra", "pro", "free"] # Selection order
When multiple accounts are available, CCS prefers higher-tier accounts:
Select accounts with quota above threshold
Sort by tier (ultra, pro, free — highest first)
Use highest-tier account with available quota
Dashboard Display:Tier badges appear in:
Account list (ccs agy --accounts)
Dashboard OAuth Providers → Antigravity dropdown
Quota status cards
Tier Detection:CCS reads the live Antigravity tier from loadCodeAssist whenever quota refresh runs. Manual tier values in accounts.json or the Dashboard remain useful as a fallback when the provider cannot return tier evidence.