Use DaoXE in Kilo Code

Kilo Code is a VS Code coding agent that inherits from the Cline/Roo lineage and accepts any OpenAI-compatible provider. Point it at DaoXE for one key across GPT, Claude, Gemini, DeepSeek and more.

Updated 2026-09-15

Kilo Code speaks to any OpenAI-compatible endpoint out of the box, so DaoXE is a provider setting — base URL and key. Like Roo, it lets different modes (Architect, Code, Ask) run different models, which is where a single multi-vendor key earns its keep: cheapest APIs guide.

Why route Kilo Code through DaoXE#

  • Per-mode models. Architect on a frontier model, Code on a workhorse — one key, one balance.
  • Cline/Roo lineage. If you've configured either, the settings layout will feel familiar.
  • Verified by docs. Kilo's own docs treat custom OpenAI-compatible base URLs as a first-class path — local servers, corporate proxies, gateways.

Set it up in Kilo Code#

  1. Open provider settings. In the Kilo Code panel, open settings and set API Provider to OpenAI Compatible.
  2. Set the Base URL. https://daoxe.com/v1 — the /v1 suffix must be there (Kilo's troubleshooting doc lists a missing /v1 as the classic 404 cause).
  3. Paste key and Model ID. Your DaoXE key, plus a Model ID copied verbatim from GET /v1/models.
  4. Assign models per mode. Optional but the point: give Architect, Code and Ask modes different models to trade cost for quality where it matters.

Caveats worth knowing

Base URL ends at /v1 — Kilo appends /chat/completions itself, and its docs call the missing suffix the most common connection error. Agent edits need native tool calling; pick a tool-capable model. Model IDs are account-scoped — read them from GET /v1/models. More clients: client setup notes.

Verify you actually get the model#

Prove the endpoint works before blaming the client — if this fails, no setting will fix it:

bash
export DAOXE_API_KEY="your_api_key"

# List the exact model IDs your account can call
curl --fail-with-body --show-error --silent \
  https://daoxe.com/v1/models \
  -H "Authorization: Bearer ${DAOXE_API_KEY}"

Connectivity first, then prove the model is real — same hard prompt, temperature 0, diff against the official API:

bash
curl --fail-with-body --show-error --silent \
  https://daoxe.com/v1/chat/completions \
  -H "Authorization: Bearer ${DAOXE_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "YOUR_EXACT_MODEL_ID",
    "max_tokens": 64,
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'

Verify us — don't trust us

Point the open benchmark at DaoXE and at the official API and compare at temperature 0. Then learn to detect model swapping so a cheaper endpoint can't quietly swap you to a smaller model.

Frequently asked questions#

Does Kilo Code work with DaoXE?

Yes — choose the OpenAI Compatible provider, set the base URL to https://daoxe.com/v1, paste your key and an exact model ID.

I get 404s or an empty model list — why?

Almost always the base URL: it must end at /v1 (Kilo appends the rest). Then check the key with GET /v1/models.

Can different modes use different models?

Yes — that's the workflow: a reasoning model for Architect, a cheaper tool-capable model for Code, all on one balance.

What does it cost?

Per-model rates are account-scoped — see live pricing; top-up itself is a flat 1 RMB = $1 of credit on every payment method.

Try DaoXE — and benchmark it yourself

One key for GPT, Claude, Gemini, DeepSeek and more. Point the open benchmark at us and compare — don't take our word for it.