Proxy
Integrate 200+ LLMs
Call 200+ LLMs with a single OpenAI compatible format
Keywords AI allows you to call 200+ LLMs with a single OpenAI compatible format. You can switch between models with only 1 line of code change.
1
Create an API key
To create an API key, visit the API key page
2
Copy the code from the code box
After you create an API key, click on the View code
button to copy the code into your codebase.
3
Choose the best model in Models page
Go to the Models page and choose the best model for your use case. Click the Copy button to copy the model id.
Call models with OpenAI SDK
Call models with a standard API call
- URL change: Modify the API endpoint URL in your code from OpenAI’s URL to the Keywords AI endpoint URL:
https://keywordsai.co/api/chat/completions
. - API key: Replace the OpenAI API key with your Keywords AI API key.
- Parameters: See supported parameters in the API reference.
Response
The results should be printed in the console.