google/gemini-pro-1.5Google's Gemini Pro 1.5 with a 1M+ token context window and multimodal understanding across text, images, and video.
| Mode | chat |
| Context Window | 1M tokens |
| Max Output | 8K tokens |
| Function Calling | Supported |
| Vision | Supported |
| Reasoning | - |
| Web Search | - |
| Url Context | - |
from openai import OpenAI
client = OpenAI(
base_url="https://api.haimaker.ai/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="google/gemini-pro-1.5",
messages=[
{"role": "user", "content": "Hello, how are you?"}
],
)
print(response.choices[0].message.content)OpenAI-compatible endpoint. Start building in minutes.