Skip to main content

Use open-source models

Use Codex CLI, Claude Code, and ChatGPT desktop with supported open-source models through Unity Gateway. Choosing an open-source model can reduce your coding agent costs.

For Codex CLI and Claude Code, install the Unity Gateway CLI (ug). Then select a model with /model.

Ask your admin to add a compatible open-source model if none is listed in your agent.

Use Codex CLI​

  1. Launch Codex CLI:

    Bash
    ug codex
  2. Enter /model and select an available open-source model, such as GLM 5.3 (system.ai.glm-5-3).

  3. Confirm the reasoning level when prompted.

Your next prompt in the main session uses the selected model.

Codex model picker after entering /model, with GLM 5.3 highlighted

For connection details, see Connect Codex.

Use Claude Code​

  1. Launch Claude Code:

    Bash
    ug claude
  2. Enter /model and select an available open-source model, such as GLM 5.3 (system.ai.glm-5-3).

Your next prompt in the main session uses the selected model. To switch models during the session, enter /model again.

Claude Code model picker listing GLM 5.3 and Kimi K3 alongside Claude models

For connection details, see Connect Claude Code.

Use ChatGPT desktop​

Follow the ChatGPT desktop setup guide, then start a Codex conversation and choose an available open-source model from the app's model picker.

ChatGPT desktop model picker listing system.ai.glm-5-3 and system.ai.kimi-k3

Available models and features vary by workspace, permissions, and agent. See Detailed list of models supported by Databricks Foundation Model APIs and Select models or use Smart Routing.