GPT API free (free API Key limited to 200 requests/day)

Trae

GPT API free program features

  1. Support Models, Embedding, text-davinci(not supported by free version), GPT-3.5-Turbo, GPT-3.5-Turbo-16K(not supported by free version), GPT-4, DALLE(not supported by free version), Whisper(not supported by free version). (AutoGPT, gpt_academic, langchain, etc. are supported by the free version).
  2. The free version supports gpt-4, 3 times a day; it supports gpt-4o-mini and shares 200 times a day with gpt-3.5-turbo.
  3. Fully consistent with the official interface standard, compatible with a variety of software/plug-ins.
  4. Streaming responses are supported.
  5. Domestic lines use dynamic acceleration, and the experience is far superior to using a proxy to connect to the official.
  6. No need for scientific internet access, directly available in domestic environment.
  7. Completely free for personal use.

 

GPT API free(免费 API Key 限制200请求/天)

 

Free API Key may only be used for personal, non-commercial use, education, and non-profit scientific research. Free API Key is strictly prohibited for commercial use, and large-scale training of commercial models is strictly prohibited!

Free API Key limit 200 requests/day/IP & Key call frequency (gpt and embedding are counted separately, each 200 times), that is to say, if you use more than one Key under one IP, the total number of requests of all Keys per day can not be more than 200; similarly, if you use a Key for more than one IP, the number of requests of this Key per day can not be more than 200. (Paid API does not have this limit. Similarly, if you use a Key for multiple IPs, the number of requests per day for this Key cannot exceed 200.(The paid version of the API does not have this limitation.)

 

 

Instructions for use

Project Address

🚀申请领取内测免费API Key
免费版支持gpt-3.5-turbo, embedding, gpt-4o-mini, gpt-4。其中gpt-4由于价格过高,每天限制3次调用(0点刷新)。需要更稳定快速的gpt-4请使用付费版。
免费版gpt-4由gpt-4o提供服务,但免费版暂不支持识图。
转发Host1: https://api.chatanywhere.tech (国内中转,延时更低)
转发Host2: https://api.chatanywhere.cn (国外使用,国内需要全局代理)
余额和使用记录查询(通知公告也会发在这里): 余额查询及公告
转发API无法直接向官方接口api.openai.com发起请求,需要将请求地址改为api.chatanywhere.tech才可以使用,大部分插件和软件都可以修改。

该API Key用于转发API,需要将Host改为api.chatanywhere.tech(国内首选)或者api.chatanywhere.cn(国外使用,国内需要全局代理)。

 

 

code example

 

python openai官方库(使用AutoGPT,langchain等)

方法1

from openai import OpenAI

client = OpenAI(
# defaults to os.environ.get("OPENAI_API_KEY")
api_key="YOUR API KEY",
base_url="https://api.chatanywhere.tech/v1"
# base_url="https://api.chatanywhere.cn/v1"
)

 

方法2

修改环境变量OPENAI_API_BASE,各个系统怎么改环境变量请自行搜索,修改环境变量后不起作用请重启系统。

OPENAI_API_BASE=https://api.chatanywhere.tech/v1
或 OPENAI_API_BASE=https://api.chatanywhere.cn/v1

 

开源gpt_academic

找到config.py文件中的API_URL_REDIRECT配置并修改为以下内容:

API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://api.chatanywhere.tech/v1/chat/completions"}
# API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://api.chatanywhere.cn/v1/chat/completions"}

 

BotGem(AMA)

ChatGPT桌面应用,支持全平台,支持gpt-4-vision。使用方法:下载安装后在设置中如图设置,并点击更新。

GPT API free(免费 API Key 限制200请求/天)

© Copyright notes
AiPPT

Related posts

No comments

none
No comments...