Client Setup

Antigravity Multi-Model API Setup Guide: Claude Opus 5.5, Gemini 4 Neon & Troubleshooting (2026)

Language English / 中文

Antigravity Multi-Model API Setup Guide (2026)

If you use Antigravity for agentic coding and want stable access to multiple flagship model families through one account, this guide walks through the exact endpoints, model IDs, and troubleshooting checks.

Full reference doc: /docs/antigravity · No-key config checker: /tools/api-setup

1. Choose the Matching Base URL by Protocol

A common mistake in custom API clients is mixing Anthropic and OpenAI base URL conventions:

Protocol Mode in Client Base URL Auth Header
Anthropic-compatible https://llmapi.pro (no /v1) x-api-key
OpenAI-compatible https://llmapi.pro/v1 (with /v1) Authorization: Bearer
Gemini-compatible https://llmapi.pro (no /v1beta) x-goog-api-key

Never paste a full request path like https://llmapi.pro/v1/messages into a Base URL field—the client appends the endpoint path automatically.

Use the exact IDs listed in the live catalogue (/all-models):

  • Claude family: claude-opus-5-5, claude-fable-5-2, claude-sonnet-5-5
  • Gemini family: gemini-4-neon, gemini-4-carbon
  • OpenAI family: gpt-6.2-astra, gpt-6.2-sol

Verify your key and available models from any terminal:

curl https://llmapi.pro/v1/models \
  -H "Authorization: Bearer sk-YOUR_KEY"

3. Sizing Concurrency for Agentic Workflows

Antigravity frequently runs parallel tool calls and subagents. On LLMAPI subscription plans, all keys under one account share the account's concurrency cap:

  • Pro (¥59/mo): 2 concurrent requests
  • Max (¥259/mo): 4 concurrent requests
  • Ultra (¥979/mo): 10 concurrent requests

If you routinely run multiple workspaces or parallel subagents, Max or Ultra prevents 429 concurrency backoffs.

4. Fast Troubleshooting Checklist

  • HTTP 404: Double /v1 (e.g. /v1/v1/messages) or wrong protocol selected.
  • HTTP 401: Key is disabled, mistyped, or you used a metered key where a subscription key was expected (or vice versa).
  • HTTP 429: Check whether you hit the account concurrency limit or the 5h/weekly window; respect Retry-After instead of tight retry loops.

See /docs/antigravity and /docs/errors for full details.

Share this article

Start using LLM API

Free tier available. One-line configuration for Claude Code.

Get Started Free