Antigravity
Use AICredits with Antigravity through custom OpenAI-compatible model settings for agentic coding.
Use this page with an AI assistant
Opens a new chat with this docs URL and the correct AICredits base URLs.
Antigravity is Google's agentic coding IDE. Add AICredits as a custom OpenAI-compatible provider to run coding chat, edits, and agent workflows through one prepaid wallet.
Provider Settings
In Antigravity model settings, add a custom OpenAI-compatible provider:
| Setting | Value |
|---|---|
| Provider name | AICredits |
| Base URL | https://api.aicredits.in/v1 |
| API key | sk-your-aicredits-key |
| Default model | openai/gpt-4o-mini |
Recommended model IDs:
openai/gpt-4o-mini
anthropic/claude-sonnet-4.5
google/gemini-2.5-flashCreate a separate AICredits key for Antigravity and set a budget cap before long agentic coding sessions. See Models for the full list.
Verify
Ask Antigravity:
Reply with "AICredits via Antigravity" and do not edit files.Then check Dashboard -> Usage.
Troubleshooting
Requests go to another provider - Confirm the active model profile uses the AICredits provider and https://api.aicredits.in/v1.
Model not available - Paste the exact model ID from Models instead of selecting a built-in provider model.
High usage - Use openai/gpt-4o-mini for exploration and switch to anthropic/claude-sonnet-4.5 only when you need stronger edits or review.