Contents
OpenAI SDK Compatibility
OpenAI SDK Compatibility
BazaarLink is fully compatible with the OpenAI Python and Node.js SDKs. Only two changes needed:
Before (OpenAI direct)
After (BazaarLink)
That's it!
All other features — streaming, tool calling, structured output, async — work exactly the same. The only change is base_url, api_key, and adding the provider prefix to model IDs.