Some Links for discussions and other topics of interest
API Compatible endpoints to use the different services:
Gemini
https://generativelanguage.googleapis.com/v1beta/openai/
Groq (for mistral and llama)
https://api.groq.com/openai/v1
For all of them, make sure to call the right model also.
But that's not when you create the client with this code:
const client = new OpenAI({
apiKey: process.env.GROQ_API_KEY,
baseURL: "https://api.groq.com/openai/v1"
});