Skip to content

Free Public GPT-3.5 API

Gateway and Key

Endpoint

  1. Gateway: https://api.ddaiai.com
    2. Key: any of your sub-keys, no top-up required
    3. How to get a sub-key: Log in to the console -> Get KEY -> Create a new sub-key

Notes

  • The free endpoint only supports the GPT-3.5 model
  • Sourced from the official chat.openai.com via reverse engineering into an API
  • Less stable than the official relay API
  • Does not support function calling or similar features; only conversation is supported
  • Maximum RPM 30 per user per minute

curl Example Test

shell
curl --request POST \
  --url https://api.ddaiai.com/v1/chat/completions \
  --header 'Authorization: Bearer hk-xxx' \
  --header 'content-type: application/json' \
  --data '{
    "model": "gpt-3.5-turbo",
    "messages": [
        {
            "role": "system",
            "content": "Translate into English in any language, No explanation required"
        },
        {
            "role": "user",
            "content": "hello 谢谢你 , 私たちは家族です。 yes you are right。 Не знаю, почему."
        }
    ]
}'
curl --request POST \
  --url https://api.ddaiai.com/v1/chat/completions \
  --header 'Authorization: Bearer hk-xxx' \
  --header 'content-type: application/json' \
  --data '{
    "model": "gpt-3.5-turbo",
    "messages": [
        {
            "role": "system",
            "content": "Translate into English in any language, No explanation required"
        },
        {
            "role": "user",
            "content": "hello 谢谢你 , 私たちは家族です。 yes you are right。 Не знаю, почему."
        }
    ]
}'