Skip to main content
Cline is a VS Code coding assistant with chat, terminal integration, and multi-file editing. Configure it to use Passy so you can route requests through a single API.

Quick Configuration

Use this setup for gpt-4o, gpt-4o-mini, gemini-1.5-pro, gemini-1.5-flash, passy/deepseek-v3, passy/mistral-nemo, and other models returned by https://api.passy.ai/v1/models.
1

Open Cline Settings

  1. Open VS Code.
  2. Run Cline: Open Settings from the Command Palette.
2

Set Provider

  1. Select OpenAI.
  2. Set Base URL to https://api.passy.ai/v1.
  3. Paste your Passy API key from dash.passy.ai/keys.
3

Choose Model

Start with gpt-4o-mini for a fast default, or switch to another model ID from the live models endpoint.
{
  "cline.apiProvider": "openai",
  "cline.openai": {
    "apiKey": "sk-passy-your-api-key",
    "baseURL": "https://api.passy.ai/v1"
  },
  "cline.defaultModel": "gpt-4o-mini"
}
For the OpenAI-compatible setup, keep /v1 in the base URL.
Use exact model IDs as returned by the API.
Use CaseSetupRecommended Model
Quick coding tasksOpenAI-compatiblegpt-4o-mini
General-purpose codingOpenAI-compatiblegpt-4o
Long-context workOpenAI-compatiblegemini-1.5-pro
Low-cost generationOpenAI-compatiblepassy/mistral-nemo
Open source codingOpenAI-compatiblepassy/llama-3.1-70b-instruct
Strong reasoningOpenAI-compatiblepassy/deepseek-v3
Claude workflowAnthropic-compatibleclaude-3-sonnet-20240229
Highest Claude tierAnthropic-compatibleclaude-3-opus-20240229
Browse the public catalog at passy.ai/models or fetch the live OpenAI-compatible list from https://api.passy.ai/v1/models.

Verification

After saving your settings:
  1. Open the Cline panel.
  2. Start a new chat.
  3. Ask: What model are you using?
  4. Ask: Write a hello world function in Python.
You should get a normal response from the configured Passy model. To verify that your API key and model list are working outside VS Code:
curl -H "Authorization: Bearer $PASSY_API_KEY" \
  https://api.passy.ai/v1/models

Common Configurations

Fast Default

{
  "cline.apiProvider": "openai",
  "cline.openai": {
    "apiKey": "${env:PASSY_API_KEY}",
    "baseURL": "https://api.passy.ai/v1"
  },
  "cline.defaultModel": "gpt-4o-mini"
}

Claude Setup

{
  "cline.apiProvider": "anthropic",
  "cline.anthropic": {
    "apiKey": "${env:PASSY_API_KEY}",
    "baseURL": "https://api.passy.ai"
  },
  "cline.defaultModel": "claude-3-sonnet-20240229"
}

DeepSeek Setup

{
  "cline.apiProvider": "openai",
  "cline.openai": {
    "apiKey": "${env:PASSY_API_KEY}",
    "baseURL": "https://api.passy.ai/v1"
  },
  "cline.defaultModel": "passy/deepseek-v3"
}

Troubleshooting

  1. Check that the provider matches the base URL format.
  2. For OpenAI-compatible config use https://api.passy.ai/v1.
  3. For Anthropic-compatible config use https://api.passy.ai.
  4. Confirm the model ID exists in https://api.passy.ai/v1/models.
  1. Regenerate or copy the key again from dash.passy.ai/keys.
  2. Reload VS Code after changing environment variables.
  3. Test the key manually with curl against https://api.passy.ai/v1/models.
Make sure the provider is anthropic and the base URL is https://api.passy.ai without /v1.
Make sure the provider is openai and the base URL is https://api.passy.ai/v1.
Check Cline’s approval prompts inside VS Code and confirm the workspace is trusted. If terminal actions are blocked, review your Cline and VS Code terminal permissions.

Best Practices

Use Env Vars

Keep the API key in ${env:PASSY_API_KEY} instead of hardcoding it in settings.

Use Exact IDs

Copy model IDs exactly as returned by the Passy models endpoint.

Pick the Right Provider

Use openai for /v1 models and anthropic for Claude-style requests.

Start with Fast Models

gpt-4o-mini and passy/mistral-nemo are good default starting points.

Next Steps

Models Catalog

Browse currently available model IDs.

Cursor Setup

Configure Cursor with the same Passy endpoint.

Roo Code Setup

Use Passy with Roo Code as well.

Kilo Code Setup

Configure another coding assistant with Passy.

API Reference

Review authentication and request format details.

Dashboard

Manage keys and account settings.