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.Model availability and standard prices were verified on November 18, 2026. See API Pricing for current rates and account-specific prices.
Compare Gemini models and pricing
Prices are in USD per 1 million tokens. Prices verified: 2026-11-18. Savings compare the standard input price with the regular market reference price. Account-specific prices may differ. A $0 cache rate means no separate charge for that token category in this rate card. See API Pricing.
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.8-flash in the prompt with any model ID from the comparison table.
Remote MCP availability
Uselist_models with integration_type: llm_gateway to discover Gemini model IDs. Pass the selected ID to get_model_schema for the Generate Content contract or to get_integration_guide for server-side SDK setup. APIXO MCP
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 model IDs with the compatible API format shown above.gemini-4-argongemini-4-hydrogengemini-3.8-flashgemini-3.7-flashgemini-3.6-flashgemini-3.5-flashgemini-3.1-pro-previewgemini-3-flash-preview
Troubleshooting
401: missing or invalid API key400: invalid Gemini request body, endpoint, or unsupported model ID429: rate limit or temporary capacity limit502/504: service 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
- API pricing