File size: 791 Bytes
dfed404 50b17e6 dfed404 50b17e6 dfed404 50b17e6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ---
title: CrowLLM
emoji: 🐦
colorFrom: red
colorTo: gray
sdk: static
pinned: false
short_description: One OpenAI-compatible endpoint for every major provider.
---
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.
- Playground, free models, no card: https://crowllm.com/chat
- Docs: https://crowllm.com/docs
- Pricing: https://crowllm.com/pricing
- Community: https://discord.gg/crow
```python
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) |