The Custom API integration allows you to connect any AI agent that follows our API specifications. This enables you to integrate your own AI solutions or third-party services with Pactory.
If token counts are not provided in the response, we will calculate them using the GPT-4 tiktoken encoding. This ensures accurate billing even when the API doesn’t provide token counts.