Gemini Native Format
FastRouter API Key (Gemini style). Get yours at https://fastrouter.ai
Format: ?key=YOUR_API_KEY
The Gemini model ID to use (e.g. gemini-2.5-pro, gemini-2.5-flash).
gemini-2.5-proFastRouter API key (Gemini style: pass as query parameter).
Successful response with generated content.
Bad Request - The request is malformed. This could be due to missing parameters, invalid formats, or CORS issues.
Invalid Credentials - Your API key is invalid, disabled, or your OAuth session has expired. Check your credentials.
Insufficient Credits - Your account or API key has run out of credits. Add more credits and retry the request.
Rate Limited - You have exceeded your request limits (TPM/RPM). Slow down or increase your limits.
Internal Error - Something went wrong on our side. Retry the request, and contact support if the issue persists.
Bad Gateway — failed to reach Google AI Studio.
FastRouter API Key (Gemini style). Get yours at https://fastrouter.ai
Format: ?key=YOUR_API_KEY
The Gemini model ID to use (e.g. gemini-2.5-pro, gemini-2.5-flash).
gemini-2.5-proFastRouter API key (Gemini style: pass as query parameter).
Streaming response with Server-Sent Events containing generated content chunks.
Each SSE event contains a JSON object with partial candidates and usage metadata.
Bad Request - The request is malformed. This could be due to missing parameters, invalid formats, or CORS issues.
Invalid Credentials - Your API key is invalid, disabled, or your OAuth session has expired. Check your credentials.
Insufficient Credits - Your account or API key has run out of credits. Add more credits and retry the request.
Rate Limited - You have exceeded your request limits (TPM/RPM). Slow down or increase your limits.
Internal Error - Something went wrong on our side. Retry the request, and contact support if the issue persists.
Bad Gateway — failed to reach Google AI Studio.
Last updated
