acheong08 / ChatGPT-to-API

Scalable unofficial ChatGPT API for production.
1.11k stars 371 forks source link

About the PUID and plus account subscription. #81

Open hongyi-zhao opened 1 year ago

hongyi-zhao commented 1 year ago

I noticed the description here:

image

But even without using a plus account subscription, I still can see the PUID, as shown below:

image

So, I would like to clarify the following questions:

  1. Do I really need a plus account subscription to get a PUID?
  2. Do I really require a PUID to construct my own bypass or free endpoints?

See here for the related discussion.

Regards, Zhao

acheong08 commented 1 year ago

Do I really need a plus account subscription to get a PUID?

Yes

Do I really require a PUID to construct my own bypass or free endpoints?

Depends on usage. The purpose of the _puid cookie is to remove IP based rate limits

hongyi-zhao commented 1 year ago

Do I really need a plus account subscription to get a PUID?

Yes

If so, why still can I see my PUID with my normal account without plus subscription?

The purpose of the _puid cookie is to remove IP based rate limits

If I don't have a plus subscription, are there some other alternative methods to achieve this goal?

hongyi-zhao commented 1 year ago

You said the following here:

"PUID": "<_puid cookie for plus accounts>", // Only if you have a plus account and use GPT-4

But I tried the following configuration, and it still works for revChatGPT.V1:

{
"相关讨论":"https://github.com/acheong08/ChatGPT/issues/1452#issuecomment-1616702565",

"email": "my-email",
"password": "my-password",
"proxy": "socks5h://127.0.0.1:18887",

"选项说明":"下面的选项使得不会在web界面中保持历史:https://chat.openai.com/chat",
"disable_history":true,

"可用模型列表":"https://platform.openai.com/docs/models/gpt-3-5",
"model": "gpt-3.5-turbo-16k",

"说明":"Only if you have a plus account and use GPT-4",
"PUID": "user-cyCIrv7Tg3UmtKC0IjlplSZ5"
}
acheong08 commented 1 year ago

If so, why still can I see my PUID with my normal account without plus subscription?

Cookies aren't cleared

acheong08 commented 1 year ago

But I tried the following configuration, and it still works for revChatGPT.V1:

Server hasn't reached rate limit for invalid PUIDs yet because it sets my own PUID as default for free users

hongyi-zhao commented 1 year ago

If so, why still can I see my PUID with my normal account without plus subscription?

Cookies aren't cleared

I cleared the Cookies and then re-login ChatGPT with a nonplus subscription account, and still can see the following information:

image

image

So, I think what I see is just the UID but not PUID, am I right?

bi1101 commented 1 year ago

If you use PUID from non-plus account the rate limit is still there (normal chat gpt account has a rate limit per hour even on the official web version)

hongyi-zhao commented 1 year ago
  1. Is there a format difference between PUID and UID?
  2. Where is the official documentation on the rate limit mentioned here?
xqdoo00o commented 1 year ago

PUID跟UID是两个东西,PUID只能在plus账户的cookies里找到。这个中文文档很多错误得。

bi1101 commented 1 year ago
  1. Is there a format difference between PUID and UID?
  2. Where is the official documentation on the rate limit mentioned here?

no difference No official docs, only from experience: A blog about this https://www.awesomescreenshot.com/blog/knowledge/chatgpt-too-many-requests-in-1-hour

acheong08 commented 1 year ago

So, I think what I see is just the UID but not PUID, am I right?

Yes. The PUID is a cookie _puid

acheong08 commented 1 year ago

这个中文文档很多错误得。

Can someone fluent in Chinese open a PR?

bi1101 commented 1 year ago

I notice if you add PUID you get 500 error even with plus accounts.