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 likeclaude-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.
Cursor
Cursor lets you bring your own OpenAI-compatible key for the chat sidebar. Add Drawbridge as a custom model.
- Open Settings → Models (or Cursor Settings → Models).
- Scroll to the OpenAI API Key section and turn it on.
- Enable "Override OpenAI Base URL" and set it to https://api.drawbridge-tech.com/v1
- Paste your Drawbridge API key as the OpenAI API key.
- Under "Model Names", add a Drawbridge model id — e.g. claude-opus-4-8 or smart — then click Verify.
- 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.
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.
- Install the Cline (or Roo Code) extension from the VS Code Marketplace.
- Open the extension's settings (gear icon in the Cline panel).
- Set API Provider to "OpenAI Compatible".
- Set Base URL to https://api.drawbridge-tech.com/v1
- Paste your Drawbridge API key as the API Key.
- Set Model ID to a Drawbridge model — e.g. claude-sonnet-4-6 — and save.
Continue (VS Code / JetBrains)
Continue is configured from a YAML/JSON file. Add Drawbridge as an OpenAI-provider model.
- Open the Continue config (config.yaml — command palette → “Continue: Open config”).
- Add a model entry pointing at Drawbridge (see below).
- 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-keyGitHub Copilot (BYOK)
Recent Copilot Chat builds support bringing your own OpenAI-compatible model.
- Open the Copilot Chat model picker → “Manage Models…”.
- Choose the OpenAI-compatible / custom provider option.
- Set the base URL to https://api.drawbridge-tech.com/v1 and paste your Drawbridge key.
- 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.
Codex CLI
Point the Codex CLI at Drawbridge by adding a custom model provider in ~/.codex/config.toml.
- Export your key: export DRAWBRIDGE_API_KEY=your-api-key
- Add the provider block below to ~/.codex/config.toml.
- 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.
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.
- Set the base URL:
export ANTHROPIC_BASE_URL=https://api.drawbridge-tech.com(no/v1suffix). - Set your key:
export ANTHROPIC_AUTH_TOKEN=your-api-key. - Run
claudeas 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