1. AI application
PeakkAI-Doc
English
  • 中文
  • English
  • 首页
  • English
    • Home Page
    • PeakkAI-API
      • Model
        • Native OpenAI Format
        • Native Gemini Format
      • Chat
        • Native OpenAI Format
        • Native Gemini Format
        • Native Claude Format
        • Responses Request (openai)
      • Audio
        • Native OpenAI Format TTS
        • Native Gemini Format TTS
      • Images
        • Native OpenAI Format Image Editing (JSON)
        • Native OpenAI Format Image Generation
        • Native OpenAI Format Image Editing (Multipart)
        • Native Gemini Format Image Generation
      • Video
        • Seedance2.0 format
          • Create Video Generation Task
          • Query Video Generation Task Status
      • Vector
        • Embeddings
          • Create Embedding
      • Translation
        • Speech Translation
    • AI application
      • PeakkAI API Integration with Claude Code
      • PeakkAI API Integration with Cursor
      • PeakkAI API Integration with Codex-cli
      • PeakkAI API Integration with Codex Desktop
      • PeakkAI API Integration with Hermes Agent
  1. AI application

PeakkAI API Integration with Cursor

This tutorial applies to:
Cursor
Connected to PeakkAI API
Claude / GPT models
macOS / Windows

I. What is Cursor#

1. Introduction to Cursor#

Cursor Official Website:
https://www.cursor.com/
Cursor is an AI IDE deeply customized based on VS Code. It integrates:
AI Chat
AI Coding
Code Completion
Agent Mode
Project Analysis
Multi-file Editing
Terminal Assistance
It supports:
Claude
GPT
Gemini
DeepSeek
OpenAI Compatible API
It is currently one of the most popular AI programming IDEs.

II. Prerequisites#

What You Need to Prepare#

ItemDescription
CursorAI IDE
PeakkAI APIPeakkAI URL + API Key
Cursor HelperA tool used to switch API source configurations
ModelClaude / GPT, etc.

III. macOS Installation Guide#

1. Download and Install Cursor#

Go to the Cursor official website:
https://www.cursor.com/downloads
Select:
MacOS
Once the download is complete:
Simply drag it into Applications

2. Download and Install Cursor Helper#

Github Download Link: https://github.com/leookun/cursor-byok/releases
image.png
Once the download is complete:
Simply drag it into Applications
If you encounter an installation failure, go to Settings > Privacy & Security > Open Anyway.

image.png#

IV. Windows Installation Guide#

1. Download Cursor#

Go to:
https://www.cursor.com/downloads
Download:
Windows Installer

2. Download and Install Cursor Helper#

Github Download Link: https://github.com/leookun/cursor-byok/releases
image.png
Once the download is complete, simply run the installer to install it.

V. Get PeakkAI API Information#

Go to the PeakkAI Open Platform to apply for your secret key (sk).
peakk 开放平台
image-20260514140602533.png
image-20260514140819323.png
Obtain the following information:
Configuration ItemExample
Base URLhttps://api.peakk.ai
API Keysk-xxxx
ModelClaude Opus 4.6 / GPT 5.2 ...

Common Third-Party Interface Formats#

Go to the PeakkAI Interface Documentation:
PeakkAI 接口文档

VI. Connect Cursor to PeakkAI API#

1. Turn Off Official Cursor Key Settings#

image.png#

2. Enter Cursor Helper Configuration#

image.png#

3. Fill in PeakkAI Configurations#

Fill in the fields:
Configuration ItemExample
Base URLhttps://api.peakk.ai
API Keysk-xxxx
Modelgpt-5.2 / Claude-Opus-4.6
image.png

4. Go to Cursor and Refresh the Model List#

image.png

If you still cannot see the models, and you are sure you have reinstalled Cursor, follow these steps:
Open the Helper first, then open Cursor.
Close both Cursor and the Helper completely.
Open the Helper once more, and then open Cursor. It should work properly now.

7.Verify the Connection#

Select a model to test the connection.
image.png
修改于 2026-11-02 09:46:29
上一页
PeakkAI API Integration with Claude Code
下一页
PeakkAI API Integration with Codex-cli
Built with