README / README.md
13crow's picture
Update README.md
50b17e6 verified
|
Raw History Blame Contribute Delete
791 Bytes
---
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)