> For the complete documentation index, see [llms.txt](https://agent-llm.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://agent-llm.gitbook.io/docs/providers/gpt4free.md).

# GPT4FREE

## AI Provider: GPT4Free

* [GPT4Free](https://github.com/xtekky/gpt4free)
* [Agent-LLM](https://github.com/Josh-XT/Agent-LLM)

## Quick Start Guide

### Update your agent settings

1. Set `AI_PROVIDER` to `gpt4free`
2. Set `AI_MODEL` to `gpt-4` or `gpt-3.5-turbo`.
3. Set `AI_TEMPERATURE` to a value between 0 and 1. The higher the value, the more creative the output.
4. Set `MAX_TOKENS` to the maximum number of tokens to generate. The higher the value, the longer the output.
