Skip to main content

IDE Integration

Use your Drawbridge API key inside your editor. Any tool that speaks the OpenAI-compatible API works today — set the base URL, paste your key, and pick a model.

What every tool needs

Base URL
https://api.drawbridge-tech.com/v1
API key
Your key from the customer console.
Model
smart, or a specific id like claude-opus-4-8 (see Models).

Select "OpenAI" or "OpenAI Compatible" whenever a tool asks for a provider type. Some editors append /v1 automatically — if a request 404s, try the base URL with and without the /v1 suffix.

Available

Cursor

Cursor lets you bring your own OpenAI-compatible key for the chat sidebar. Add Drawbridge as a custom model.

  1. Open Settings → Models (or Cursor Settings → Models).
  2. Scroll to the OpenAI API Key section and turn it on.
  3. Enable "Override OpenAI Base URL" and set it to https://api.drawbridge-tech.com/v1
  4. Paste your Drawbridge API key as the OpenAI API key.
  5. Under "Model Names", add a Drawbridge model id — e.g. claude-opus-4-8 or smart — then click Verify.
  6. Select that model in the chat input and start a conversation.

Note: Cursor routes custom OpenAI keys through its own servers, and using a custom key disables Cursor Tab and some agent features. The chat sidebar works as expected.

Available

Cline / Roo Code (VS Code)

Cline and its fork Roo Code expose a generic OpenAI-Compatible provider — the most reliable way to use Drawbridge in VS Code.

  1. Install the Cline (or Roo Code) extension from the VS Code Marketplace.
  2. Open the extension's settings (gear icon in the Cline panel).
  3. Set API Provider to "OpenAI Compatible".
  4. Set Base URL to https://api.drawbridge-tech.com/v1
  5. Paste your Drawbridge API key as the API Key.
  6. Set Model ID to a Drawbridge model — e.g. claude-sonnet-4-6 — and save.
Available

Continue (VS Code / JetBrains)

Continue is configured from a YAML/JSON file. Add Drawbridge as an OpenAI-provider model.

  1. Open the Continue config (config.yaml — command palette → “Continue: Open config”).
  2. Add a model entry pointing at Drawbridge (see below).
  3. Reload the Continue panel and pick the model from the selector.
models:
  - name: Drawbridge (Claude)
    provider: openai
    model: claude-opus-4-8
    apiBase: https://api.drawbridge-tech.com/v1
    apiKey: your-api-key
Available

GitHub Copilot (BYOK)

Recent Copilot Chat builds support bringing your own OpenAI-compatible model.

  1. Open the Copilot Chat model picker → “Manage Models…”.
  2. Choose the OpenAI-compatible / custom provider option.
  3. Set the base URL to https://api.drawbridge-tech.com/v1 and paste your Drawbridge key.
  4. Add a model id (e.g. smart) and select it in Copilot Chat.

Note: BYOK availability varies by Copilot version and plan. If you don't see a custom provider option, use Cline or Continue instead.

Available

Codex CLI

Point the Codex CLI at Drawbridge by adding a custom model provider in ~/.codex/config.toml.

  1. Export your key: export DRAWBRIDGE_API_KEY=your-api-key
  2. Add the provider block below to ~/.codex/config.toml.
  3. Run Codex with the drawbridge provider/model.
model = "smart"
model_provider = "drawbridge"

[model_providers.drawbridge]
name = "Drawbridge"
base_url = "https://api.drawbridge-tech.com/v1"
env_key = "DRAWBRIDGE_API_KEY"
wire_api = "chat"

Note: Both the Responses API (Codex's default) and Chat Completions (wire_api = "chat") are supported. Either wire_api value works.

Available

Claude Code

Claude Code connects through the Anthropic Messages API. Point it at Drawbridge with two environment variables — set them in your shell or in ~/.claude/settings.json.

  1. Set the base URL: export ANTHROPIC_BASE_URL=https://api.drawbridge-tech.com (no /v1 suffix).
  2. Set your key: export ANTHROPIC_AUTH_TOKEN=your-api-key.
  3. Run claude as usual — requests route through Drawbridge.
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.drawbridge-tech.com",
    "ANTHROPIC_AUTH_TOKEN": "your-api-key"
  }
}

Related

  • Quickstart — Send your first request with any SDK
  • Models — Model ids, context windows, and pricing
  • API Reference — Endpoints, auth, and streaming