Skip to main content

Haimaker API

One API key and a consistent interface for the language models enabled in Haimaker production.

Quick start

from openai import OpenAI

client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.haimaker.ai/v1",
)

response = client.chat.completions.create(
model="openai/gpt-4o",
messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)

Read the documentation or inspect the live /public/model_hub catalog for current models and capabilities.