Sciforium’s API is a drop-in replacement for the OpenAI Chat Completions API. Most OpenAI SDK methods, request shapes, and response formats work without further changes.
Migration steps
To migrate from OpenAI to Sciforium:- Change the base URL from
https://api.openai.com/v1tohttps://api.sciforium.com/v1 - Replace your API key with a Sciforium API key
- Update the model field to a Sciforium model ID