The whole Gemini lineup
A very large context window
Gemini’s traditional strong suit is its huge context: whole reports, long logs and large codebases fit in the window without chunking. That’s handy for document parsing, RAG with large fragments, and analyzing long conversations. The exact limit depends on the version and matches Google’s official one — check the current values on the Pricing page at www.ruapi.ai.Multimodal: reads images and generates them
Gemini works with images both ways. On input (vision) the models take images alongside text — see the image input guide for how to send an image in the request. On output dedicated models generate and edit images:
gemini-2.5-flash-image, gemini-3.1-flash-image-preview, gemini-3-pro-image-preview. The exact current names of these preview models are on the Pricing page.gemini-3.5-flash, gemini-3.1-pro-preview, gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite. They can call functions and stream the response token by token.
Which version to pick (2.5 / 3 / 3.1 / 3.5 / 3.6)
- 2.5 (
gemini-2.5-pro,gemini-2.5-flash,gemini-2.5-flash-lite) — the mature, stable generation and a good default choice. - 3 / 3.1 — newer models, including preview versions (
gemini-3-flash-preview,gemini-3.1-pro-preview,gemini-3.1-flash-lite-preview) and image generation; reach for them for the latest capabilities, keeping in mind preview names can change. - 3.5 (
gemini-3.5-flash,gemini-3.5-flash-lite) — the fresh Flash generation:-flash-liteis noticeably cheaper and faster,-flashis stronger. - 3.6 (
gemini-3.6-flash) — the newest Flash generation and the current pick for new code.
Preview models change names as newer versions ship. Don’t hardcode IDs — the exact current names and per-token prices are always on the Pricing page at www.ruapi.ai.
Connecting Gemini
You don’t need Google’s separate library: the endpoint is OpenAI-compatible, so take any OpenAI SDK and change thebase_url.
- base_url:
https://www.ruapi.ai/v1 - model: e.g.
gemini-3.6-flash
Next
Connect and first request
base_url, key, Python and curl code.
Claude models
Same key — Claude’s lineup and capabilities.
GPT models
OpenAI’s lineup on the same endpoint.