How to Get a Free ChatGPT API Key in 1 Easy Step 2023 [ unofficial ]



What is chatgpt

ChatGPT is a state-of-the-art language model developed by OpenAI. It belongs to the GPT-3.5 architecture, which stands for "Generative Pre-trained Transformer 3.5." This AI model has been trained on a massive amount of text data from the internet and is designed to generate human-like responses to user queries.

The underlying technology behind ChatGPT is a deep learning model called a transformer. Transformers have revolutionized natural language processing tasks by capturing contextual relationships between words and generating coherent and contextually relevant responses. ChatGPT, in particular, is trained to handle conversational contexts, making it suitable for chat-based applications.

With its extensive training, ChatGPT demonstrates impressive language understanding and generation capabilities. It can comprehend a wide range of topics, answer questions, provide explanations, engage in creative writing, assist with language translation, and even generate code snippets. It adapts to various conversational styles and can generate responses that mimic different personas.

What is ChatGPT ApiKey

ChatGPT API key is a unique identifier that is used to authenticate your requests to the ChatGPT API. It is a security measure that helps to prevent unauthorized access to your account. You can find your ChatGPT API key in your OpenAI account settings. To use ChatGPT API, you will need to create an account and generate a key. Once you have your key, you can use it to make requests to the API.

What is Reverse Proxy

A reverse proxy is a server or service that sits between client devices and backend servers. Unlike a traditional forward proxy that handles requests from client devices to access external resources, a reverse proxy handles requests from client devices on behalf of backend servers. It acts as an intermediary, receiving client requests and forwarding them to the appropriate backend server to fulfill the request.

What is ChatGPT API Free Reverse Proxy

ChatGPT API Free Reverse Proxy is a free reverse proxy to OpenAI API that allows users to access OpenAI API for free. gpt-3.5-turbo is available from this reverse proxy at 8k token context size.

How To Generate this Free Api Key

  • First of all join this discord channel : Pawan.krd
  • Now go to bot channel in the above discord channel and type /key to generate a private api key for yourself. The Api Key starts with pk-"xxxx..." prefix. Dont share this key with anyone.

How to use this Api Key using Python


import requests

api_endpoint = "https://api.pawan.krd/v1/chat/completions"
api_key = "pk-PqVKRIqQYqRDcsxxxsxsxsxsxxsxsyNxbXvdiQEaMwjnE"

params = {
    "model": "gpt-3.5-turbo",
    "max_tokens": 300,
    "messages": [
        {"role": "user", "content": "Explain quantum computing in cat language using meows"}
    ]
}

headers = {
    "Authorization": f"Bearer {api_key}"
}

response = requests.post(api_endpoint, json=params, headers=headers)
data = response.json()
print(data)


Here's the result


Though this api key is unoffcial, it works exactly as the original one. You can also use it with openai official python package, read the github docs for examples.

But there are some strings attached:

  • You get 250 credits tokens per day
  • Text Completion: 1 Credit per 1K Tokens
  • Chat Completion: 1 Credit per 5K Tokens
  • Image Generation: 2.5 Credit per 1 Image
  • Doesn’t support GPT 4 at the moment
  • Rate Limit: 100 requests per 10 seconds
  • It has IP Lock (i.e., it automatically locks the IP from the first request to the API)
  • You can reset your locked IP Address anytime though

For More Uses Read Github Docs : Pawan Osman ChatGPT

For More Tricks Join our Telegram channel : Hacker Tips

Previous Post Next Post