/ Home
GenAI Temperature
OpenAI (GPT-4o / GPT-4.1 / GPT-5 family)
| Use Case | Recommended Temperature |
|---|---|
| Coding / Math | 0.0 – 0.2 |
| Data Cleaning / Data Analysis | 0.2 – 0.5 |
| General Conversation | 0.7 – 1.0 |
| Translation | 0.3 – 0.7 |
| Creative Writing / Poetry | 1.0 – 1.5 |
Anthropic (Claude 3 / Claude 4 family)
| Use Case | Recommended Temperature |
|---|---|
| Coding / Math | 0.0 – 0.2 |
| Data Cleaning / Data Analysis | 0.2 – 0.4 |
| General Conversation | 0.5 – 0.8 |
| Translation | 0.2 – 0.5 |
| Creative Writing / Poetry | 0.8 – 1.2 |
Google Gemini (Gemini 1.5 / 2.x family)
| Use Case | Recommended Temperature |
|---|---|
| Coding / Math | 0.0 – 0.3 |
| Data Cleaning / Data Analysis | 0.2 – 0.5 |
| General Conversation | 0.6 – 0.9 |
| Translation | 0.2 – 0.6 |
| Creative Writing / Poetry | 0.9 – 1.3 |
DeepSeek – Recommended Temperature Settings
| Use Case | Temperature |
|---|---|
| Coding / Math | 0.0 |
| Data Cleaning / Data Analysis | 1.0 |
| General Conversation | 1.3 |
| Translation | 1.3 |
| Creative Writing / Poetry | 1.5 |
xAI Grok (Grok-1 / Grok-1.5 / Grok-2 family)
| Use Case | Recommended Temperature |
|---|---|
| Coding / Math | 0.0 – 0.2 |
| Data Cleaning / Data Analysis | 0.2 – 0.5 |
| General Conversation | 0.6 – 1.0 |
| Translation | 0.3 – 0.7 |
| Creative Writing / Poetry | 0.9 – 1.4 |
Meta (Llama 3 / Llama 3.1 / Llama 3.2 family)
| Use Case | Recommended Temperature |
|---|---|
| Coding / Math | 0.0 – 0.2 |
| Data Cleaning / Data Analysis | 0.2 – 0.4 |
| General Conversation | 0.6 – 0.9 |
| Translation | 0.2 – 0.6 |
| Creative Writing / Poetry | 0.8 – 1.3 |
Mistral (Mistral Large / Mixtral / Codestral family)
| Use Case | Recommended Temperature |
|---|---|
| Coding / Math | 0.0 – 0.2 |
| Data Cleaning / Data Analysis | 0.2 – 0.4 |
| General Conversation | 0.6 – 0.9 |
| Translation | 0.2 – 0.6 |
| Creative Writing / Poetry | 0.9 – 1.3 |
Cohere (Command R / Command R+ family)
| Use Case | Recommended Temperature |
|---|---|
| Coding / Math | 0.0 – 0.2 |
| Data Cleaning / Data Analysis | 0.2 – 0.5 |
| General Conversation | 0.6 – 0.9 |
| Translation | 0.2 – 0.6 |
| Creative Writing / Poetry | 0.9 – 1.4 |
Alibaba (Qwen 2 / Qwen 2.5 family)
| Use Case | Recommended Temperature |
|---|---|
| Coding / Math | 0.0 – 0.2 |
| Data Cleaning / Data Analysis | 0.2 – 0.4 |
| General Conversation | 0.6 – 0.9 |
| Translation | 0.2 – 0.6 |
| Creative Writing / Poetry | 0.9 – 1.3 |
Ref:
- DeepSeek Tempearture Recommendation
- OpenAI - Mastering Temperature and Top P
- AWS Bedrock - Anthropic Claude Text Completion Parameters
- AWS Bedrock - Anthropic Claude Messages Request/Response
- Google Vertex AI - Adjust Parameter Values
- xAI Grok - Models
- xAI Grok - API Reference
- Meta Llama
- Meta Llama 3 GitHub
- Mistral AI Documentation
- Mistral AI - Chat Completions
- Cohere - Text Generation
- Cohere - Generate API Reference
- Alibaba Qwen
- Alibaba DashScope API Details