> For the complete documentation index, see [llms.txt](https://docs.aimlapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aimlapi.com/integrations/continue.dev.md). Agents can also search and read this documentation through its [MCP server](https://docs.aimlapi.com/~gitbook/mcp).

# continue.dev

## About

continue.dev is an open-source AI coding assistant that runs directly in your IDE (VS Code, JetBrains, etc). You can use AI/ML API models with Continue via the built-in OpenAI-compatible provider — no plugins required.

## Configuration

You can configure Continue by editing either `~/.continue/config.json` or `~/.continue/config.yaml`.

#### Option 1: `config.json`

```json
{
  "models": [
    {
      "name": "AI/ML API",
      "provider": "openai",
      "model": "gpt-3.5-turbo",
      "apiBase": "<https://api.aimlapi.com/v1>",
      "apiKey": "<YOUR_AIMLAPI_KEY>"
    }
  ]
}
```

#### Option 2: `config.yaml`

{% code overflow="wrap" %}

```yaml
models:
  - name: AI/ML API
    provider: openai
    model: gpt-3.5-turbo
    apiBase: <https://api.aimlapi.com/v1>
    apiKey: <YOUR_AIMLAPI_KEY>
```

{% endcode %}

✅ `provider: openai` — uses Continue’s native OpenAI-compatible interface\
✅ `apiBase` — must be `<https://api.aimlapi.com/v1`> for AI/ML API\
✅ `model` — any valid model from our [text model list](https://docs.aimlapi.com/api-references/text-models-llm.md#complete-text-model-list).

***

### Advanced Options (Optional)

To disable compression or configure extra body parameters, use requestOptions.extraBodyProperties.

#### JSON Example

```json
{
  "models": [
    {
      "name": "AI/ML API",
      "provider": "openai",
      "model": "gpt-3.5-turbo",
      "apiBase": "<https://api.aimlapi.com/v1>",
      "apiKey": "<YOUR_AIMLAPI_KEY>",
      "requestOptions": {
        "extraBodyProperties": {
          "transforms": []
        }
      }
    }
  ]
}
```

#### YAML Example

```yaml
models:
  - name: AI/ML API
    provider: openai
    model: gpt-3.5-turbo
    apiBase: <https://api.aimlapi.com/v1>
    apiKey: <YOUR_API_KEY>
    requestOptions:
      extraBodyProperties:
        transforms: []
```

### GUI

continue.dev provides an intuitive graphical interface for interacting with a chat model.

<div align="left"><figure><img src="https://3927338786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FROMd1X5PuqtikJ48n2N9%2Fuploads%2Fgit-blob-95bbe5c2b5422ce9c2efdc0f06f1189f2d42d423%2FUntitled.png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Supported Models

You can use any of [our text models](https://docs.aimlapi.com/api-references/text-models-llm.md#complete-text-model-list), including:

* [gpt-3.5-turbo](https://docs.aimlapi.com/api-references/text-models-llm/openai/gpt-3.5-turbo.md)
* [google/gemini-2.0-flash](broken://pages/CapOhTrzos7y9s3QTcET)
* [and many others](https://docs.aimlapi.com/api-references/model-database.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aimlapi.com/integrations/continue.dev.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
