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
claude-3.7-sonnet
deepseek-chat-v3-0324
gemini-2.5-pro-preview-03-25
llama-4-scout
grok-3-beta
llama-4-maverick
o1
o3-mini
o1-mini
gpt-4o
deepseek-r1
gpt-4.5-preview
gemini-2.5-pro-exp-03-25
deepseek-chat
claude-3.5-sonnet
llama-3.1-405b-instruct
llama-3-70b-instruct
gpt-4o-mini
gemini-flash-1.5
mixtral-8x7b-instruct
claude-3-5-haiku-20241022:beta
gemini-2.0-flash-exp
grok-2
qwq-32b-preview
nova-pro-v1
llama-3.1-nemotron-70b-instruct
gemini-flash-1.5
gpt-4
dolphin-mixtral-8x22b
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())