Skip to main content

Overview

Zencoder supports custom agents, allowing you to connect your own models, private deployments, or third-party inference endpoints. Custom models appear in the model selector alongside built-in options.

Use Cases

  • Local models: Run open-source models via Ollama or vLLM on your machine
  • Private cloud: Use Azure OpenAI, Vertex AI, or AWS Bedrock endpoints
  • Air-gapped environments: Point to inference servers inside your network
  • Fine-tuned models: Use models you’ve trained on your own data

Configuration

Custom models are configured via settings.json. This file works at two levels:
  • Machine-wide: ~/.zencoder/settings.json
  • Per project: .zencoder/settings.json (overrides machine-wide)

Example: Ollama (Local)

Example: Azure OpenAI

Example: Google Gemini

For Google Gemini, set the type to gemini. Note that baseUrl is not required when using the direct Gemini integration.

Example: xAI (Grok)

To use xAI’s Grok models, use the openai-compatible type and specify the xAI API base URL.

Hiding Default Models

Set useDefaultProviders to false to only show your custom models in the selector:

Requirements

Custom endpoints must support:

Full Reference

See Custom Models Configuration for the complete settings reference, and Private Deployments for air-gapped setup.

Selecting a Custom Model in Chat

In the chat composer, click the preset dropdown (the gear icon) and select Custom. Then use the model dropdown next to Zencoder to choose your model.
Preset dropdown showing Custom option selectedModel dropdown showing available models including Auto+, Claude, Gemini, GPT, and Grok options

Next Steps

Custom Models Config

Full configuration reference

Private Deployments

Air-gapped and on-premise setup