gemini-embedding-2-previewGemini Embedding 2 is Google's advanced text embedding model designed for high-accuracy semantic representation across large-scale retrieval and understanding tasks. It converts text into dense vector embeddings optimized for semantic search, retrieval-augmented generation (RAG), clustering, classification, and recommendation systems. Built for production use, it offers strong multilingual support, improved semantic similarity accuracy, and efficient embedding generation, making it well suited for large knowledge indexing pipelines and enterprise-scale retrieval applications.
Select an endpoint and copy a working example for this model.
from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.apertis.ai/v1") response = client.chat.completions.create( model="gemini-embedding-2-preview", messages=[ {"role": "user", "content": "Hello!"} ], max_tokens=1024, temperature=0.7) print(response.choices[0].message.content) # Optional: Enable context compression to reduce token usage# response = client.chat.completions.create(# model="gemini-embedding-2-preview",# messages=[{"role": "user", "content": "Hello!"}],# extra_body={"compression": {"enabled": True, "model": "gpt-4.1-mini"}}# )modelinputencoding_formatdimensionsuserUse these namespaced identifiers in Cursor IDE to avoid conflicts with built-in models.
See how this model compares to others from the same provider.
Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) is Google's fastest and most cost-efficient multimodal image generation model, designed for high-throughput visual workflows and real-time applications. It supports text-to-image generation, image editing, and multi-image composition through a unified API, while also producing text outputs alongside images. Delivering image generation in approximately 4 seconds, it combines fast inference with strong character consistency, precise editing, and real-world knowledge. The model generates 1K-resolution images across 14 aspect ratios and embeds an invisible SynthID watermark in all outputs. Optimized for the best balance of quality, speed, and cost, Nano Banana 2 Lite is ideal for prototyping, developer pipelines, and large-scale visual content generation.
Gemini 3.5 Flash is Google's high-efficiency multimodal model, delivering near-Pro level performance in coding and reasoning at Flash-tier speed and cost. It supports text, image, video, audio, and PDF inputs, making it well suited for diverse multimodal workflows. Optimized for coding proficiency and parallel agentic execution, the model defaults to medium thinking effort for faster, cost-efficient responses while supporting configurable thinking levels (minimal, low, medium, high) for fine-grained cost–performance control.
Gemini 3.1 Flash TTS Preview is Google's next-generation text-to-speech model, delivering a major upgrade over Gemini 2.5 Flash TTS. It converts text into natural audio across 70+ languages, with significantly expanded language coverage and improved quality. The model introduces 200+ inline audio control tags (e.g., [whispers], [laughs], [excited]) for fine-grained control over emotion, tone, and pacing, along with support for two speakers with independent voice and style settings. It outputs 24 kHz / 16-bit PCM audio, includes SynthID watermarking, and supports a 32K token context window. Designed for expressive and controllable voice generation, it is well suited for dialogue systems, storytelling, character-driven content, and advanced audio production workflows.
Initialized observational baseline with no recorded failures
See how this model compares to others from the same provider.
Gemini 2.5 Flash Preview (May 2025) is Google's high-performance general model built for advanced reasoning, coding, math, and science. It includes built-in “thinking” features to deliver more accurate, context-aware answers.
Gemini 2.5 Pro is Google's top reasoning model for coding, math, and scientific work. It uses built-in “thinking” to deliver more accurate, context-aware answers and ranks at the top of major benchmarks like LMArena, showing strong alignment and problem-solving ability.
Gemini 2.5 Flash is Google's main high-performance model for complex reasoning, coding, math, and scientific tasks. It has built-in “thinking” features that help it produce more accurate, context-aware answers.
Gemini-Embedding-001 is Google's high-quality text embedding model designed for semantic understanding and retrieval tasks. It converts text into dense vector representations optimized for semantic search, retrieval-augmented generation (RAG), clustering, classification, and recommendation systems. The model emphasizes strong multilingual performance, high semantic accuracy, and efficient embedding generation, making it well suited for large-scale knowledge indexing and production retrieval pipelines.