# Ask about GPT4 temperature?

**URL:** <https://community.openai.com/t/ask-about-gpt4-temperature/351371>\
**Category:** API\
**Tags:** gpt-4\
**Created:** [September 4, 2023, 12:12pm UTC](https://community.openai.com/t/ask-about-gpt4-temperature/351371 "2023-09-04T12:12:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![angga](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@angga](https://community.openai.com/u/angga)\
**Post date:** [September 4, 2023, 12:12pm UTC](https://community.openai.com/t/ask-about-gpt4-temperature/351371/1 "2023-09-04T12:12:41Z")

</div>

I try using temperature 1.2, and gpt4 response is so Interesting. Unfortunately, sometimes it produces meaningless word or random word that look like a word. Then, i tune the temperature to 1 and 1.1 . The response is so boring. Or maybe like GPT 3.5.

Any recommendation temperature that similar to 1.2? Want to try by myself but the price is so costly.

---

<div class="post-metadata">

**Author:** ![\_j](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/_j/32/766292_2.png) [@\_j](https://community.openai.com/u/_j)\
**Post date:** [September 4, 2023, 12:20pm UTC](https://community.openai.com/t/ask-about-gpt4-temperature/351371/2 "2023-09-04T12:20:14Z")

</div>

An additional parameter `top_p`, set to .90 or lower, can remove some of the crazier tokens that could be produced by a high “creative” temperature.

> [@Questions regarding API sampling parameters (temperature, top\_p)](https://community.openai.com/t/questions-regarding-api-sampling-parameters-temperature-top-p/335706/2):
>
> Top-p reduces the selectable tokens from the 100% probability space at 1.00 down to only those that include the top 20% (inclusively) at 0.20. It is not affected by temperature. This will make probabilities like: “banana” : 30% “apple”: 20% “orange”: 15% (all others): 35% into a limited set of logits such as: “banana” : 66.66% “apple”: 33.34% Temperature then acts, for example lowering the temperature gives more distance between choices: “banana” : 75% “apple”: 25% (temperature work…
