Create a key under Private AI → API Keys in the Phala dashboard. For the shell examples below, set
PHALA_AI_API_KEY in your local environment.
Every model on this endpoint runs in a TEE. These clients do not verify attestation locally; use Private AI Proxy when you need a verified channel on your machine.
Continue
Add a model to your local~/.continue/config.yaml using Continue’s OpenAI-compatible configuration. Keep any other models already in the file:
Zed
Add this provider underlanguage_models in your settings file using Zed’s OpenAI-compatible endpoint configuration. Enter your Phala API key through Settings → AI → LLM Providers:
GitHub Copilot (VS Code BYOK)
Run Chat: Manage Language Models, choose Add Models → Custom Endpoint, name the groupPhala, enter your Phala API key, and select Chat Completions. In the generated chatLanguageModels.json, keep the API-key input reference created by VS Code and configure the model as below. See the Custom Endpoint documentation. This example uses the model’s context window from the catalog and reserves 65,536 tokens for output, within the model’s 1,048,576-token output maximum:
Aider
Use Aider’s OpenAI-compatible endpoint support. Theopenai/ prefix tells Aider which API format to use:
Goose
Save the following asphala.json in Goose’s custom_providers directory: ~/.config/goose/custom_providers/ on macOS/Linux, or %APPDATA%\Block\goose\config\custom_providers\ on Windows. If you set GOOSE_PATH_ROOT, use <GOOSE_PATH_ROOT>/config/custom_providers/ instead. Create the directory if needed:
PHALA_AI_API_KEY set, run goose configure, choose Configure Providers → Phala, and select z-ai/glm-5.3. Dynamic discovery also lists the non-chat jaredpalmer/kev-4b decision model; choose a chat model.
AnythingLLM
In Settings → AI Providers → LLM, select Generic OpenAI and enter these provider settings, then select Save changes. Use the model’scontext_length from the catalog when choosing another model:
Cherry Studio
Open Settings → Model Services → + Add Provider and add a custom provider with the values below. Enter the base URL in the OpenAI-compatible endpoint/API address row. Select Add, then Get model list and addz-ai/glm-5.3:
LobeHub
Open App Settings → AI Providers and create a custom AI provider with the values below. Enable the provider and fetch or addz-ai/glm-5.3 in its model list, then select it in your Agent settings:
Jan
In Jan Desktop, open Settings → Model Providers → Add Provider, choose OpenAI-compatible, and set Provider name toPhala, Base URL to https://inference.phala.com/v1, and API key to your Phala key. Select Create, then select z-ai/glm-5.3 from the model list. For tool use, edit the model and enable Tools under Capabilities.
For Jan Agent CLI, save a provider and start Jan with it:

