CrowLLM is one OpenAI-compatible endpoint in front of every major model provider. Chat, image, audio and embeddings answer on the same key, the same balance and the same bill.
from openai import OpenAI
client = OpenAI(
base_url="https://crowllm.com/v1",
api_key="sk-...",
)
reply = client.chat.completions.create(
model="<model-id>",
messages=[{"role": "user", "content": "hello"}],
)
print(reply.choices[0].message.content)