Use OpenAI's API for Free

This video tutorial guides viewers through the process of making free API calls to OpenAI's GPT-3.5 Turbo using a reverse proxy setup, avoiding the need for subscription fees. The host explains the pricing structure for OpenAI's services and introduces a GitHub project, named ChadGPT, that serves as a free reverse proxy specifically for the GPT-3.5 Turbo model. The tutorial covers step-by-step instructions for setting up the proxy using Docker and demonstrates how to test the setup by making API calls, ultimately offering a budget-friendly solution for developers wanting to prototype with OpenAI without upfront costs.
00:00 Introduction to the Project
00:18 Understanding OpenAI's API and Pricing
01:28 Discovering a Free Proxy Solution
02:01 Setting Up the Docker Environment
02:52 Executing the Proxy with Docker
04:22 Testing the Setup with a Python Script
06:29 Analyzing the Response and Concluding Thoughts
07:10 Final Remarks and Invitation for Engagement
Links used in the video are
github.com/PawanOsman/ChatGPT
openai.com/api/pricing
platform.openai.com/docs/api-...

Пікірлер: 14

  • @brutely9718
    @brutely971826 күн бұрын

    Nonetype" object is not subscriptable .. getting type error

  • @yashagarwal99

    @yashagarwal99

    20 күн бұрын

    Same error

  • @ihitasinha990

    @ihitasinha990

    19 күн бұрын

    only works for US based IP, if you're not in the US, use a VPN

  • @brutely9718

    @brutely9718

    19 күн бұрын

    @@ihitasinha990 no I'm using vpc from US. The error was actually that I need to follow farmat it seems. Anyways I checked nodejs file what's really causing but I'm unable to find it.

  • @brutely9718

    @brutely9718

    15 күн бұрын

    Thanks, but even though if I use vpc (ec2) from US it's not possible.. it says you are not sending request in format. If I print whole json

  • @sscoder170

    @sscoder170

    4 күн бұрын

    @@ihitasinha990not working in USA also getting same error

  • @unclecode
    @unclecodeАй бұрын

    Interesting, just its almost 3 to 4 times slower, due to some network handshaking it does before sending it to server

  • @bonsaiilabs

    @bonsaiilabs

    Ай бұрын

    Interesting. In my experiments, it was slow that directly hitting OpenAI API, but that's also because a proxy is sitting in between.

  • @rinokpp1692

    @rinokpp1692

    12 күн бұрын

    Hey

  • @user-ze9lc9sk5i
    @user-ze9lc9sk5i4 күн бұрын

    Is it possible to do free gpt but like python library?

  • @bonsaiilabs

    @bonsaiilabs

    4 күн бұрын

    Yes, at 3:57 of this video, you see the Local Endpoint and Public Endpoint, use any of these in your python code. For making REST api calls, refer to platform.openai.com/docs/api-reference/making-requests. Use the Urls, from the timestamp mentioned in this comment, and any API key. This should work.

  • @user-ze9lc9sk5i

    @user-ze9lc9sk5i

    4 күн бұрын

    @@bonsaiilabs Thanks!

  • @user-cb7yl4nr6h
    @user-cb7yl4nr6hАй бұрын

    Has the free class been cancelled?openai api key

  • @sheepythegamer

    @sheepythegamer

    Ай бұрын

    Pretty sure all of the fresh keys I hoarded suddenly wouldn't work when I knew they had credits