Testing

Validate model access, protocols, and request parameters.

API Authenticity Verification

When choosing an API proxy, verifying its authenticity is critical. Below are common fraud methods, how to detect them, and our verification mechanisms.

How to Identify Fake API Proxies

🎭 Model Cosplay

The most common fraud. A proxy claims to provide GPT-4o but actually calls cheaper models like GPT-4o-mini, pocketing the price difference. Hard to detect from a single conversation since smaller models perform reasonably on simple tasks.

💡 Detection: Comparison Test

Call the same model with identical prompt and temperature=0 on both a trusted platform (e.g. OpenRouter) and the proxy. temperature=0 makes outputs deterministic — if results differ, the proxy is using a different model.

Comparison Test Script
from openai import OpenAI

# 1. Call the proxy you want to verify
proxy = OpenAI(api_key="sk-xxx", base_url="https://PROXY_BASE_URL")
proxy_resp = proxy.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Explain quantum entanglement in exactly 3 sentences."}],
    temperature=0
)

# 2. Call a trusted source (e.g. OpenRouter) with the same params
trusted = OpenAI(api_key="sk-or-xxx", base_url="https://openrouter.ai/api/v1")
trusted_resp = trusted.chat.completions.create(
    model="openai/gpt-4o",
    messages=[{"role": "user", "content": "Explain quantum entanglement in exactly 3 sentences."}],
    temperature=0
)

# 3. Compare outputs
print("=== Proxy ===")
print(proxy_resp.choices[0].message.content)
print("\n=== Trusted ===")
print(trusted_resp.choices[0].message.content)
# If outputs differ significantly, the proxy may be using a different model

⚠️ Some newer models (e.g. GPT-5 series) do not support temperature modification. This method works for models that support temperature=0.

🔀 Mixed Routing

Some proxies use official APIs during off-peak hours (passing verification tests) but switch to unofficial sources during peak hours to save costs. This is harder to detect with a single test.

💡 Detection: Multi-Period Testing

Run comparison tests at different times (business hours, evening peak, late night). If results are consistent at some times but not others, the proxy is using mixed routing.

📋 Template Site Detection (new-api / one-api)

Many low-quality proxies use open-source projects like new-api or one-api for quick setup, requiring minimal effort. These sites typically lack in-house development capability. Platforms built with these projects share similar UI patterns, such as the model list page:

Template site example 1
Click to enlarge
Template site example 2
Click to enlarge
Template site example 3
Click to enlarge

Typical new-api / one-api template interfaces. Exercise caution with proxy sites using similar layouts.

Our Verification: Honeypot Testing

All the verification methods described above can be used to test our service. We welcome and encourage any form of authenticity testing. Additionally, we provide the following dedicated verification mechanisms:

1

1. Record Request ID

Record the request_id returned when calling the API.

Python
from openai import OpenAI

client = OpenAI(
    api_key="sk-gr-xxxx",
    base_url="https://YOUR_BASE_URL"
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello!"}]
)

# Check request ID format
print(f"Request ID: {response.id}")
print(f"Model: {response.model}")
print(f"Usage: {response.usage}")
2

2. Provide Test Data

If you find results inconsistent with official API, please provide:

  • •The suspicious request_id
  • •GreatRouter API input/output
  • •Official API input/output (if available)
3

3. We Verify and Process

After receiving feedback, we will:

  1. 1.Query server logs by request_id
  2. 2.Confirm input/output matches your provided information
  3. 3.Call official API with same parameters
  4. 4.Compare results and provide solution

Compensation Promise

Ensuring API authenticity is our foundation. If discrepancy is verified, we will immediately take down the model and compensate 10x the last order amount.

Time Limit

Server logs are kept for 7 days. Please submit feedback within 7 days of the API call.

Track Record

Since 2022, GreatRouter has never had any cases of results inconsistent with official APIs.