Files
librefang-registry/providers/tencent.toml
T
Evan c192f493b4 fix: route providers through correct APIs (#39)
Providers with known public APIs use their official endpoints:
- meta-llama → api.llama.com/v1
- microsoft → models.inference.ai.azure.com (GitHub Models)
- ibm-granite → us-south.ml.cloud.ibm.com/ml/v1 (watsonx)
- tencent → api.hunyuan.cloud.tencent.com/v1
- morph → api.morphllm.com/v1

16 remaining providers without known public APIs route through
OpenRouter (base_url = openrouter.ai/api/v1, OPENROUTER_API_KEY).

sync-pricing.py updated with PROVIDER_API mapping.
2026-04-02 23:55:42 +08:00

19 lines
436 B
TOML

# tencent — auto-generated from OpenRouter API
[provider]
id = "tencent"
display_name = "Tencent"
api_key_env = "HUNYUAN_API_KEY"
base_url = "https://api.hunyuan.cloud.tencent.com/v1"
key_required = true
[[models]]
id = "hunyuan-a13b-instruct"
display_name = "Tencent: Hunyuan A13B Instruct"
tier = "fast"
context_window = 131072
max_output_tokens = 131072
input_cost_per_m = 0.14
output_cost_per_m = 0.57
supports_streaming = true