Integration

OpenAI-compatible API integration for variables and secrets

Connect Wodby apps to an inference service that implements the OpenAI API, including hosted endpoints or your own vLLM server. Supply a base URL and, when required, an API key through OPENAI_BASE_URL and OPENAI_API_KEY.

Variables

Choose your inference endpoint

Use a compatible API from services such as Modal, Together, Fireworks, or a Hugging Face Inference Endpoint, or connect a model server you operate.

Match the endpoint’s authentication

Set the API base URL, usually ending in /v1. The API key is optional for endpoints that do not require authentication.

Integration kinds

How OpenAI-compatible API fits into Wodby

OpenAI-compatible API has one integration kind on Wodby. You create the integration once, in an organization or a project, and use it in as many apps as you need.

Variables

API

Configure apps to call a hosted or self-managed OpenAI-compatible inference API through environment variables.

  • Set the API base URL expected by your client, usually ending in /v1.
  • Provide an API key if the endpoint requires authentication; otherwise the integration’s key field can be left empty.
  • Connected services receive OPENAI_BASE_URL and OPENAI_API_KEY. The endpoint must support the API operations your app uses.

Environment variables

OPENAI_BASE_URLOPENAI_API_KEY

Related features

Read more on this site

Browse all integrations

The catalog lists every provider and the kinds of integration it has.

Stacks

Stacks to use with OpenAI-compatible API

These stacks are examples of where the integration is used. Each card says what it does there.

  • Python

    Stack

    Python application stack for custom web apps, APIs, workers, and automation services.

    Attach the integration to a Python service whose OpenAI client should call your endpoint.

    View stack
  • Next.js

    Stack

    Next.js application stack on Node.js, with optional PostgreSQL, Valkey caching, document conversion, and email services.

    Attach the integration to the Next.js service. The values reach server-side code at runtime and are not available during the build.

    View stack
  • Node.js

    Stack

    Node.js application stack for APIs, workers, and custom services, with optional PostgreSQL, Valkey caching, document conversion, and email services.

    Attach the integration to the Node.js service, and your code reads the values from the environment.

    View stack
  • Laravel

    Stack

    Laravel application stack with Nginx, PHP, MariaDB, Valkey, and a queue worker.

    Attach the integration to the PHP service, where the Laravel code runs.

    View stack

Other integrations and features

The catalog lists the other providers by integration kind. The features page covers what integrations are used for, including CI/CD, backups, and private app access.