Existing applications can migrate with minimal effort, still using the official OpenAI SDKs.
Specify the base URL and API Key
Initialize the OpenAI client using Friendli’s base URL and your Personal API Key.- Serverless Endpoints:
https://api.friendli.ai/serverless/v1. - Dedicated Endpoints:
https://api.friendli.ai/dedicated/v1. - Container: your own container’s URL (e.g.,
http://HOST:PORT/v1).