# CrewAI API Calls context window/Data amount

**URL:** <https://community.crewai.com/t/crewai-api-calls-context-window-data-amount/5039>\
**Category:** General\
**Created:** [March 30, 2025, 1:16am UTC](https://community.crewai.com/t/crewai-api-calls-context-window-data-amount/5039 "2025-03-30T01:16:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DugJones](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/dugjones/32/2088_2.png) [@DugJones](https://community.crewai.com/u/DugJones)\
**Post date:** [March 30, 2025, 1:16am UTC](https://community.crewai.com/t/crewai-api-calls-context-window-data-amount/5039/1 "2025-03-30T01:16:34Z")

</div>

Hi,

How do I understand the quantity of data or context (agent information, backstory, task description etc.) I can send to the OpenAI api for it to be effective. Are there specific restrictions when calling via CrewAI?

If I take the same information and 'dump’it to Chat window the response is fast, when I use the API, I seem to have to restrict the amount of data to send.

Is there any guide to quantity of data etc?

Thank you
