# Add custom base url for anthropic and gemini models

**URL:** <https://forum.cursor.com/t/add-custom-base-url-for-anthropic-and-gemini-models/104376>\
**Category:** Feature Requests\
**Created:** [June 16, 2025, 8:51pm UTC](https://forum.cursor.com/t/add-custom-base-url-for-anthropic-and-gemini-models/104376 "2025-06-16T20:51:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudip358](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sudip358/32/64080_2.png) [@sudip358](https://forum.cursor.com/u/sudip358)\
**Post date:** [June 16, 2025, 8:51pm UTC](https://forum.cursor.com/t/add-custom-base-url-for-anthropic-and-gemini-models/104376/1 "2025-06-16T20:51:24Z")

</div>

**Feature Request:** Please add support for custom base URLs when using Anthropic and Gemini models with BYOK configuration.

**Current Limitation:** The current BYOK implementation appears to use default API endpoints, but many users need the flexibility to connect to custom endpoints or proxy servers for these AI models.

---

<div class="post-metadata">

**Author:** ![ai-poet](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ai-poet/32/57098_2.png) [@ai-poet](https://forum.cursor.com/u/ai-poet)\
**Post date:** [July 25, 2025, 5:27am UTC](https://forum.cursor.com/t/add-custom-base-url-for-anthropic-and-gemini-models/104376/2 "2025-07-25T05:27:51Z")

</div>

Very useful feature, but I guess they won’t add it because they need to make money
