How to use Darkbloom with Continue

Updated · Checked with Continue extension 2.1.0 and CLI 1.5.47 on

Short answer: yes. In Continue’s config.yaml, add a model with provider: openai, apiBase: https://api.darkbloom.dev/v1, a Darkbloom model ID as model and apiKey: ${{ secrets.DARKBLOOM_API_KEY }}, and keep the key in the file ~/.continue/.env. Chat and Agent mode in Continue then run on Darkbloom. Darkbloom runs open-weight models on Macs and is a public alpha, so try a small task first.

At a glance

ItemValue
Base URLhttps://api.darkbloom.dev/v1
KeyCreated on the API console page of the Darkbloom console. Continue reads it from a .env file, as ${{ secrets.DARKBLOOM_API_KEY }} in config.yaml.
BillingPrepaid credits, charged per token, with a minimum of $0.0001 per request. Minimum deposit $0.50 (Darkbloom docs).
Model in Continueprovider: openai and model: <model-id>, for example gemma-4-26b, with no prefix
Tested withContinue extension 2.1.0 and CLI 1.5.47 on October 22, 2026
Darkbloom statusPublic alpha (Darkbloom console)
Config file~/.continue/config.yaml, which the VS Code and JetBrains extensions and the cn command-line tool all read (Continue docs)

How do I use Darkbloom with Continue in VS Code or JetBrains?

Add a Darkbloom model to Continue’s config.yaml and keep your key in a .env file. Continue’s docs say the VS Code and JetBrains extensions use the same config file. We ran the VS Code extension, so the steps below describe that one.

  1. Get a Darkbloom API key. Open the Darkbloom console and sign in, add credits (the minimum is $0.50, and Darkbloom says credits are non-refundable and never expire), then choose API console in the console’s left menu and Create API key (Darkbloom’s docs call this page Settings → API Keys). The console shows the key only once, so copy it right away. Every key spends from your prepaid balance, so add only what you are willing to spend while you test, and watch the first sessions, because Agent mode sends one request for each step it takes.
  2. Install Continue. In VS Code, install Continue from the Marketplace. In a JetBrains IDE, install Continue from its plugin page. The first time Continue runs, it creates the folder ~/.continue (on Windows, %USERPROFILE%\.continue) with a starter config.yaml.
  3. Save your key in a .env file. Continue’s extensions cannot read environment variables from your shell (Continue docs), so the key goes in a file. Create ~/.continue/.env (on Windows, %USERPROFILE%\.continue\.env) and put one line in it: the variable name, an equals sign and your key, with no quotes and no spaces.
    ~/.continue/.env
    DARKBLOOM_API_KEY=YOUR_DARKBLOOM_API_KEY
    macOS and Linux, optional: only you can read the file
    chmod 600 ~/.continue/.env
  4. See which models you can use. On macOS and Linux, load the key from that file and ask Darkbloom for its model list, which gives each ID with its context window and prices. On Windows, pick an ID from the table further down this page instead.
    set -a; . ~/.continue/.env; set +a
    curl -s https://api.darkbloom.dev/v1/models \
      -H "Authorization: Bearer $DARKBLOOM_API_KEY"
  5. Add Darkbloom to config.yaml. Open it at ~/.continue/config.yaml, or from Continue’s panel: click the gear icon, then Configs, then the gear next to your config. The panel has to be wide enough to show its settings, so drag its edge if it says the screen is too small. A new install starts with an empty model list, models: []. Replace the file’s contents with this, or, if you already have models or other settings in it, add only the model entry under models:.
    config.yaml
    name: Darkbloom
    version: 0.0.1
    schema: v1
    models:
      - name: Darkbloom gemma-4-26b
        provider: openai
        model: gemma-4-26b
        apiBase: https://api.darkbloom.dev/v1
        apiKey: ${{ secrets.DARKBLOOM_API_KEY }}
        defaultCompletionOptions:
          contextLength: 131072
  6. Choose the model and send a message. Save the file. Continue reloads it by itself within a few seconds, and the model appears in the model menu under the chat box. Pick it and send a message such as Say hello in five words. If you created or changed the .env file after Continue started, open the config menu above the chat box (it shows your config’s name, Main Config on a new install) and choose Reload, because Continue reads .env files when it loads the config.

What does each line of the Continue config mean?

This is the model entry from the steps above, line by line.

LineWhat it does
provider: openaiContinue sends requests in the OpenAI Chat Completions format, which Darkbloom accepts. Continue’s docs use this provider for any OpenAI-compatible API.
model: gemma-4-26bThe Darkbloom model ID, copied from GET /v1/models. Continue sends it as it is, with no prefix (checked on the wire).
name: Darkbloom gemma-4-26bThe label in Continue’s model menu. Use any name you like.
apiBase: https://api.darkbloom.dev/v1Where Continue sends requests. It has to end at /v1, because Continue adds /chat/completions itself. A trailing slash is fine.
apiKey: ${{ secrets.DARKBLOOM_API_KEY }}Makes Continue read the key from the DARKBLOOM_API_KEY line of a .env file, so the key is not written in config.yaml.
contextLength: 131072The model’s context window in tokens, from Darkbloom’s list. Without it, Continue assumes 32,768 tokens for a model it does not know (Continue’s source code).
name, version and schema at the topThe header of a Continue config file. schema: v1 is the file format.

Three optional settings are not in that entry. maxTokens, under defaultCompletionOptions, sets the longest answer Continue asks for: the extension asks for 4,096 tokens when you set nothing (seen in its requests), and the CLI sends no limit, so Darkbloom adds 8192 (Darkbloom docs). roles says what the model is used for. Continue’s default is chat, edit, apply and summarize (config.yaml reference), so Darkbloom is not used for tab autocomplete unless you add autocomplete; read the cost section first. capabilities tells Continue what the model can do. It was not needed for gemma-4-26b: Agent mode and tool calls worked without it. If Agent mode is greyed out for another model, add tool_use under capabilities, but only for a model whose Features column below lists tools (Continue docs).

Can I use Darkbloom with the Continue CLI?

Yes. The CLI, cn, reads the same ~/.continue/config.yaml and .env files as the extensions (Continue docs), so after the steps above it already uses Darkbloom.

  1. Install the CLI. It needs Node.js 20 or newer (Continue docs). Continue’s CLI quickstart also lists a shell installer for macOS and Linux and one for Windows.
    npm i -g @continuedev/cli
  2. Run one prompt. In your project folder, -p sends a single prompt, prints the answer and exits:
    cn -p "Say hello in five words."

To use another config file, add --config ./my-config.yaml. To let the agent change files without asking, add --auto, which allows every tool, so use it only in a folder you can restore. We ran headless mode (-p) with a local config, and it needed no Continue login. We did not open the interactive screen (cn alone), which Continue’s docs say asks you to log in to Continue or enter an Anthropic key on the first launch.

Which Darkbloom model should I use with Continue?

Use any ID that GET /v1/models returns. On October 23, 2026 it listed 12 models, shown here from the cheapest output price up, in US dollars per million tokens. Check the live prices before you rely on a number; that public list also names models that are not online. A key can be limited to some models, and Darkbloom refuses any other with a 403 (see the errors table).

Model IDContext window, tokensInput, $ per million tokensOutput, $ per million tokensFeatures Darkbloom lists
gpt-oss-20b131,072$0.018$0.09none listed
nvidia-nemotron-3.5-lightning262,144$0.025$0.12tools, reasoning
EigenLabs/Ternary-Bonsai-2-9B-MLX-2bit262,144$0.08$0.13tools, reasoning
Qwen3.5-9B262,144$0.08$0.13tools, image input
glm-5.3-flash262,144$0.065$0.18tools, reasoning, image input
gemma-4-26b131,072$0.042$0.22tools, reasoning, json mode, image input
mimo-v2.6-flash-mopd1,048,576$0.10$0.28tools, reasoning
nvidia-nemotron-3.5-super262,144$0.075$0.35tools, reasoning, json mode, image input
ternary-bonsai-2-27b262,144$0.075$0.50tools, reasoning, image input
qwen3.6-35b-a3b-vl-mtp-mxfp8262,144$0.05$0.70tools, image input
qwen3.5-35b-a3b262,144$0.065$0.75tools, image input
EigenLabs/Qwen3.8-27B-4bit-mtp262,144$0.035$2.20tools, image input

Add one entry per model under models:, each with its own name and model, and Continue lists them all in its model menu. For Agent mode, choose a model whose Features column lists tools, and set contextLength to that model’s context window.

How much does Continue cost with Darkbloom, and how do I keep it low?

Continue adds no charge. Darkbloom bills the tokens you use from your prepaid balance: (input tokens × input price + output tokens × output price) ÷ 1,000,000, with a minimum of $0.0001 per request. Continue sends more than your message, so a short question is a bigger request than it looks. In Agent mode, the default for new chats, one short message sent 1,985 tokens in and got 8 back, because Continue adds its own instructions and 12 tool definitions. At the October 23, 2026 prices that is worth $0.000085 on gemma-4-26b, so Darkbloom billed the $0.0001 minimum. The same message in Chat mode sent 397 tokens in. A large request, such as 20,000 tokens in and 2,000 out, costs about $0.00128. In Darkbloom’s usage log each of the short messages above was billed $0.0001. One request of our file edit, 2,091 tokens in and 78 out, was billed $0.000104, just over the minimum.

What Continue doesWhat it costs youHow to reduce it
Agent mode takes stepsEvery step is another request, and each one carries the whole conversation so far. Our file edits took three or four requests of about 1,900 to 2,300 tokens each, and a bigger project sends more.Use Chat mode when you do not need tools, and keep tasks small.
Chat titlesAfter your first message in a chat, Continue sends a second request with the same model to name the chat (86 tokens in and 6 out in our test). It is billed at least $0.0001.Turn off Enable Session Titles in Continue’s settings (gear icon, then Settings). We checked that Continue then sends one request.
Tab autocompleteNot used with this setup, because Continue’s default roles leave it out. If you add the autocomplete role, Continue sends a request as you type, and each one costs at least $0.0001, so 1,000 completions cost at least $0.10. We did not test it.Leave it off, or give autocomplete a model that is cheap to call.

To limit the length of each answer, set maxTokens as described above. Check your real spend in the Darkbloom console, or call GET /v1/payments/usage with your key (Darkbloom docs: usage history).

Where does Continue look for my API key?

Continue swaps ${{ secrets.DARKBLOOM_API_KEY }} for the value of DARKBLOOM_API_KEY that it finds in the places below. Keep the key in ~/.continue/.env, as in the steps above: it worked in the extension and in the CLI.

PlaceExtension 2.1.0CLI 1.5.47
~/.continue/.envFoundFound
<project>/.continue/.envFoundFound
<project>/.env, in the project’s root folderNot foundFound
Your shell’s environment, for example export DARKBLOOM_API_KEY=...Not tested. Continue’s docs say the extensions cannot read it.Found

Continue’s docs list the project’s root .env for the extensions too, but in our test the extension did not read it. Use ~/.continue/.env or <project>/.continue/.env. Keep the key in one place: when two places had a value, the extension and the CLI picked different ones. Continue reads .env files when it loads the config, so after you change one, choose Reload in the config menu. Continue’s docs say to restart the IDE, and Reload was enough in our test.

If you keep the key in a project folder, add the file to .gitignore so it is never committed. Do not paste the key into config.yaml itself if you commit or share that file.

echo ".continue/.env" >> .gitignore

What do the common errors mean?

The extension shows an error in a window titled “Error handling model response”. Its last part, under “View error output”, is Darkbloom’s answer, and the CLI prints the same text as {"status":"error","message":"..."}. These are the messages you are most likely to see. Each was reproduced with Continue 2.1.0 or the CLI, except the empty-balance row.

What you seeCauseFix
API key secret not found. Add the apiKey to your secrets or set it directly in your config. and then 401 invalid API keyContinue found no DARKBLOOM_API_KEY in a .env file, so it sent the placeholder text in place of your key, and Darkbloom answered 401.Check the file name and the variable name, which have to match ${{ secrets.DARKBLOOM_API_KEY }}. Write the line without quotes, then choose Reload in the config menu. Use ~/.continue/.env.
This error usually happens when the API key is actually invalid. Check your API key value or try a new one. and then 401 invalid API keyDarkbloom does not accept the key. This is the text its API returns for a wrong key.Copy the key again in full, without quotes or spaces, or create a new key in the console.
Likely cause: not authorized to access the model deployment. and then 403 this API key is not permitted to use model "..."Darkbloom answered 403 model_not_allowed. Either the key has an Allowed models list that does not include this model, or the ID is not a real one: Darkbloom gives the same answer for an ID that does not exist.Check the ID letter for letter against GET /v1/models. If it is listed, open the key on the console’s API console page, choose Edit, and add the model to Allowed models, or leave that list blank to allow every model.
Invalid apiBase: https://api.darkbloom.dev/ and Model/deployment not found for: gemma-4-26b, then 404 404 page not foundThe apiBase does not end at /v1. Continue adds /chat/completions itself.Use exactly https://api.darkbloom.dev/v1 as apiBase.
An error window with 403 and no model namedIf your balance is too low, Darkbloom answers 403 (Darkbloom docs: insufficient balance), and every request fails the same way.Add credits in the console under Billing.
You changed the key in .env, but Continue still uses the old oneContinue reads .env files when it loads the config, so it keeps the old value until the next load.Choose Reload in the config menu, or restart the IDE.
In the CLI, a different key from the one in your .env fileA DARKBLOOM_API_KEY that is still exported in your shell wins over the .env files in the CLI.Run unset DARKBLOOM_API_KEY, or export the right key.
The model menu says “Select model” and lists nothingContinue has no model under models:. A new install starts with models: [].Add the entry from the steps above and save the file. Keep its spaces, which YAML uses to show which line belongs to which.
“Agent might not work well with this model”, next to Agent in the mode menuContinue shows this for models it does not know. It is a caution, not an error.Nothing to fix: Agent mode worked with gemma-4-26b. If Agent is greyed out with “Not supported”, see capabilities in the settings section.

Is Darkbloom private, and is it ready for production?

Not yet for sensitive work. Darkbloom’s quickstart calls the service “an experimental research prototype” and says not to use it in production applications, and its console labels it Public alpha. Darkbloom says prompts are encrypted to a verified provider Mac. Its security overview says the coordinator re-encrypts each request for the chosen provider and runs in a confidential VM. An independent review by Wavect (September 2026) reads Darkbloom’s technical documentation as saying that both the coordinator and the provider handle your prompt as plaintext inside protected boundaries.

Continue sends your messages, the files and code you attach and, in Agent mode, whatever its tools read from your project, such as the contents of a file, to Darkbloom. Do not send secrets, customer data or code you are not allowed to share.

How this guide was checked

About this guide

BloomGauge is a free Mac app for people who run Darkbloom providers, so we benefit when Darkbloom has more paying demand. We are independent of Darkbloom and not endorsed by it. Our Darkbloom sign-in links carry our referral code, BLOOMGAUGE. If you sign in to Darkbloom after opening one, Darkbloom attaches the code to your account and pays us a share of your eligible token spend. Darkbloom funds that reward, so it does not change your price.

Sources

Found something out of date? Tell us in #bloomgauge on the Darkbloom Slack or at Support.