First month for free!
Get started
75% cheaper than GPT-3.5 - From $0.50 per 1 million tokens.
Our OpenAI-compatible chat API is trained to be a helpful assistant. We are supporting 3 state of the art open-source AI models (Mixtral AI, Llama 3.1 8B and Llama 3.1 70B). They can be utilized for a wide range of applications and excel in tasks such as commonsense reasoning, world knowledge, reading comprehension, code-related tasks, and more. Test it for yourself in our AI API playground.
Our OpenAI-compatible API takes a list of messages as input and provides an AI-generated (assistant) message as output. If you haven't already, you will need to create an API key to authenticate your requests.
You can obtain only the generated assistant message with the following code:
The API POST https://api.lemonfox.ai/v1/chat/completions
takes the following parameters: