Skip to content
AI tools
AI tools

AI connection setup

Choose a tool, API service and model ID to prepare a reviewable configuration.

Copy the exact ID from the selected service's model list. A directory name is not necessarily an API ID. OpenRouter ↗

This page generates examples only. It does not receive keys, connect to accounts or verify model access. Running API examples may incur charges.

Results

Check model ID and access, back up your config and merge the fields below. Set the key in your tool or local environment, then test with a small request. Do not overwrite existing settings.

OpenCode: merge this model-selection snippet into opencode.json. Use /connect for the service and /models to verify availability. Generated against the official schema at the check date below.

OpenRouter · Official documentation ↗

opencode · Official documentation ↗

Rules checked · 2026-11-11

Model directory →

Official documentation

This page generates examples only. It does not receive keys, connect to accounts or verify model access. Running API examples may incur charges.

OpenCode: merge this model-selection snippet into opencode.json. Use /connect for the service and /models to verify availability. Generated against the official schema at the check date below.

Cline: open Settings → API Provider, select the service below, enter its API key locally and choose the model. Labels may vary by version.

The curl example is for Bash / zsh. Set the named environment variable securely on your computer first. Nothing runs automatically; use Bash on Windows rather than pasting into PowerShell.

OpenCode · Cline · OpenRouter · DeepSeek

Rules checked · 2026-11-11