Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VSLLM API ServerNew to Visual Studio Code? Get it now.
VSLLM API Server

VSLLM API Server

Black

|
8 installs
| (0) | Free
A VSCode extension that converts VSLLM functionality into standard OpenAI API interface, supporting third-party application calls. 一个将VSLM功能转换为标准OpenAI API接口的VSCode扩展,支持第三方应用调用
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSLLM APIServer

Version VS Code Marketplace

A VSCode extension that converts VSCode Copilot Language Model functionality into a standard OpenAI API interface, supporting third-party application calls.

Features

  • 🚀 Converts VSCode's built-in AI functionality into standard OpenAI API interface
  • 🔌 Supports third-party applications through standard API calls
  • 💡 Compatible with OpenAI API format
  • ⚙️ Configurable server port

Limitations

  • Cannot process images
  • Tools may not work as expected
  • System prompt may not work as expected
  • API rate limit follows VSCode Github Copilot's restrictions, paid users are recommended for better experience

Updates

  • April 22: Optimized built-in prompts and added support for images.need vscode 1.99

Installation

  1. Search for "VSLLM API Server" in the VSCode Extension Marketplace
  2. Click Install
  3. Restart VSCode for the extension to take effect

Usage

  1. The API server starts automatically after installing the extension
  2. Default listening address: http://localhost:10000/v1
  3. Available service endpoints:
    • Get model list: GET http://localhost:10000/v1/models
    • Create chat completion: POST http://localhost:10000/v1/chat/completions

Configuration Options

The following options can be configured in VSCode settings:

  • vsllm.server.enable: Enable/disable API server (default: true)
  • vsllm.server.port: API server listening port (default: 10000)
    • Valid range: 1024-65535
    • Access address: http://localhost:[port]/v1

Development

Requirements

  • Node.js
  • VSCode

Build Steps

  1. Clone the project
git clone [repository-url]
cd vsllm
  1. Install dependencies
npm install
  1. Compile project
npm run compile
  1. Run tests
npm test

Notes

  • Ensure the port is not occupied by other applications
  • Extension requires VSCode 1.85.0 or higher
  • API server starts automatically when VSCode launches

License

LICENSE

Feedback

For issues or suggestions, please submit an issue on the GitHub repository.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft