# GPT-5 + LiteLLM

**URL:** <https://community.crewai.com/t/gpt-5-litellm/7058>\
**Category:** CrewAI Community Support\
**Tags:** crewai\
**Created:** [September 24, 2025, 3:32pm UTC](https://community.crewai.com/t/gpt-5-litellm/7058 "2025-09-24T15:32:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_G](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@David\_G](https://community.crewai.com/u/David_G)\
**Post date:** [September 24, 2025, 3:32pm UTC](https://community.crewai.com/t/gpt-5-litellm/7058/1 "2025-09-24T15:32:00Z")

</div>

Due to the new parameters that GPT-5 expects as well as the ones that aren’t used anymore, I’m running into issues with my crew when trying to use gpt-5. It seems that liteLLM is now on 1.77.3 but crewai is still locked to 1.74.9. I assume that this may be related to the changes in gpt-5.

Anyone get this working and have all the crewai metadata available after a gpt-5 call via liteLLM? Is there a new version of crewai coming that will be able to use more recent versions of liteLLM?

---

<div class="post-metadata">

**Author:** ![maxmoura](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/maxmoura/32/4206_2.png) [@maxmoura](https://community.crewai.com/u/maxmoura)\
**Post date:** [September 24, 2025, 3:52pm UTC](https://community.crewai.com/t/gpt-5-litellm/7058/2 "2025-09-24T15:52:48Z")

</div>

```python
from crewai import LLM
import os

os.environ["OPENAI_API_KEY"] = "sk-YOUR-KEY"

gpt_5_llm = LLM(
    model="openai/gpt-5",
    drop_params=True,
    additional_drop_params=["stop", "temperature"]
)

```

---

<div class="post-metadata">

**Author:** ![David\_G](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@David\_G](https://community.crewai.com/u/David_G)\
**Post date:** [September 25, 2025, 12:01am UTC](https://community.crewai.com/t/gpt-5-litellm/7058/3 "2025-09-25T00:01:46Z")

</div>

Thanks Max. Working now. 👍

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex025/uploads/crewai/original/1X/ecda97e72f77c7100e0a761444b1c991925cc789.png) [@system](https://community.crewai.com/u/system)\
**Post date:** [September 26, 2025, 12:02am UTC](https://community.crewai.com/t/gpt-5-litellm/7058/4 "2025-09-26T00:02:01Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
