I have been investigating for days but it is not very clear to me. Basically I have seen that for the DEEPSEEK API to work in Cursor you have to put the API in OPENAI API KEY.
I thought that this configuration was exclusively for the OPENAI GPT Chat API but I have seen in the forum that it is there where you have to indicate the DEEPSEEK API to Cursor and also, I think I remember, that until DEEPSEEK did it it was not possible.
I have also seen something related to OPENROUTER API with OPENAI but the only thing that is clear to me about OPENROUTER is that it is a platform that with one API you can manage multiple AI models. And OPENROUTER in turn, has something to do with OPENAI.
As you can read, I am confused because I do not understand what OPENAI has to do with DEEPSEEK for example.
I mean, I seem to have a feeling that OPENAI is responsible for creating the APIs, or so it seems. But as much as I investigate the relationship between the aforementioned actors, I can’t find any information that clarifies it for me.
Hey, the reason we use the OpenAI box as the place to input a custom URL is because any URL you enter must have the same structure as the OpenAI API, aka be OpenAI compliant.
We are hoping to bring some improvements in a future release, to make things clearer around this.
why do they say you have to install the openai sdk to be able to use their api, in their python example they say you must import openai from apenai , why ? is openai the backbone of DeepSeek or , what’s the relationship here ?
They use the same API format as OpenAI, so they are likely suggestion you use the OpenAI libraries to interact with DeepSeek to avoid them having to create and publish their own.