> ## Documentation Index
> Fetch the complete documentation index at: https://docs.matterai.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Continue VS Code

> Configure Continue to work with Axon AI code generation

Continue is a VS Code extension that provides AI-powered coding assistance. You can configure it to use Axon's AI capabilities for enhanced code generation and analysis.

### Get API Key

<CardGroup cols={2}>
  <Card title="Get API Key" icon="key" href="/axon-ai/api-keys">
    Generate a new API key
  </Card>
</CardGroup>

## Configuration

To integrate Continue with Axon, configure the following settings in Continue's API Configuration:

<Frame>
  <img className="block" src="https://mintcdn.com/gravitycloud-9ebb5c50/rkaEEpYnZUKh7KXg/images/axon/axon-continue-setup.png?fit=max&auto=format&n=rkaEEpYnZUKh7KXg&q=85&s=cfcf93df4e3268e5b6b3a90dcd800412" alt="Axon Continue Setup" width="2938" height="1838" data-path="images/axon/axon-continue-setup.png" />
</Frame>

### API Provider Settings

To setup MatterAI Axon, you need to configure the `config.yaml` file for Continue as following:

```yaml config.yaml lines icon="yaml" theme={null}
name: Local Assistant
version: 1.0.0
schema: v1
context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
models:
  - name: axon-code
    provider: openai
    model: axon-code
    roles:
      - chat
      - edit
      - apply
    apiBase: https://api.matterai.so/v1
    apiKey: MATTER_API_KEY
```

### Authentication

* **OpenAI Compatible API Key**: Your Axon API key
* The key is stored locally and only used for API requests

### Model Configuration

* **Context Window Size**: 200,000 tokens
* **Model Name**: `axon-code`
* **Max Output Tokens**: 32,768
* **Input Price**: \$1/1M tokens
* **Output Price**: \$4/1M tokens
* **Temperature**: 0
