SETUP GUIDE

Use AIGateway models in Continue

Set AIGateway as the OpenAI-compatible endpoint in Continue. Top up your balance and create an API key first.

Values to enter

Enter these three values in Continue.

Base URL
https://api.ai.portomo.com/v1
Model ID
deepseek-v4.1-flash

Create your API key on the API keys page. Create an API key →

Setup steps

  1. Open the Continue configuration file (config.yaml).
  2. Add the block below under models, replace YOUR_API_KEY with your key, and save.
  3. Choose "AIGateway" in the Continue model selector.
  4. Send a short message and confirm that a reply comes back. For tasks such as editing files, choose a model that supports tool calls.
config.yaml
models:
  - name: AIGateway
    provider: openai
    model: deepseek-v4.1-flash
    apiBase: https://api.ai.portomo.com/v1
    apiKey: YOUR_API_KEY
    roles:
      - chat
      - edit
      - apply

Setting names and locations may differ between versions of Continue. Continue documentation ↗

AIGateway API usage is deducted from your balance. See Models & pricing for the price of each model. View all pricing →

Troubleshooting

For 401 or 403, check your API key and balance. For 404, check the endpoint and API path. Use the model ID shown in Models & pricing. Never embed your API key in browser JavaScript.