# Deepinfra support

**URL:** <https://forum.cursor.com/t/deepinfra-support/3526>\
**Category:** Help\
**Created:** [March 19, 2024, 7:31pm UTC](https://forum.cursor.com/t/deepinfra-support/3526 "2024-03-19T19:31:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hiro](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Hiro](https://forum.cursor.com/u/Hiro)\
**Post date:** [March 19, 2024, 7:31pm UTC](https://forum.cursor.com/t/deepinfra-support/3526/1 "2024-03-19T19:31:49Z")

</div>

I would like to just be able to put the deepinfa api url and api key and have it just work

for example the deepinfra site give this

````curl
   -H "Content-Type: application/json" \
   -H "Authorization: Bearer $(deepctl auth token)" \
   -d '{
     "input": "[INST] Just say hi! [/INST] "
   }'```

and I would like to be able to put this url

https://api.deepinfra.com/v1/inference/cognitivecomputations/dolphin-2.6-mixtral-8x7b

and my deepinfra api key and use deepinfra models on cursor
````

---

<div class="post-metadata">

**Author:** ![Dreams](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/dreams/32/8283_2.png) [@Dreams](https://forum.cursor.com/u/Dreams)\
**Post date:** [March 20, 2024, 10:34pm UTC](https://forum.cursor.com/t/deepinfra-support/3526/2 "2024-03-20T22:34:49Z")

</div>

Its working. Your settings are just wrong.

Base URL is: [https://api.deepinfra.com/v1](https://api.deepinfra.com/v1)  
and add the model like " google/gemma-7b-it" as example

---

<div class="post-metadata">

**Author:** ![Hiro](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Hiro](https://forum.cursor.com/u/Hiro)\
**Post date:** [March 20, 2024, 11:05pm UTC](https://forum.cursor.com/t/deepinfra-support/3526/3 "2024-03-20T23:05:14Z")

</div>

I figured that out but I keep getting a error

---

<div class="post-metadata">

**Author:** ![Hiro](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Hiro](https://forum.cursor.com/u/Hiro)\
**Post date:** [March 21, 2024, 1:21am UTC](https://forum.cursor.com/t/deepinfra-support/3526/4 "2024-03-21T01:21:40Z")

</div>

![image-1-1](https://us1.discourse-cdn.com/cursor1/original/2X/6/6204b988d5372c48e741f7d9a86818b678600f01.png)

---

<div class="post-metadata">

**Author:** ![Dreams](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/dreams/32/8283_2.png) [@Dreams](https://forum.cursor.com/u/Dreams)\
**Post date:** [March 21, 2024, 10:18am UTC](https://forum.cursor.com/t/deepinfra-support/3526/5 "2024-03-21T10:18:53Z")

</div>

Sorry i was mistaken its [https://api.deepinfra.com/v1/openai](https://api.deepinfra.com/v1/openai)  
Make sure you press the arrow after entering your API Key.

![Screenshot 2024-03-21 at 11.17.08](https://us1.discourse-cdn.com/cursor1/original/2X/d/d3b08614ccadf2126baf8257d489863050c2259d.png)

---

<div class="post-metadata">

**Author:** ![Hiro](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Hiro](https://forum.cursor.com/u/Hiro)\
**Post date:** [March 21, 2024, 1:14pm UTC](https://forum.cursor.com/t/deepinfra-support/3526/6 "2024-03-21T13:14:37Z")

</div>

Yes ik I still get the error when it is mid generation

---

<div class="post-metadata">

**Author:** ![Dreams](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/dreams/32/8283_2.png) [@Dreams](https://forum.cursor.com/u/Dreams)\
**Post date:** [March 21, 2024, 1:52pm UTC](https://forum.cursor.com/t/deepinfra-support/3526/7 "2024-03-21T13:52:51Z")

</div>

then u dont have money on it

---

<div class="post-metadata">

**Author:** ![Hiro](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Hiro](https://forum.cursor.com/u/Hiro)\
**Post date:** [March 21, 2024, 2:06pm UTC](https://forum.cursor.com/t/deepinfra-support/3526/8 "2024-03-21T14:06:02Z")

</div>

I have confirmed on the deepinfra site have the quota limit at $15 and haven’t used 1% yet

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:12am UTC](https://forum.cursor.com/t/deepinfra-support/3526/9 "2026-06-18T10:12:22Z")

</div>

Closed on June 18, 2026, 10:12am UTC


