Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>LAI Compatible ProviderNew to Visual Studio Code? Get it now.
LAI Compatible Provider

LAI Compatible Provider

kelvin.y

|
2 installs
| (0) | Free
An extension that integrates OpenAI/llama/Ollama/Anthropic/Gemini API Providers into GitHub Copilot
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LAI Compatible Provider for Copilot

Environmental Requirements

-VS Code 1.104.0 or higher version. -OpenAI is compatible with API keys from vendors. -Mainly used for Llama.cpp local model to supply VSCode Copilot calls. -This project is not for commercial use.

⚡ Quick Start

vscode setting.json Configuration Example

{
    "laicopilot.logLevel": "info",
    "laicopilot.baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
    "laicopilot.models": [
        {
            "id": "gemma-4-12b-it",
            "owned_by": "llamacpp",
            "apiMode": "llamacpp",
            "baseUrl": "http://localhost:8080",
            "displayName": "Gemma-4 12B Local",
            "configId": "local",
            "vision": true,
            "context_length": 128000,
            "max_completion_tokens": 4096,
            "max_tokens": 16384,
            "max_history_messages": 15,
            "max_system_message_length": 2000,
            "disable_tools": false,
            "max_tools": 15,
            "max_tool_result_length": 2000,
             "extra": {
                "cache_prompt": true
            }
        },
        {
            "id": "Qwen3.6-35B-A3B-Uncensored",
            "owned_by": "llamacpp",
            "apiMode": "llamacpp",
            "baseUrl": "http://localhost:8080",
            "displayName": "Qwen3.6-35B Local",
            "configId": "local",
            "vision": true,
            "context_length": 128000,
            "max_tokens": 16384,
            "max_history_messages": 15,
            "max_system_message_length": 2000,
            "disable_tools": false,
            "max_tools": 15,           
            "extra": {
                "cache_prompt": true
            }
        }
    ]
}

Acknowledgments

Thank you to all contributors.

  • Contributor
  • Hugging Face Chat
  • VS Code Chat Provider API

Support & License

  • License: MIT License Copyright (c) 2026 Yancy Yeung
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft