OpenAI Chat Completions
POST /v1/chat/completions (openai)
Set "stream": true for SSE chunks ending with [DONE].
{
"model": "$APORTO_MODEL",
"messages": [{ "role": "user", "content": "Explain this in one sentence." }],
"stream": false
}Current Aporto models, compatible API endpoints, and tariffs from one live catalog.
Base URL: https://api.aporto.tech
Authorization: Bearer $APORTO_API_KEY
Content-Type: application/jsonUse GET /v1/models for the models available to your key. The marker shown beside each model in the pricing tab determines which compatibility path it supports.
POST /v1/chat/completions (openai)
Set "stream": true for SSE chunks ending with [DONE].
{
"model": "$APORTO_MODEL",
"messages": [{ "role": "user", "content": "Explain this in one sentence." }],
"stream": false
}POST /v1/responses (openai-response)
Set "stream": true for Responses API events.
{
"model": "$APORTO_MODEL",
"instructions": "Be concise.",
"input": "Explain why the sky is blue.",
"stream": false
}POST /v1beta/models/{model}:generateContent (gemini)
Use :streamGenerateContent?alt=sse for streaming.
{
"contents": [
{ "role": "user", "parts": [{ "text": "Hello!" }] }
]
}See API Reference for usage, errors, rate limits, and retry guidance.