RUNLOCALAIv38
->Will it run?Best GPUCompareTroubleshootStartLearnPulseModelsHardwareToolsBench
Run check
RUNLOCALAI

Independently operated catalog for local-AI hardware and software. Hand-written verdicts. Source-cited claims. Reproducible commands when we have them.

OP·Fredoline Eruo
DIR
  • Models
  • Hardware
  • Tools
  • Benchmarks
TOOLS
  • Will it run?
  • Compare hardware
  • Cost vs cloud
  • Choose my GPU
  • Prompting kits
  • Quick answers
REF
  • All buyer guides
  • Learn local AI
  • Methodology
  • Glossary
  • Errors KB
  • Trust
EDITOR
  • About
  • Author
  • How we make money
  • Editorial policy
  • Contact
LEGAL
  • Privacy
  • Terms
  • Sitemap
MAIL · MONTHLY DIGEST
Get monthly local AI changes
Monthly recap. No spam.
DISCLOSURE

Some links on this site are affiliate links (Amazon Associates and other first-class retailers). When you buy through them, we earn a small commission at no extra cost to you. Affiliate links do not influence our verdicts — there are cards we rate highly that we don't have affiliate relationships with, and cards that sell well that we refuse to recommend. Read more →

© 2026 runlocalai.coIndependently operated
RUNLOCALAI · v38
  1. >
  2. Home
  3. /Learn
  4. /How-to
  5. /How to use Continue.dev with custom model endpoints
HOW-TO · SET

How to use Continue.dev with custom model endpoints

advanced·15 min·By Fredoline Eruo
Target environment
Ubuntu 24.04 · Ollama 0.4.xWindows 11 · Ollama 0.4.xmacOS 15 · Ollama 0.4.x
PREREQUISITES

Continue.dev installed, custom model endpoint running

What this does

Configures Continue.dev to send requests to a privately hosted model served over any OpenAI-compatible REST endpoint, enabling use of fine-tuned or specialized models behind a custom API. After completion, Continue routes completions to the specified endpoint.

Steps

  1. Determine the endpoint details. Identify the base URL, model name path, and authentication method. Example: https://model.example.com/v1 with a Bearer token.

  2. Open the Continue config file. Click the gear icon in the Continue sidebar or edit ~/.continue/config.json.

  3. Add a model entry for the custom endpoint.

    {
      "title": "Custom Model",
      "provider": "openai",
      "model": "your-model-name",
      "apiBase": "https://model.example.com/v1",
      "apiKey": "your-token-here"
    }
    
  4. Set it as the default. Place the new entry first in the models array.

  5. Save and reload the window. Run "Developer: Reload Window" and verify the connection with a test prompt.

Verification

curl -s -H "Authorization: Bearer YOUR_TOKEN" \
  https://model.example.com/v1/models | python3 -m json.tool | head -10
# Expected: JSON list of available models on the custom endpoint

Common failures

  • TLS certificate error — Self-signed certificates cause failures. Add the CA bundle to the system trust store.
  • CORS blocked requests — Ensure the model server sets Access-Control-Allow-Origin headers.
  • 401 Unauthorized — The API key is missing or malformed. Verify the token format.
  • Model name mismatch — Must exactly match the name registered by the server. Check with /v1/models.
  • Endpoint unreachable — Test with curl directly from the machine running VS Code.

Operator checkpoint

Before treating this as solved, write down the local runtime, model or package version, hardware/backend if relevant, and the verification output. This keeps the guide useful as a Will-It-Run style decision instead of a one-off command transcript.

Related guides

  • How to configure Continue.dev with Ollama
  • How to set up Continue.dev with LM Studio
  • Course Local AI Fundamentals
RELATED GUIDES
SET
How to configure Continue.dev with Ollama
SET
How to set up Continue.dev with LM Studio
← All how-to guidesCourses →