Google now recommends the newer Interactions API for new direct Gemini integrations and labels Generate Content as legacy. APIXO’s currently published Gemini gateway still uses the
generateContent request format documented here. Do not send Interactions API payloads to this endpoint unless APIXO explicitly adds support.This page includes the complete APIXO Gemini model and pricing snapshot verified on August 3, 2026. Model availability and pricing can change, so check the APIXO Gemini model page before making billing-sensitive decisions.
Compare Gemini models and pricing
Choose the model that fits the workload, then use its exact model ID in any example on this page.
Prices are in USD per 1 million tokens.
— means APIXO does not publish a separate cache-write price for that model. Prices verified: 2026-08-03. See the APIXO Gemini model page for the current rate card.
What to change
Quickstart
- cURL
- JavaScript
- Python
Let an AI implement it
Copy this page to an AI
Use the Copy page button in the page menu, paste the copied documentation into your AI coding tool, and add this prompt:gemini-3.5-flash in the prompt with any model ID from the comparison table.
Use APIXO MCP
APIXO MCP reads APIXO’s published machine-readable model catalog and schemas. Thegemini schema includes the gateway endpoint, authentication header, supported model IDs, model guidance, and the pricing snapshot shown above.
After installing APIXO MCP, ask your AI:
Streaming
alt=sse query parameter requests Server-Sent Events so each response chunk can be processed as it arrives.
Supported Gemini models
Use one of these exact IDs in the REST URL path or SDKmodel argument.
gemini-3.5-flashgemini-3.1-pro-previewgemini-3.1-flash-lite-previewgemini-3-flash-previewgemini-2.5-progemini-2.5-flashgemini-2.5-flash-lite
Troubleshooting
401: missing or invalid API key400: invalid Gemini request body, endpoint, or unsupported model ID429: rate limit or temporary capacity limit502/504: upstream provider error or timeout
429, 502, and 504 with backoff. Fix 400 and 401 before retrying.
Related links
- Chat API Overview
- Supported Models
- LLM Authentication
- LLM Streaming
- LLM Errors and Retry
- Install APIXO MCP
- Gemini API reference
- Explore Gemini models on APIXO
- Pricing