Skip to content

External Tools#

Connect external AI tools to OptScale AI through a governed access layer. All supported integrations use the same OpenAI-compatible LLM proxy (llm_proxy/<organization_id>/v1) and an employee virtual key from AI Access, referred to as the API key throughout this guide.

Before you start, complete baseline setup in First Steps (organization, provider, etc). For Admin UI context, see Core Services — AI Access and Providers. To migrate existing application code from a direct vendor API or another gateway, see Switch to OptScale AI Gateway.

Table 1: OptScale AI external tool guides
Integration Guide
OpenCode Connect OpenCode
Cursor Connect Cursor
Claude Code / Claude Desktop Connect Claude

Get connection values from Chat#

Use Chat to obtain the Base URL, API key, and Model name required for your integration. The dialog displays the values expected by the LLM proxy for your current selection, so there is no need to construct the URL or model identifier manually.

Steps

  1. Open Chat. In the top header, select the Provider and Model you plan to use in the external tool.
  2. Click Connect this model to external tools Connect to external tools control in Chat in the left sidebar—see Interface Overview — Connect this model to external tools.
  3. Open the tab corresponding to your integration. Use Base URL, API key, and Model name when set setitngs of the connection.

Model names#

A model name uniquely specifies a model available through OptScale AI. Examples:

anthropic/claude-sonnet-4-0
anthropic/claude-opus-4-0
openai/gpt-4.1
openai/gpt-4o
ollama/qwen3:32b
ollama/deepseek-r1:70b

Model names are used to configure external tools and clients. For connection instructions, see Cursor, OpenCode, and Claude Code and Claude Desktop.

To find an available model name, open OptScale AI Chat, select the required provider and model, and then click Connect this model to external tools. Open the tab corresponding to your integration and copy the value shown in the Model name field.

Shared Limitations#

All external tool integrations use the OptScale AI Gateway and therefore share the same requirements and limitations.

  • The gateway URL must be accessible over HTTPS and use a trusted TLS certificate.
  • Some features may require models that support specific capabilities, such as tool calling. Available functionality depends on the selected model.
  • When policies are configured, requests made through external tools are subject to the same policy evaluation and enforcement as requests made through the Chat interface.
  • Access to providers and models is controlled by the user's permissions and allowed provider configuration.

After connecting external tools, you may want to: