Skip to main content

API Endpoints

WisGate provides two API endpoints. Choose the one that best suits your needs.
EndpointNetworkDescription
https://wisdom-gate.juheapi.comDirect ConnectionUS server cluster, network optimized
https://api.wisgate.aiCloudflareUS server cluster, performance optimized

Endpoint Details

wisdom-gate.juheapi.com

Direct connection to US server cluster with network optimization. Recommended for users who prefer a direct, low-latency connection.
  • URL: https://wisdom-gate.juheapi.com
  • Network: Direct connection
  • Region: US server cluster
  • Optimization: Network optimized

api.wisgate.ai

Powered by Cloudflare global network with US server cluster and performance optimization. Recommended for users who want enhanced stability and global acceleration.
  • URL: https://api.wisgate.ai
  • Network: Cloudflare
  • Region: US server cluster
  • Optimization: Performance optimized

Usage Examples

Replace the base URL in your application with either endpoint.

Using wisgate.ai

import openai

client = openai.OpenAI(
    api_key="your-api-key",
    base_url="https://wisgate.ai/v1"
)

Using api.wisgate.ai

import openai

client = openai.OpenAI(
    api_key="your-api-key",
    base_url="https://api.wisgate.ai/v1"
)
Both endpoints support the same API features and models. You can switch between them at any time by simply changing the base URL.