API Reference
Our API is designed to be a drop-in replacement for existing LLM provider APIs. We follow the OpenAI-compatible standard to minimize integration effort.
Chat Completions
POST https://api.aiquotarouter.com/v1/chat/completions
Parameters
| Parameter | Type | Description |
|---|---|---|
| model | string | The ID of the model to use. e.g., gpt-4o, claude-3-5-sonnet. |
| messages | array | A list of message objects representing the conversation history. |
| temperature | number | Controls randomness. Ranges from 0 to 2. Default is 1. |
Request Body
{
"model": "gpt-4o",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello!"}
],
"stream": false
}