Trex API Proxy This is a pass-through gateway. Except for the two replacements below, requests and responses work exactly as they do with the upstream service. Parameters, request bodies, response schemas, and status codes stay unchanged, so you can follow each provider's official documentation. 1) Replace the API key with your proxy key (starts with px_) 2) Replace the upstream host with the prefix below and keep the rest of the path unchanged TikHub https://api.trexesports.com/tikhub/api/v1/... Authorization: Bearer px_xxx (/tikhub-ig is a legacy alias for /tikhub and also supports Instagram) Gemini https://api.trexesports.com/gemini/v1beta/... x-goog-api-key: px_xxx or ?key=px_xxx DeepSeek base_url = https://api.trexesports.com/deepseek OpenAI SDK, api_key = px_xxx OpenAI base_url = https://api.trexesports.com/openai/v1 OpenAI SDK, api_key = px_xxx <- include /v1 Need to know which models are available? Query the upstream service through this gateway. Models change quickly, so any fixed list will become outdated: GET https://api.trexesports.com/deepseek/models -> all DeepSeek models GET https://api.trexesports.com/openai/v1/models -> all OpenAI models GET https://api.trexesports.com/gemini/v1beta/models -> all Gemini models (check supportedGenerationMethods) GET https://api.trexesports.com/tikhub/api/v1/tikhub/user/get_all_endpoints_info -> all TikHub endpoints and the price per call All four queries above are free. Use the upstream provider's official documentation as the source of truth for model names, parameters, and capability differences. Get your key: https://key.trexesports.com Each person has a $10 estimated daily spending limit. It resets at UTC 00:00 (8:00 AM Singapore time). The limit is estimated from token usage in upstream responses. A request already in progress may cause the final amount to go slightly over the limit.