Apps and frameworks
Most apps and frameworks that work with OpenAI or Anthropic work with Zabio. You change two settings: the base URL and the API key. Then set the model to auto and Zabio picks the model for each request. You can also use auto/best, auto/balanced or auto/cheap to set the line, or name any model in the catalog, such as claude-opus-5-5, gemini-3.8-flash or qwen3.5-9b.
Which base URL you use depends on the API style the app speaks:
| Client style | Base URL |
|---|---|
| OpenAI compatible (Chat Completions, Responses, Embeddings) | https://api.zabio.ai/v1 |
| Anthropic Messages API | https://api.zabio.ai (the client adds /v1/messages) |
Your key starts with zb_live_. See the Quickstart for where to find it. In the samples below, replace insert your zabio.ai key here with your key, or better, read it from an environment variable.
| App | How it connects |
|---|---|
| n8n | OpenAI credential with a custom Base URL |
| Hermes Agent | custom endpoint in config.yaml |
| Cline | OpenAI Compatible provider |
| Dify | OpenAI-API-compatible model provider plugin |
| LangChain | ChatOpenAI or ChatAnthropic with a base URL |
| Vercel AI SDK | createOpenAI with a base URL |
| Codex | model provider in ~/.codex/config.toml, Responses API |
| Open WebUI | OpenAI API connection |
| LibreChat | custom endpoint in librechat.yaml |
| Continue | openai provider with apiBase |
| Aider | OpenAI compatible environment variables |
To let an AI app read Zabio’s docs, models and your usage through MCP (Claude, Claude Code, Codex, Cursor, VS Code, OpenCode), see Connect an AI app (MCP). To use Claude Code with Zabio as its model provider, see Anthropic SDK and Claude Code.
n8n’s OpenAI credential has a Base URL field. The OpenAI nodes (OpenAI, OpenAI Chat Model, Embeddings OpenAI) use it.
- In n8n, create a new credential of type OpenAI.
- In API Key, paste your Zabio key.
- Leave Organization ID empty.
- In Base URL, enter
https://api.zabio.ai/v1. - Save the credential.
- In an OpenAI Chat Model node, select this credential. n8n loads the model list from Zabio. Choose
auto.
The Base URL ends at /v1. Do not add /chat/completions: n8n adds the path itself.
Hermes Agent
Section titled “Hermes Agent”Hermes Agent by Nous Research takes a custom OpenAI compatible endpoint. Run hermes model, choose the custom endpoint option, and enter the base URL, the key and the model name. Hermes saves them in its config.yaml.
You can also write the settings in config.yaml yourself:
model: default: auto provider: custom base_url: https://api.zabio.ai/v1 key_env: ZABIO_API_KEYkey_env names the environment variable that holds your key. Set it before you start Hermes:
export ZABIO_API_KEY="insert your zabio.ai key here"To put the key in the file instead, replace key_env with api_key: insert your zabio.ai key here. Inside a session, /model custom:auto/best switches to another model on the same endpoint.
- Open Cline’s settings (the gear icon).
- In API Provider, choose OpenAI Compatible.
- In Base URL, enter
https://api.zabio.ai/v1. - In API Key, paste your Zabio key.
- In Model, type
auto.
Dify connects to Zabio through the official OpenAI-API-compatible model provider plugin.
- In Dify, go to Integrations, then Model Provider, and install OpenAI-API-compatible from the Marketplace.
- On its card, click Add Model.
- Fill in the form:
| Field | Value |
|---|---|
| Model Type | LLM |
| Model Name | auto |
| API Key | your Zabio key |
| API Base URL | https://api.zabio.ai/v1 |
| Completion mode | Chat |
- Save. The model is now available in your apps and workflows.
Add one model per id you want to use, for example auto/cheap or claude-opus-5-5. For embeddings, add a model of type Text Embedding with an embedding model id from the catalog.
LangChain
Section titled “LangChain”Install langchain-openai and pass Zabio’s base URL and your key to ChatOpenAI:
from langchain_openai import ChatOpenAI
llm = ChatOpenAI( base_url="https://api.zabio.ai/v1", api_key="insert your zabio.ai key here", model="auto",)print(llm.invoke("Say hello in one sentence.").content)To use the Anthropic Messages API instead, install langchain-anthropic. ChatAnthropic takes the base URL without /v1:
from langchain_anthropic import ChatAnthropic
llm = ChatAnthropic( base_url="https://api.zabio.ai", api_key="insert your zabio.ai key here", model="auto",)print(llm.invoke("Say hello in one sentence.").content)Vercel AI SDK
Section titled “Vercel AI SDK”Use the OpenAI provider (@ai-sdk/openai) with Zabio’s base URL:
import { createOpenAI } from "@ai-sdk/openai";import { generateText } from "ai";
const zabio = createOpenAI({ baseURL: "https://api.zabio.ai/v1", apiKey: process.env.ZABIO_API_KEY,});
const { text } = await generateText({ model: zabio.chat("auto"), prompt: "Say hello in one sentence.",});zabio.chat("auto") calls Chat Completions. Since AI SDK 5, zabio("auto") without .chat calls the Responses API, which Zabio also serves (see Responses API). Current versions of the provider have no compatibility option.
Codex can use Zabio as its model provider. Codex speaks only the Responses API, which Zabio serves at https://api.zabio.ai/v1/responses.
Add a provider to ~/.codex/config.toml and select it:
model = "auto"model_provider = "zabio"
[model_providers.zabio]name = "Zabio"base_url = "https://api.zabio.ai/v1"env_key = "ZABIO_API_KEY"wire_api = "responses"env_key names the environment variable that holds your key. Set it before you start codex:
export ZABIO_API_KEY="insert your zabio.ai key here"Put these settings in your user config (~/.codex/config.toml). A project’s .codex/config.toml cannot set model_provider or model_providers. To give Codex Zabio’s tools as well, see Set up Codex on the MCP page.
Open WebUI
Section titled “Open WebUI”- In Open WebUI, open the admin settings and go to Connections.
- Under OpenAI API, click Add Connection (the + icon).
- In URL, enter
https://api.zabio.ai/v1. - In API Key, paste your Zabio key.
- Click Verify Connection if you want to check it, then Save.
Open WebUI reads the model list from Zabio, so auto and the catalog models show in the model picker. If you start Open WebUI with Docker, you can set the same values with environment variables:
OPENAI_API_BASE_URL=https://api.zabio.ai/v1OPENAI_API_KEY=insert your zabio.ai key hereLibreChat
Section titled “LibreChat”Add Zabio as a custom endpoint in librechat.yaml:
endpoints: custom: - name: "Zabio" apiKey: "${ZABIO_API_KEY}" baseURL: "https://api.zabio.ai/v1" models: default: ["auto", "auto/best", "auto/cheap"] fetch: true titleConvo: true titleModel: "auto/cheap" modelDisplayLabel: "Zabio"Put the key in LibreChat’s .env file:
ZABIO_API_KEY=insert your zabio.ai key hereWith fetch: true, LibreChat loads the full model list from Zabio and uses default when the list cannot be read. To let each user enter their own key in the app, set apiKey: "user_provided".
Continue
Section titled “Continue”Add a model to your Continue config.yaml (~/.continue/config.yaml, or %USERPROFILE%\.continue\config.yaml on Windows):
name: My Configversion: 0.0.1schema: v1
models: - name: Zabio auto provider: openai model: auto apiBase: https://api.zabio.ai/v1 apiKey: insert your zabio.ai key hereContinue reloads the file when you save it.
Set two environment variables and start Aider with the openai/ prefix before the model id:
export OPENAI_API_BASE=https://api.zabio.ai/v1export OPENAI_API_KEY="insert your zabio.ai key here"aider --model openai/autoOn Windows, use setx instead of export and open a new terminal before you run aider. Any catalog model works the same way, for example aider --model openai/claude-opus-5-5.