Routing
Understand route selection and model access constraints.
Route Selection
GreatRouter provides two different access routes to meet different network environment needs. Choose the most suitable route based on your network situation.
Route Comparison
| Feature | Overseas Direct Route | China Route |
|---|---|---|
| Endpoint Address | https://endpoint.greatrouter.com | https://endpoint.wendalog.com |
| Proxy Required | Yes | No |
| Network Path | Singapore → Global | Shanghai → Singapore → Global |
| Use Case | With proxy (Recommended) | Without proxy |
Overseas Direct Route (Recommended)
Network Path
Global
Overseas UserLoad Balancer (Singapore)
SingaporeLiteLLM Router (Singapore)
SingaporeAzure (Global)
GlobalCharacteristics
- RecommendedDirect connection to Router, better stability
- Higher BandwidthNot limited by China route bandwidth
- Lower LatencyOne less hop, faster response
Use Case
- With proxy (Recommended)
- Applications requiring low latency and high stability
- Global users
China Route
Network Path
China
China UserJump Server (Shanghai)
ShanghaiLoad Balancer (Singapore)
SingaporeLiteLLM Router (Singapore)
SingaporeAzure (Global)
GlobalCharacteristics
- No Proxy NeededDirect connection from China, no VPN required
- Longer PathExtra Shanghai hop, increased latency
- Limited BandwidthTotal bandwidth limited by China route
Use Case
- Without proxy
- When proxy is inconvenient
How to Configure Routes?
Set the base_url parameter to the corresponding endpoint address when initializing the OpenAI client.
from openai import OpenAI
# Overseas node (recommended)
client = OpenAI(
api_key="sk-gr-xxxx",
base_url="https://endpoint.greatrouter.com"
)
# docs.codeComments.domesticNoProxy
client = OpenAI(
api_key="sk-gr-xxxx",
base_url="https://endpoint.wendalog.com"
)FAQ
Can I switch routes frequently?
Yes. Both routes use the same API Key, you can switch anytime without affecting service.
Is data synchronized between routes?
Yes. Both routes connect to the same backend service, your balance, usage records and other data are fully synchronized.
Best Practices
- Prefer overseas direct route — Use endpoint.greatrouter.com (shorter path, more stable)
- Use China route without proxy — Use endpoint.wendalog.com
- Keep both configurations — Comment both endpoints in code for quick switching
