Our API is OpenAI Compatible, which means that you can plug it into a number of third party softwares like Cursor and Cline, even with non-openAI models. To check on costs, see the account activity section. For coding, we recommend using Sonnet3.7 as it has prompt caching and agentic capabilities.
For questions or support, please use the chat widget in the bottom right!
POST https://api.ppq.ai/chat/completions
https://api.ppq.ai
Model Name | Model ID | Provider | Max Context | Date Added | Input Rate | Output Rate |
---|---|---|---|---|---|---|
No models available |
Model Name | Model ID | Provider | Max Context | Date Added | Input Rate | Output Rate |
---|---|---|---|---|---|---|
No models available |
import requests
url = "https://api.ppq.ai/models"
response = requests.get(url)
print(response.json())
import requests
api_key = ""
url = "https://api.ppq.ai/chat/completions"
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {api_key}"
}
data = {
"model": "claude-3.5-sonnet",
"messages": [{"role": "user", "content": "Hello, how are you?"}]
}
response = requests.post(url, json=data, headers=headers)
print(response.json())