# When using my own API key, is the context length limited by the cursor, or is it the full context length?

**URL:** <https://forum.cursor.com/t/when-using-my-own-api-key-is-the-context-length-limited-by-the-cursor-or-is-it-the-full-context-length/102595>\
**Category:** Help\
**Created:** [June 11, 2025, 2:51am UTC](https://forum.cursor.com/t/when-using-my-own-api-key-is-the-context-length-limited-by-the-cursor-or-is-it-the-full-context-length/102595 "2025-06-11T02:51:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![isCopyman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/iscopyman/32/12285_2.png) [@isCopyman](https://forum.cursor.com/u/isCopyman)\
**Post date:** [June 11, 2025, 2:51am UTC](https://forum.cursor.com/t/when-using-my-own-api-key-is-the-context-length-limited-by-the-cursor-or-is-it-the-full-context-length/102595/1 "2025-06-11T02:51:18Z")

</div>

I want to use Gemini to achieve a 1M context length, but I’m not sure if this is possible.
