# Dynamic OpenAI alternative url / custom endpoint

**URL:** <https://forum.seocontentmachine.com/t/dynamic-openai-alternative-url-custom-endpoint/222>\
**Category:** feature\
**Tags:** done\
**Created:** [May 11, 2024, 7:17am UTC](https://forum.seocontentmachine.com/t/dynamic-openai-alternative-url-custom-endpoint/222 "2024-05-11T07:17:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [May 11, 2024, 7:17am UTC](https://forum.seocontentmachine.com/t/dynamic-openai-alternative-url-custom-endpoint/222/1 "2024-05-11T07:17:17Z")

</div>

## 1. The problem

Only can add 1 openai compatible api url, I want to add OpenRouter and PPLX API.

> **[Overview - Perplexity](https://docs.perplexity.ai/docs/getting-started/overview)**

> **[OpenRouter Quickstart Guide](https://openrouter.ai/docs/quickstart)**
>
> Get started with OpenRouter's unified API for hundreds of AI models. Learn how to integrate using OpenAI SDK, direct API calls, or third-party frameworks.

## 2. Simple solution

Provide adding more alternative url and ability for naming the endpoint title

## 3. Screenshot examples

 ![image](https://forum.seocontentmachine.com/uploads/default/original/1X/f737d7aeaffbc7148fae8b7037b9b2ec8ca5411c.png)

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 11, 2024, 7:26am UTC](https://forum.seocontentmachine.com/t/dynamic-openai-alternative-url-custom-endpoint/222/2 "2024-05-11T07:26:03Z")

</div>

Not a problem, I will add Alt 2

 ![image](https://forum.seocontentmachine.com/uploads/default/original/1X/89dc204ab47c03654eaf93d446877585c3df308c.png)

---

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [May 11, 2024, 7:40am UTC](https://forum.seocontentmachine.com/t/dynamic-openai-alternative-url-custom-endpoint/222/3 "2024-05-11T07:40:58Z")

</div>

Amazing! Very impressive 😅

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 11, 2024, 8:49am UTC](https://forum.seocontentmachine.com/t/dynamic-openai-alternative-url-custom-endpoint/222/4 "2024-05-11T08:49:07Z")

</div>

Will release changes in the next hour or so,

Keep an eye out for the update notification in app

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 17, 2024, 11:16pm UTC](https://forum.seocontentmachine.com/t/dynamic-openai-alternative-url-custom-endpoint/222/5 "2024-05-17T23:16:56Z")

</div>

Here is how you would do perplexity

`https://docs.perplexity.ai/reference/post_chat_completions`

 ![image](https://forum.seocontentmachine.com/uploads/default/original/1X/2e5b1f7ccfc72f8d5207fb66aa849a53559e52c0.png)
