> For the complete documentation index, see [llms.txt](https://docs.distribute.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.distribute.ai/distribute-for-enterprise/enterprise-inference-api/openai-compatible-api.md).

# OpenAI Compatible API

{% hint style="info" %}
The page is currently being developed. If you experience issues, please contact our support team. Your feedback helps us improve our documentation for everyone.
{% endhint %}

The OpenAI-Compatible Inference API offers seamless drop-in replacements for OpenAI’s core endpoints, including chat completions, image generations, and more. Designed for developers familiar with the OpenAI API, it mirrors the structure, parameters, and behavior of endpoints like `/v1/chat/completions` and `/v1/images/generations`, enabling effortless integration without rewriting your codebase. This compatibility layer allows you to switch to a decentralized or self-hosted backend while maintaining full interoperability with existing OpenAI-compatible tools and SDKs.

{% content-ref url="/pages/aQKd0onGds67iVs639GL" %}
[Images](/distribute-for-enterprise/enterprise-inference-api/openai-compatible-api/images.md)
{% endcontent-ref %}

{% content-ref url="/pages/EfooG2k9jB13cAcQKNXX" %}
[Chat](/distribute-for-enterprise/enterprise-inference-api/openai-compatible-api/chat.md)
{% endcontent-ref %}

{% content-ref url="/pages/SboGHHNO115vj7lnQOG9" %}
[Audio](/distribute-for-enterprise/enterprise-inference-api/openai-compatible-api/audio.md)
{% endcontent-ref %}
