logo
icon

Cursor2API-Go

A Go service that converts Cursor Web into OpenAI chat/completions compatible API

PlatformZeabur
Dideploy1
Penerbitauthorjacob-sheng
Dideploy1 kali
Penerbitjacob-sheng
Dibuat2026-03-29
Layanan
service icon
Tag
ToolAI

Cursor2API-Go

A Go service that converts Cursor Web into an OpenAI chat/completions compatible API.

Features

  • ๐Ÿ”„ API Compatible: OpenAI chat/completions interface compatible
  • โšก High Performance: Low latency response
  • ๐Ÿ” Secure Auth: API Key authentication support
  • ๐ŸŒ Model Derivation: Automatically exposes *-thinking models
  • ๐Ÿงฐ Tool Calls: Supports tools / tool_choice / tool_calls
  • ๐Ÿ›ก๏ธ Error Handling: Comprehensive error handling
  • ๐Ÿ“Š Health Check: Built-in health check endpoint

Configuration

Set environment variables after deployment:

  • API_KEY: API authentication key (default: 0000)
  • MODELS: Base model list, comma-separated (default: claude-sonnet-4.6)
  • DEBUG: Enable debug mode (default: false)
  • TIMEOUT: Request timeout in seconds (default: 60)