Skip to main content

Overview

Vikat provides complete OpenAI API compatibility through protocol adaptation. The integration handles request transformation, response normalization, and error mapping between OpenAI’s API specification and Vikat’s internal processing pipeline. This integration enables you to utilize Vikat’s features like governance, load balancing, semantic caching, multi-provider support, and more, all while preserving your existing OpenAI SDK-based architecture. Endpoint: /openai

Setup


Provider/Model Usage Examples

Use multiple providers through the same OpenAI SDK format by prefixing model names with the provider:

Adding Custom Headers

Pass custom headers required by Vikat plugins (like governance, telemetry, etc.):

Async Inference

Submit inference requests asynchronously and poll for results later using the x-vikat-async header. This is useful for long-running requests where you don’t want to hold a connection open. See Async Inference for full details.
Async inference requires a Logs Store to be configured and is not compatible with streaming.

Chat Completions

Responses API

Async Headers


Supported Features

The OpenAI integration supports all features that are available in both the OpenAI SDK and Vikat core functionality. If the OpenAI SDK supports a feature and Vikat supports it, the integration will work seamlessly.

Next Steps