LuluTokens
Usage

VS Code

Point Cline, Roo Code or Continue at LuluTokens from inside VS Code.

VS Code has no built-in setting for a custom model endpoint — the AI features come from extensions, and each one has its own provider configuration. All of the extensions below accept an OpenAI-compatible endpoint, which is exactly what LuluTokens serves.

Whichever extension you use, the two values are always the same:

  • Base URLhttps://api.lulutokens.ai/v1
  • API key — your sk-... key from the console

Cline

Open the provider settings

Click the Cline icon in the activity bar, then the gear icon → API Configuration.

Choose "OpenAI Compatible"

FieldValue
API ProviderOpenAI Compatible
Base URLhttps://api.lulutokens.ai/v1
API Keyyour sk-... key
Model IDany ID from /v1/models, e.g. deepseek-v4-pro

Turn on the capabilities your model has

Cline exposes checkboxes for image input and computer use. Leave them off unless the model you picked actually supports them — enabling them otherwise produces requests the provider rejects.

Roo Code

Roo Code is a Cline fork and is configured the same way: Settings → Providers → API Provider: OpenAI Compatible, then fill in the same three values. Roo Code keeps a separate configuration per mode, so set it once and select that profile for Code, Architect and Ask.

Continue

Continue is configured from a file rather than a settings pane.

~/.continue/config.yaml
models:
  - name: DeepSeek V4 Pro (LuluTokens)
    provider: openai
    model: deepseek-v4-pro
    apiBase: https://api.lulutokens.ai/v1
    apiKey: ${{ secrets.LULUTOKENS_API_KEY }}
    roles:
      - chat
      - edit
      - apply

Add one entry per model you want in the picker. provider: openai is correct here — it selects the OpenAI wire format, and apiBase is what sends the request to us instead of to OpenAI.

GitHub Copilot

Copilot Chat can be pointed at a custom OpenAI-compatible endpoint in recent versions ("bring your own key"), but the setting has moved between releases and does not cover inline completions.

Troubleshooting

SymptomFix
Extension lists no modelsType the model ID by hand — most extensions do not call /v1/models
404 on every requestBase URL is missing /v1, or has a trailing slash the extension does not strip
400 mentioning imagesThe model does not accept image input; turn off the vision toggle
Works in chat, fails on editsThe model was not given the edit/apply role (Continue)

On this page