Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brahmai-research/aiforcause

Providing free-to-use API for AI Models to all. #aiforcause by DEEPNIGHT.
https://github.com/brahmai-research/aiforcause

Last synced: 3 months ago
JSON representation

Providing free-to-use API for AI Models to all. #aiforcause by DEEPNIGHT.

Awesome Lists containing this project

README

        

## A note from the founder of BRAHMAI
Hey there guys,
I'm [Kshitij S. Tyagi](https://linkedin.com/in/kstyagi), Founder of BRAHMAI.
It is with a heavy heart that I announce temporarily shutting down #aiforcause API for an indefinite amount of time.
This decision was made after the constant spam requests hitting the server that resulted in exceeding the rate limits of our Azure OpenAI resource.

Yes, we could have deployed another resource and increased the limit, but I don't believe there's a point in doing so if not all of it is reaching the right people.

However, I'd like to mention that we will be bringing #aiforcause back up for you all and this time with better provisions.
I still have the same intentions, I still hold the same beliefs, but I just need to find a better way of doing it!

Thanks to all those who used it in the way it was intended. I hope you guys got the benefit of it. I am sorry for turning it off like it.
If you built something amazing using this, learnt something, if it was helpful, I'd love to hear about it. Feel free to write me at [email protected]!

Cheers guys ✌️

---
# README
---
# #AIForCause
### Empowering everyone with free-to-use API for ChatGPT.
## AIForCause is a step that BRAHMAI takes towards advancing and democratizing the world of Artificial Intelligence.
![AIForCause Banner](https://github.com/deepnight-ai/aiforcause---FREE-APIs-to-AI-MODELS/blob/main/%23aiforcause.png?raw=true)

# !!!UPDATES!!!


  • Feb 11th, 2024: We are bringing in GPT-4-Turbo for all!

  • Nov 3rd, 2023: We are upgrading the API from GPT-3.5 4k to GPT-3.5 16k + Function Calling

---

Hello, we are [BRAHMAI](https://deepnight.tech), we are thrilled to introduce you to the **#aiforcause API**. We've got something special to share with the AI community.

## Our Mission

At BRAHMAI, we believe in pushing the boundaries of AI. We're on a mission to make AI accessible to everyone, regardless of their financial resources. We understand that not everyone can afford expensive AI services, and we're here to change that. With the #aiforcause API, you can access powerful AI tools to drive innovation, enhance your applications, and bring your ideas to life.

## What's the Deal?

We're providing the ChatGPT API for free! Yes, you read it right—absolutely free of cost. Our aim is to empower developers, innovators, and dreamers with the AI tools they need to build a brighter future. To get started, explore our user-friendly API, and see how it can elevate your projects and enable new possibilities in AI-driven innovation.

## The API

- **Endpoint:** [https://aiforcause.deepnight.tech](https://aiforcause.deepnight.tech)

## Privacy Matters

Your privacy is important to us. That's why we've made sure our API comes with no strings attached. We won't ask for your personal information, track your usage, or log your data. We're in the business of providing AI, not collecting your info, so no data-stealing shenanigans here!

## How You Can Help

We're in this together, and we're counting on your support to keep this API free. If you find value in what we're offering, we'd greatly appreciate any contributions or donations you can make to help us sustain this mission. Your generosity will enable us to continue providing this service and expand our offerings, including adding more features and capabilities to the API.

## What's Available Now

We're starting with the GPT-3.5 4k API Endpoint, and it's just the beginning. With your support, we aim to bring you even more models, including GPT-4, unlocking a world of AI possibilities.

## Usage Guidelines

- **Rate Limit:** Unfortunately, the API does have a rate limit. The current rate limit is set to 240k tokens per minute and 1440 requests per minute.

- **Please use responsibly!** We are doing this for a good cause! Please use it for the same reason. This effort is not going to be worth a single penny if we end up revoking the endpoint. Your responsible usage ensures that this valuable resource remains available to all.

- **API Key:** The endpoint for OpenAI models is: ```https://aiforcause.deepnight.tech/openai/``` and for the API Key, just pass anything... seriously doesn't matter.

- **Models:** To find the active models, ping on ```https://aiforcause.deepnight.tech/models``` and use the ```model_id``` as the model to be mentioned in the OpenAI client.

- ~**No Streaming Support:** It doesn't currently have streaming support, please don't use stream with this. If you encounter any issues or have questions about the API's usage, feel free to reach out to us at [[email protected]](mailto:[email protected]).~

- **Streaming Support:** We are finally bringing in streaming support over the API.

- **Response:** The response is going to be an OpenAI API response with just a couple of things masked. Rest everything is exactly the same!

## Example Code:
```python
from openai import OpenAI
client = OpenAI(
api_key="",
base_url="https://aiforcause.deepnight.tech/openai/"
)

response = client.chat.completions.create(
model="gpt-35-turbo", # gpt-35-turbo (GPT-3.5 Turbo - 4k) || gpt-35-turbo-16k (GPT-3.5 Turbo 16k) || gpt-4-turbo (GPT-4 Turbo)
messages=[...your_messages...],
stream=False # or True
)

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

## Join the Movement

Whether you're a seasoned AI professional or just getting started, BRAHMAI's AI for Cause API is here for you. Let's build a more inclusive AI community, break the barriers, and explore the limitless possibilities of AI together.

Get started now: [https://aiforcause.deepnight.tech](https://aiforcause.deepnight.tech)

Your contribution can help us bring AI to those who need it most and expand the horizons of what's possible with AI. Together, we can make AI a force for good.

Cheers to AI without limits! 🚀

— Team [BRAHMAI](https://deepnight.tech)

*Note: BRAHMAI is an independent organization and not affiliated with OpenAI. This API is provided free of charge by BRAHMAI to support the AI community.*