Skip to main content
Use APIXO as a Gemini-compatible API gateway. Keep the Gemini request format, replace the base URL, and use your APIXO API key.

What to change

Quickstart

Streaming

JavaScript fetch example

Use a Gemini-compatible request URL with your APIXO API key.

Supported Gemini models

  • gemini-3.1-pro-preview
  • gemini-3.1-flash-lite-preview
  • gemini-3-pro-preview
  • gemini-3-flash-preview
  • gemini-2.5-pro
  • gemini-2.5-flash
  • gemini-2.5-flash-lite

Troubleshooting

  • 401: missing or invalid API key
  • 400: invalid Gemini request body, endpoint, or unsupported model id
  • 429: rate limit or temporary capacity limit
  • 502 / 504: upstream provider error or timeout
Retry 429, 502, and 504 with backoff. Fix 400 and 401 before retrying.