⚠️
View Alternatives →Model No Longer Available
This model has been delisted from the API. This page is preserved for reference purposes only.
G
gemini-1.5-pro
1000k ContextTextPopular
Google's gemini-1.5-pro - compact and efficient. Google's advanced AI research.
Capability Radar
Compare with Claude 3
About gemini-1.5-pro
"Cutting-edge multimodal capabilities"
gemini-1.5-pro is Google's competitively priced model featuring focused context window (1M). Cutting-edge multimodal capabilities, this model delivers industry-leading context windows.
⚡ Key Strengths
- Cutting-edge multimodal capabilities
- Fast inference with efficient resource usage
- Advanced reasoning and problem-solving
- OpenAI SDK compatible
- Production-ready reliability
🎯 Best Use Cases
- Real-time chatbots and customer support
- High-volume content moderation
- Quick classification and tagging
- Full codebase analysis and refactoring
- Multi-document research and synthesis
- Long-form content generation
Interactive Playground
Parameters Setup
0.7
Controls randomness: Lowering results in less random completions.
Return data chunks as they arrive
request.js
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.okrouter.com/v1",
apiKey: process.env.OKROUTER_API_KEY,
});
const completion = await client.chat.completions.create({
model: "gemini-1.5-pro",
messages: [{ role: "user", content: "Hello world!" }],
temperature: 0.7,
stream: true,
});