Tooling · 2026-08-30

Warp custom inference 2026
OpenAI Chat Completions, public URL

As of 2026-10-20, Warp's docs require a custom inference endpoint to sit at a public URL and implement OpenAI Chat Completions (POST /v1/chat/completions). Next: Settings → search inference endpoint, paste https://api.qcode.cc/openai/v1 and a QCode key, copy a GPT or GLM / Kimi / DeepSeek / Qwen model id from /models (Claude does not work here), then pick that model — not Auto.

Updated 2026-10-20

#warp#custom inference#BYOK#OpenAI-compatible

Takeaways

/v1/chat/completions

Protocol the endpoint must implement

Official: a custom inference endpoint must implement the OpenAI Chat Completions API.

0

Warp AI credits when that model is selected

Official: selecting an endpoint-routed model does not consume Warp AI credits; the endpoint bills inference. Auto still consumes Warp credits.

Public HTTPS

Network rule

Official: requests go through Warp’s servers, so localhost / private URLs are rejected. QCode's https://api.qcode.cc/openai/v1 is public HTTPS.

2026-10-20

Docs fetched

Warp custom inference endpoint docs at docs.warp.dev/agents/inference/custom-inference-endpoints: the old address custom-inference-endpoint/ was first fetched 2026-08-30 (page marked Last updated Oct 6, 2026), re-checked 2026-10-07, and the current address re-checked 2026-10-20; BYOK page fetched 2026-08-30.

What custom inference is

As of 2026-10-20 the official docs define a custom inference endpoint as pointing the Agent at a public URL you control that implements OpenAI Chat Completions (OpenRouter, LiteLLM, z.ai, an internal gateway). Since 2026-07-31 the endpoint can also use an OpenAI Responses or Anthropic Messages schema; since 2026-09-02 the definitions are validated file-backed settings shared by Warp and Warp Agent CLI. Warp is a terminal with an Agent. That is not the same settings widget as first-party OpenAI/Anthropic/Google BYOK. Cloud Agents cannot see locally stored custom endpoints.

What people still search

In 2026-08 Warp’s account still talks BYOK and custom inference; a Warp engineer wrote on 2026-08-13 that custom inference URLs work for the agent in the Warp terminal, with the CLI still in progress. This site had no Warp page. Here: how the official endpoint is added, and not to click Auto after you paste QCode.

Timeline

  1. 2026-05-20

    Warp’s blog announced BYOK on Free and custom inference endpoints compatible with OpenAI Chat Completions.

  2. Docs as shipped

    Settings, search inference endpoint: base URL that exposes /v1/chat/completions, credentials, model ids. Selecting that model skips Warp AI credits.

  3. 2026-08-30

    This fetch still requires a public URL; localhost is rejected. Auto always burns Warp credits. Keys live in the local keychain and pass through Warp’s backend in-flight; official text says they are not stored on Warp servers.

Confirmed vs watch-outs

Confirmed

Custom inference is on Free and eligible paid plans (individuals / orgs of 10 or fewer per Warp’s terms). Protocol: OpenAI Chat Completions. Selecting that model does not consume Warp AI credits. Docs re-checked 2026-10-07.

Watch-outs

Official: Auto still consumes Warp credits. localhost is rejected. Cloud Agents cannot use a locally stored custom endpoint and still burn Warp credits. A ChatGPT or Claude consumer subscription cannot be connected as Warp BYOK; use an API key.

Custom endpoint vs first-party BYOK

Custom inference (this page)

Any public OpenAI-compatible URL. For QCode: https://api.qcode.cc/openai/v1, for GPT and GLM / Kimi / DeepSeek / Qwen.

First-party BYOK

OpenAI / Anthropic / Google accounts only. Gateways, LiteLLM, and QCode use the custom-inference widget, not the first-party BYOK boxes.

What to do next

  1. 1In Warp, open Settings and search inference endpoint.
  2. 2Endpoint URL: https://api.qcode.cc/openai/v1 (Warp asks for the base URL that exposes /v1/chat/completions, and its own example also ends in /v1). API key: your QCode key. Model id: a GPT or GLM / Kimi / DeepSeek / Qwen id from /models (e.g. gpt-6-sol, glm-5.3).
  3. 3Save, then pick that model in the picker — not Auto. Claude models are not available on this OpenAI-compatible endpoint; for Claude, run Claude Code in the Warp terminal with ANTHROPIC_BASE_URL set to https://api.qcode.cc/api.

On QCode

QCode's endpoints doc (updated 2026-10-19) states: Claude models are served only through the Anthropic Messages API; the GLM / Kimi / DeepSeek / Qwen families work over both the Anthropic and the OpenAI Chat interface; GPT models use the two OpenAI interfaces. So on Warp's OpenAI-compatible endpoint you configure GPT and the GLM / Kimi / DeepSeek / Qwen models, while Claude needs an Anthropic-capable client.

For the OpenAI Python/JS SDK set base_url to https://api.qcode.cc/openai/v1, which becomes /openai/v1/chat/completions. https://api.qcode.cc/openai/v1 is QCode's public OpenAI-compatible endpoint and satisfies Warp's “must be publicly reachable” rule; Claude only runs on the Anthropic endpoint https://api.qcode.cc/api.

Billing is per token, and each model's price is listed under /models. On Business/Enterprise, local agent runs may still consume Warp platform credits — that is Warp's platform meter, not QCode's price list.

FAQ

Can Warp talk to a gateway like QCode?

Yes, for GPT and GLM / Kimi / DeepSeek / Qwen. Official custom inference is for OpenAI-compatible URLs such as OpenRouter, LiteLLM, and internal gateways; for QCode use https://api.qcode.cc/openai/v1. Claude is not available on this endpoint.

Can I use localhost?

Official docs reject localhost and private URLs because requests go through Warp’s servers. Expose a public HTTPS URL first.

Why does Auto still burn Warp credits?

Official: Auto depends on Warp’s routing, so it always consumes Warp credits even with a custom endpoint configured. To use your endpoint, select that model in the picker.

Can I plug ChatGPT Plus into Warp?

Official BYOK page: a ChatGPT or Claude consumer subscription cannot be connected to Warp. Use an API key and pay the provider.

Does Warp keep my key?

Official: stored in the local keychain; sent through Warp’s backend in-flight to call your endpoint, then discarded, not stored on Warp servers.

Can I use Claude models with a Warp custom endpoint, and why does my custom router not work?

Claude is not available on that OpenAI-compatible endpoint: the official QCode docs say Claude models are served only through the Anthropic Messages API (https://api.qcode.cc/api), so use a client that supports Anthropic endpoints for Claude. A custom router cannot use your endpoint either — Warp's docs say routing targets must be Warp-supported models, so a router never resolves to an endpoint-routed model. Copy model ids from /models.

Sources

Warp custom inference endpoint docs at docs.warp.dev/agents/inference/custom-inference-endpoints (the old address custom-inference-endpoint/ was first fetched 2026-08-30, page marked Last updated Oct 6, 2026; re-checked 2026-10-07, and the current address re-checked 2026-10-20); Bring Your Own API Key fetched 2026-08-30. Warp 2026 changelog docs.warp.dev/changelog/2026/ (2026-07-31 OpenAI Responses and Anthropic Messages schemas, 2026-09-02 validated file-backed settings, 2026-09-23 ChatGPT sign-in); launch post warp.dev/blog/bring-your-own-inference-to-warp (2026-05-20). QCode endpoint values follow the docs.qcode.cc endpoints page (fetched 2026-10-07, page updated 2026-10-19, fetched again 2026-10-20).

Add a custom endpoint in Warp

Public URL https://api.qcode.cc/openai/v1 for GPT and GLM / Kimi / DeepSeek / Qwen. Pick that model, not Auto. To keep an agent running on a remote machine, use the QCode cloud servers at https://qcode.cc/en/cloud: log in over ssh, several lines to choose from, one dedicated public IPv4, and one balance shared with your QCode account. The site currently offers only Chinese and English interfaces.

Not sure where to start?

Try it for a week

Small Pack: $4 for $30 of quota, valid 7 days

Use it every day

Starter: $9.00/month with $5 of quota every day — just $0.060 per $1 of quota, vs about $0.113 for the Medium Pack