What is an OpenAI-compatible API?

An OpenAI-compatible API accepts the same request and response format as OpenAI, so the OpenAI SDKs and many tools work by changing the base URL.

Definition

An OpenAI-compatible API accepts the same request and response format as OpenAI, so the OpenAI SDKs and many tools work by changing the base URL.

How it works on TokenRex

TokenRex's base URL is https://tokenrex.ai/api/public.

Get API keyCost calculatorDocs

Related