QuotaFlow Docs

Base URL

When to use this page

Use this page when replacing direct OpenAI calls with QuotaFlow while keeping OpenAI-compatible SDK code.

Base URL

https://api.quotaflow.ai/openai/v1

JavaScript SDK pattern

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.QUOTAFLOW_API_KEY,
  baseURL: "https://api.quotaflow.ai/openai/v1"
});

Python SDK pattern

from openai import OpenAI
import os

client = OpenAI(
    api_key=os.environ["QUOTAFLOW_API_KEY"],
    base_url="https://api.quotaflow.ai/openai/v1",
)

Endpoint mapping

OpenAI-compatible pathQuotaFlow URL
/modelshttps://api.quotaflow.ai/openai/v1/models
/responseshttps://api.quotaflow.ai/openai/v1/responses
/chat/completionshttps://api.quotaflow.ai/openai/v1/chat/completions

Sticky sessions

For coding agents and long conversations, pass one of these values consistently:

QuotaFlow uses this to prefer the same upstream account and improve cache locality.

AI agents: start at /llms.txt, fetch /llms-full.txt for full context, and parse /openapi.yaml for endpoint schemas.