Creator Center
/Model/OpenAI-API-compatible
🤖

OpenAI-API-compatible

Verified by Dify
No ratings yet
1.7M
L
langgenius/openai_api_compatible

Model providers compatible with OpenAI's API standard, such as LM Studio or llama.cpp Service.

Overview

This plugin provides access to models that are OpenAI-compatible, including LLMs, reranking, text embedding, speech-to-text (STT), and text-to-speech(TTS) models. Developers can easily add models by providing configuration parameters such as the model name and API key.

Configure

Configure the OpenAI-API-compatible model by providing its core details (Type, Name, API Key, URL) and adjusting further options like completion, context, and token limits, as well as streaming and vision settings. Save when done.

Request metadata

is optional and disabled by default. When it is set to , every LLM request carries two extra headers:

HeaderValue
The Dify app that triggered the request
The Dify end-user ID passed to the model

A gateway or self-hosted proxy can use them to attribute traffic and spend per app. The app ID is only present when the call runs inside a Dify app, and Dify does not expose a workflow run ID to model plugins, so none is sent. Headers configured through the model parameter still win when both use the same name.

TokenLab example

TokenLab can be configured through this plugin with the OpenAI-compatible API surface:

FieldValue
Type
Model Name
API KeyYour TokenLab API key
API Base URL
Completion mode

Use for LLM/chat models. For non-LLM model types where this plugin appends the API version internally, such as text embedding, rerank, STT, and TTS, use instead to avoid a duplicated path.

Other TokenLab chat models can be added the same way, for example , , , , , , , , , , and .

TokenLab also provides native endpoint families such as Responses, Anthropic Messages, and Gemini-compatible APIs. This OpenAI-API-compatible plugin uses TokenLab's OpenAI-compatible endpoint.

Hubris example

Hubris is a ruble-billed OpenAI-compatible LLM gateway (400+ models) that can be configured through this plugin:

FieldValue
Type
Model Name
API KeyYour Hubris API key (create at hubris.pw/keys)
API Base URL
Completion mode

Other Hubris models can be added the same way — see the full catalog at hubris.pw/models.

CATEGORY
Model
VERSION
0.0.87
langgenius·Updated 5 days ago
REQUIREMENTS
LLM invocation
Tool invocation
Maximum memory
1MB
Access domain

Some outbound calls build their address at runtime, so the list may be incomplete.

Detected

Private network address — this plugin accesses an internal network host.

Detected

Private network address — this plugin accesses an internal network host.

Detected

Private network address — this plugin accesses an internal network host.

Security
Security Rating

Last checked 11/20/2026 08:01 AM · version 0.0.87

Give a rate
SHARE WITH