/aiforcause

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

A note from the founder of BRAHMAI

Hey there guys, I'm Kshitij S. Tyagi, 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 kstyagi@brahmai.in!

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

!!!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, 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

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 hello@brahmai.in.

  • 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:

from openai import OpenAI
client = OpenAI(
  api_key="<BLAH__BLAH__BLAH>",
  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

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

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.