AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

Connecting Poe OpenAI-Compatible API to Cursor, Cline, and Continue: The Complete Developer Guide

Yu Jinquan · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

Balancing multiple state-of-the-art AI models—such as Anthropic Claude 3.5 Sonnet for architectural refactoring, OpenAI GPT-4o for logical synthesis, and DeepSeek-V3 for rapid code drafting—has become standard practice for modern full-stack engineers. However, managing individual API accounts across OpenAI, Anthropic, and other providers creates painful administrative friction: separate credit card balances, multiple monthly invoices, unpredictable billing spikes from agentic loops, and fragmented secret management.

Poe provides an official OpenAI-compatible endpoint (https://api.poe.com/v1) that fundamentally solves this operational overhead. Instead of treating Poe merely as a web chat interface, software developers can repurpose their single Poe subscription and pooled compute points into a centralized API gateway for IDE coding assistants.

At 365Finds, our commercial verdict is unequivocal: for individual full-stack developers and agile software engineering teams, routing Cline and Continue through Poe's OpenAI-compatible API is the most cost-predictable and friction-free multi-model setup available today. This guide walks through the exact mechanics of generating Poe credentials, redirecting Base URLs across Cursor, Cline, and Continue, implementing a compute-saving dual-engine architecture, and avoiding common pitfalls.


1. How Poe's OpenAI-Compatible Endpoint Operates

Poe exposes a standard REST interface that implements the OpenAI API protocol specification. Any developer tool, IDE extension, or CLI client that supports custom OpenAI Base URLs can communicate directly with Poe without requiring third-party proxy bridges.

Technical Parameters & Endpoints

ParameterSpecificationNotes
Base URLhttps://api.poe.com/v1Must include /v1 path suffix
AuthenticationBearer <POE_API_KEY>Standard HTTP Authorization header
Primary Endpoint/v1/chat/completionsStandard chat and agent completions
Model Discovery/v1/modelsReturns available bot handles
Rate Limits500 requests/minuteEnforced per user account
Billing UnitCompute PointsDeducted directly from your active Poe account balance

Model Naming Convention

Unlike native provider APIs that use IDs like claude-3-5-sonnet-20241022 or gpt-4o-2024-08-06, Poe routes requests based on exact Poe bot handles. For example:

Case sensitivity and exact spelling are mandatory; sending an unrecognized string returns an invalid model error.

Step 1: Generate Your Poe API Key

  1. Log into your account at Poe.
  2. Navigate directly to the developer key settings at Poe API Keys or access your Profile Settings.
  3. Click Create API Key, give it a descriptive name (e.g., ide-coding-gateway), and copy the generated token string (poe-...).

Step 2: Sanity Check via cURL

Before modifying IDE configurations, verify your connection using a quick terminal request:

curl -X POST https://api.poe.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_POE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Claude-3.5-Sonnet",
    "messages": [
      {"role": "user", "content": "Write a TypeScript function to validate UUID v4."}
    ]
  }'

If your API key and point balance are active, the response will return a standard OpenAI-formatted JSON payload containing the generated code.


2. Integrating Poe with Cline (Autonomous Agent in VS Code)

Cline (formerly Claude Dev) operates as an autonomous coding agent directly inside Visual Studio Code. It creates files, runs terminal tests, inspects linter errors, and iterates until complex coding tasks are completed. Because Cline executes intensive multi-turn loops, running it against raw Anthropic API keys can easily rack up $5 to $10 on a single complex feature. Routing Cline through Poe caps your financial exposure within your monthly compute points allowance.

Step-by-Step Cline Configuration

  1. Install the Cline extension from the VS Code Marketplace.
  2. Click the Cline icon in the VS Code Activity Bar to reveal the side panel.
  3. Click the Settings (⚙️) gear icon in the top right corner of the Cline panel.
  4. Configure the provider fields as follows:
    • API Provider: Select OpenAI Compatible.
    • Base URL: Enter https://api.poe.com/v1.
    • API Key: Paste your token from poe.com/api/keys.
    • Model ID: Enter Claude-3.5-Sonnet (recommended for autonomous file operations and refactoring) or DeepSeek-V3 for economical runs.
  5. In the Context Window field, set the parameter to 200000 tokens if using Claude 3.5 Sonnet to ensure Cline has full visibility into your workspace context.
  6. Click Done or save settings, start a new task, and issue a prompt such as: "Analyze src/utils.ts and add comprehensive Vitest unit tests."

Cline will execute file inspections, invoke terminal commands, and draft changes using Poe as its foundational intelligence engine.


3. Integrating Poe with Continue (VS Code & JetBrains)

Continue is an open-source AI code assistant supporting both Visual Studio Code and JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm). Continue excels because it architecturally decouples interactive Chat and Inline Edit from Tab Autocomplete.

The 365Finds Architectural Rule: Decouple Autocomplete from Chat

[!IMPORTANT] Never route high-frequency Tab autocomplete through frontier models on Poe. Autocomplete triggers on every pause and keystroke, sending requests continuously. Doing this against Poe will exhaust hundreds of thousands of compute points in hours on simple syntax predictions.

365Finds strongly advises a dual-engine architecture:

  1. Use Poe for high-reasoning tasks: interactive Chat (Cmd+L), inline code edits (Cmd+I), and architecture refactoring.
  2. Use a local Ollama instance (e.g., qwen2.5-coder:1.5b or deepseek-coder:1.3b) or lightweight provider for zero-latency, zero-cost Tab autocomplete.

Configuration via config.yaml (Continue v1.0+ Schema)

Open your Continue configuration file by clicking the gear icon in the Continue pane, or manually editing ~/.continue/config.yaml:

name: 365Finds Poe Unified Stack
version: 0.0.1
schema: v1

models:
  - name: Claude 3.5 Sonnet (Poe)
    provider: openai
    model: Claude-3.5-Sonnet
    apiBase: https://api.poe.com/v1
    apiKey: YOUR_POE_API_KEY
    roles:
      - chat
      - edit

  - name: GPT-4o (Poe)
    provider: openai
    model: GPT-4o
    apiBase: https://api.poe.com/v1
    apiKey: YOUR_POE_API_KEY
    roles:
      - chat
      - edit

  - name: DeepSeek V3 (Poe)
    provider: openai
    model: DeepSeek-V3
    apiBase: https://api.poe.com/v1
    apiKey: YOUR_POE_API_KEY
    roles:
      - chat

tabAutocompleteModel:
  title: Local Fast Autocomplete
  provider: ollama
  model: qwen2.5-coder:1.5b
  apiBase: http://localhost:11434

Legacy Configuration via config.json

If your environment utilizes the legacy JSON format (~/.continue/config.json), configure your models array:

{
  "models": [
    {
      "title": "Claude 3.5 Sonnet (Poe)",
      "provider": "openai",
      "model": "Claude-3.5-Sonnet",
      "apiBase": "https://api.poe.com/v1",
      "apiKey": "YOUR_POE_API_KEY"
    },
    {
      "title": "GPT-4o (Poe)",
      "provider": "openai",
      "model": "GPT-4o",
      "apiBase": "https://api.poe.com/v1",
      "apiKey": "YOUR_POE_API_KEY"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Qwen 2.5 Coder 1.5B",
    "provider": "ollama",
    "model": "qwen2.5-coder:1.5b",
    "apiBase": "http://localhost:11434"
  }
}

This structure guarantees that your heavy conversational reasoning pulls from Poe's frontier pool while your keystroke completions stay instantaneous and completely free.


4. Integrating Poe with Cursor

Cursor is a popular AI-native fork of VS Code. Cursor provides an integrated setting to override the default OpenAI Base URL with an arbitrary endpoint.

Step-by-Step Cursor Setup

  1. Open Cursor and access settings via shortcut Ctrl + , (Windows/Linux) or Cmd + , (macOS), or press Ctrl + Shift + J / Cmd + Shift + J to open Cursor Settings.
  2. Click on Models in the left navigation sidebar.
  3. Under the API Keys section, toggle the OpenAI API Key option to ON.
  4. Paste your token from Poe API Keys into the OpenAI API Key field.
  5. Locate the toggle Override OpenAI Base URL, turn it ON, and enter: https://api.poe.com/v1
  6. Under the Model Names list, click + Add Model. Type the exact Poe bot handle you wish to use (such as Claude-3.5-Sonnet, GPT-4o, or DeepSeek-V3) and press Enter.
  7. Toggle off default model checkboxes that are not mapped on Poe to avoid accidental routing errors.
  8. Test the integration by opening Cursor Chat (Cmd + L or Ctrl + L), selecting your added Poe model from the dropdown, and submitting a code query.

Critical Nuances in Cursor


5. Comparative Evaluation: Cursor vs. Cline vs. Continue with Poe

To help engineering leads and developers choose the ideal configuration, 365Finds evaluated each integration across five practical dimensions:

DimensionCline + PoeContinue + PoeCursor + Poe
Primary StrengthAutonomous multi-file execution with fixed point riskDecoupled dual-engine architecture (Poe Chat + Local Tab)Polished editor UI and native codebase indexing
Setup ComplexityVery Low (GUI provider dropdown)Low (Clean YAML/JSON config file)Low to Medium (Base URL toggle + manual model tags)
Autocomplete ControlN/A (Agent focused)Excellent (Fully isolated from Poe points)Rigid (Cursor Tab ignores external Base URL)
Compute Point Burn RiskModerate to High (Iterative agent loops)Very Low (Points reserved strictly for Chat/Edit)Moderate (Heavy system prompts in Composer)
365Finds RecommendationBest for Autonomous Task DeliveryBest Everyday Coding StackBest for UI-Centric Engineers

6. Production Best Practices & Operational Pitfalls

1. Guard Against Exact Model Handle Typos

Poe handles are case-sensitive and must conform to Poe's internal bot naming convention. A typo such as claude-3-5-sonnet (lowercase or hyphenated) instead of Claude-3.5-Sonnet will result in an immediate 404 Bot Not Found or Model Not Supported error from Poe's gateway.

2. Monitor Compute Point Consumption

Different models on Poe charge vastly different compute point tiers. For example, queries against Claude-3.5-Sonnet or Claude-3.7-Sonnet consume significantly more points than queries routed to DeepSeek-V3 or GPT-4o-mini.

3. Maintain Secret Hygiene

Never commit your ~/.continue/config.yaml or workspace-level .vscode/settings.json into public Git repositories. Because a Poe API key grants full programmatic access to your account's compute points balance, keep the key stored in environment variables (export POE_API_KEY=...) or within your local, uncommitted user configuration directories.


7. The 365Finds Institutional Verdict

For developers weary of juggling Anthropic Console credits, OpenAI prepaid tiers, and separate billing dashboards, configuring Poe's OpenAI-compatible API (https://api.poe.com/v1) transforms an existing Poe subscription into an enterprise-grade multi-model routing engine.

365Finds recommends pairing Poe with Continue for standard daily development—leveraging free local autocomplete alongside Poe's frontier reasoning—and using Poe with Cline when you require an autonomous agent to execute complex feature tickets under a predictable points budget.


References