Setting names can differ in other client versions.
Connection values
Get your key from the Pareto dashboard. Keep it outside source control. Use the base URL above, not the full
/chat/completions URL.
OpenCode
- Make your Pareto key available as
PARETO_API_KEYin the environment that starts OpenCode. - Merge this configuration into
~/.config/opencode/opencode.json. Keep your existing providers and settings.
- Run
opencode models pareto. - Confirm that the command lists
pareto/z-ai/glm-5.3-flash. - Start OpenCode.
pareto/z-ai/glm-5.3-flash, pareto selects the OpenCode provider. OpenCode sends z-ai/glm-5.3-flash to Pareto. This configuration uses Pareto for model and small_model. See OpenCode’s custom-provider guide.
OMP
OMP is the Oh My Pi coding agent. It is separate from the pi client below.- Make your Pareto key available as
PARETO_API_KEYin the environment that starts OMP. - Merge this configuration into
~/.omp/agent/models.yml. Keep your existing providers.
- Run
omp models pareto. - Confirm that the command lists
z-ai/glm-5.3-flash. - Start OMP with the Pareto model.
apiKey value names the environment variable. The authHeader value sends the key as a bearer token. See OMP’s provider guide.
Kilo
These steps use Kilo’s provider settings UI.- Open Kilo Settings.
- Open Providers.
- Select Custom provider.
- Set Provider ID to
pareto. - Set Display name to
Pareto. - Select OpenAI Compatible for Provider API.
- Enter the Pareto base URL and your key.
- Add or select
z-ai/glm-5.3-flashunder Models. - Save the provider and select this model for your session.
In the reported Kilo test, the custom model’s context and output limits resolved to
0. This disables automatic context compaction. Successful connection does not resolve this issue. Pareto has not yet published the deployment limits needed to complete this configuration. Do not use guessed values. See Kilo’s custom-model guide.Cline
- Open Cline’s settings.
- Select OpenAI Compatible for API Provider.
- Set Base URL to
https://api.paretoinference.com/v1. - Enter your Pareto API Key.
- Set Model or Model ID to
z-ai/glm-5.3-flash. - Save the settings.
pi
- Make your Pareto key available as
PARETO_API_KEYin the environment that starts pi. - Add the
paretoprovider below to~/.pi/agent/models.json. Keep any existing providers.
- Start pi from that environment.
- Run
/modeland select GLM 5.3 Flash (Pareto).
/model. The $ in $PARETO_API_KEY tells pi to read the environment variable. See pi’s custom-model guide.
Hermes
- Run this command in your terminal, outside an active Hermes chat:
- Select Custom endpoint (self-hosted / VLLM / etc.).
- Enter
https://api.paretoinference.com/v1as the API base URL. - Enter your Pareto API key.
- Enter
z-ai/glm-5.3-flashas the model name. - Choose Chat Completions for API compatibility, or accept Auto-detect. Auto-detect worked with the Pareto URL in the reported test.
- Enter a display name, such as
Pareto. - If the wizard asks for context length, use a confirmed Pareto deployment limit. Do not enter a guessed value. Pareto has not yet published this value.
- Complete the setup and start a new Hermes session.
hermes model to add the endpoint. The /model command inside a chat switches between providers that are already configured. See Hermes’ custom-provider guide.
OpenClaw
- Make
PARETO_API_KEYavailable to the OpenClaw process. A background service must receive the variable in its own environment. - Merge this configuration into
~/.openclaw/openclaw.json. Keep your existing providers and other settings.
- Start a new session after OpenClaw loads the configuration.
pareto/ prefix selects the provider inside OpenClaw. The API model ID remains z-ai/glm-5.3-flash. Use openai-completions for this connection. See OpenClaw’s custom-provider guide and configuration guide.
Aider
- Make your Pareto key available as
PARETO_API_KEY. - Run these commands in your repository.
openai/ prefix. It selects the OpenAI-compatible API in Aider. Do not use the openrouter/ or zai/ model names that Aider suggests. The --no-show-model-warnings option hides the unknown-model warning. See Aider’s OpenAI-compatible guide.
Goose
- Make your Pareto key available as
PARETO_API_KEY. - Save this configuration as
~/.config/goose/custom_providers/pareto.json.
- Select the provider and model.
- Start Goose with the developer extension. This extension gives Goose its file and shell tools.
/chat/completions URL. Goose sends a summary request at the same time as your first message. This request counts toward the limit of requests at the same time. Goose retries HTTP 429 responses. See Goose’s custom-provider guide.
Crush
- Make your Pareto key available as
PARETO_API_KEY. - Add this configuration to
~/.config/crush/crushrc.
- Start Crush and select
pareto/z-ai/glm-5.3-flash. For one prompt, runcrush run -m pareto/z-ai/glm-5.3-flash "Say hello.".
--type openai-compat. Crush reserves --type openai for OpenAI. Crush sends a title request at the same time as your first message. This request counts toward the limit of requests at the same time. Crush retries HTTP 429 responses. See Crush’s documentation.
Qwen Code
- Make your Pareto key available as
PARETO_API_KEY. - Run these commands in the shell that starts Qwen Code.
--auth-type openai. It selects Chat Completions, the tested setting. The openai-responses setting is not tested. See Qwen Code’s authentication guide.
Continue
This configuration works in the Continue editor extension and in the Continue CLI (cn).
- Add your Pareto key to
~/.continue/.env.
- Merge this model into
~/.continue/config.yaml. Keep your existing models.
- Select GLM 5.3 Flash (Pareto) in Continue. For the CLI, run
cn --config ~/.continue/config.yaml.
~/.continue/.env. See Continue’s OpenAI provider guide.
ZCode
ZCode is the Z.ai desktop coding app. Add Pareto as a custom provider. Do not use the built-in Z.ai provider, because it connects to Z.ai.- Open ZCode Settings and select Model settings.
- Click Add provider, then select Create custom provider.
- Set Base URL to
https://api.paretoinference.com/v1. - Set API format to Chat completions (/chat/completions).
- Enter your Pareto key in API key.
- Click Add model and enter
z-ai/glm-5.3-flashas Model ID. Keep Smart configuration on. It fills in the context window and output limit. - Open Advanced settings. Under Input types, clear Image, Video, and PDF.
- Replace the Reasoning parameter mapping with this mapping, then click Save.
- Optional: open the provider’s More menu, select Rename, and enter
Pareto. - Open a project and select
z-ai/glm-5.3-flashfrom the provider in the chat box.
thinking, enable_thinking, and reasoning to each request. Pareto rejects these fields with HTTP 400. The mapping above sends only reasoning_effort. Pareto has tested text input only.
ZCode sends its task-title request without streaming. Pareto serves streamed requests only, so this request fails with HTTP 400 streaming_only. ZCode then uses your first message as the task title. Chat and tool calls are not affected. See ZCode’s model guide.
Claude Code
Claude Code sends Anthropic Messages requests to/v1/messages. Pareto serves this endpoint, so Claude Code connects directly.
- Set
ANTHROPIC_AUTH_TOKENto your Pareto key. - Start Claude Code with these variables.
/v1. Claude Code adds /v1/messages. Set all four model variables. Without them, Claude Code requests Claude model names, which Pareto does not serve. With a key from the dashboard, Claude Code then retries for about three minutes and shows Failed to authenticate. API Error: 401. Claude Code can warn that the model is not recognized. You can ignore this warning.
Codex
Codex sends Responses API requests to/v1/responses. Pareto serves this endpoint, so Codex connects directly.
- Set
PARETO_API_KEYto your Pareto key. - Merge this provider into
~/.codex/config.toml.
- Start Codex.
Pareto-Ignored-Parameters response header. To remove the tool, set web_search = "disabled". Codex can warn that model metadata is not found. You can ignore this warning.
Check the connection
After each setup, send a short message and confirm that the selected model replies. Then use a test folder and ask the agent to read a small text file. Confirm that the tool runs and the agent uses its result. A text reply alone does not verify tool calling. If either check fails, see Troubleshooting. Send the client version and error details to your Pareto contact. Do not send your API key.Other API formats
Pareto serves OpenAI Chat Completions, the OpenAI Responses API (/v1/responses), and Anthropic Messages (/v1/messages). See Codex for the Responses API setup and Claude Code for the Messages setup.