Repository navigation
Description
Summary
Add support for OpenAI-compatible BYOK endpoints by letting users configure a base URL and custom model ID, so Warp agents can use OpenRouter without requiring a separate first-class provider integration.
Problem
Warp already supports a curated set of built-in models and limited BYOK flows, but there is still no straightforward way for a non-enterprise user to point Warp at an OpenAI-compatible endpoint such as OpenRouter.
That leaves a large gap for users who:
- already pay for OpenRouter or another OpenAI-compatible gateway,
- want to choose from more models than Warp exposes directly,
- need a single routed endpoint for availability, cost control, or provider flexibility,
- or cannot justify paying for both Warp-managed tokens and a separate provider subscription.
This request is intentionally narrower than a full "bring any model/provider" system. The minimal feature needed here is:
- a configurable OpenAI-compatible base URL,
- an API key for that endpoint,
- a custom model identifier string,
- and using that configuration for Warp agent requests when selected.
If Warp supported just that, OpenRouter would work immediately, and the same surface would also unlock many compatible gateways (LiteLLM, internal proxies, Azure-compatible wrappers, etc.) without requiring Warp to add bespoke integrations for each one.
Reproduction steps or desired workflow
- Open
Settings > AI. - Add a new provider type such as
OpenAI-compatible. - Configure:
- Base URL, for example
https://openrouter.ai/api/v1 - API key
- Model ID, for example
anthropic/claude-opus-4.1or another OpenRouter model slug
- Base URL, for example
- Select that provider/model in an Agent profile or model picker.
- Run Warp agent features normally in the terminal.
Artifacts
None attached
Warp version
Unknown
Operating system
macOS
Activity
warp-for-oss commentedon Apr 28, 2026
@Vic563
You can view the triage session on Warp.
Here's what I found while triaging this issue:
Warp currently documents and exposes BYOK for fixed Anthropic, OpenAI, and Google provider keys with Warp-listed models, but not a configurable OpenAI-compatible base URL plus custom model ID. I’ve routed this as an agent/settings enhancement rather than a bug.
Maintainer details
I concluded that feature request to add a configurable OpenAI-compatible BYOK provider with custom base URL and model ID for Warp agent model selection, enabling OpenRouter-style gateways..
Initial triage
This is an enhancement request for OpenAI-compatible BYOK support: a user-configurable base URL, endpoint API key, and custom model ID that can be selected for Warp agent requests. The report is not a bug repro; it describes a missing capability with a concrete desired workflow.
Evidence from current product/code context
app/src/settings_view/ai_page.rsrenders fixed API-key inputs for OpenAI, Anthropic, and Google.crates/ai/src/api_keys.rsstores provider-key fields and request API keys, but there is no accompanying base URL/custom model configuration path.app/src/ai/llms.rs,app/src/ai/execution_profiles/*, andapp/src/terminal/profile_model_selector.rsselect models from server-providedLLMInfochoices rather than allowing arbitrary user-entered model IDs.app/src/ai/agent/api.rsandapp/src/ai/agent/api/impl.rssend selected model IDs and BYOK keys with agent requests, but do not include user-configured endpoint metadata.Likely scope
This likely spans Settings > AI provider configuration, execution profile/model picker UX, persisted local credential/config storage, and agent request/server protocol routing. Because it introduces visible configuration and model-picker behavior, it likely needs product/design input before implementation.
Routing
Suggested labels:
enhancement,area:agent,area:settings-keybindings,needs-mocks,repro:high.No follow-up questions are needed from the reporter for initial triage; the desired workflow is specific enough to route for product/technical scoping.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
robinebers commentedon Apr 28, 2026
yes please! this would make it the opencode go harness number one for me.
Xytronix commentedon Apr 28, 2026
With the open source release this should be top priority
dannyneira commentedon Apr 28, 2026
Thanks for submitting this!
We already have a request tracking this over at #4687
If you could please give it a 👍 and subscribe to that request, it would help us gauge interest. We'll post any updates there, so stay tuned!
We'll be closing this as a duplicate.