オープンルーター標準
TKX flips the usual integration burden: instead of us writing an adapter per marketplace, you expose public pricing and we ingest you automatically. Any router, aggregator, inference provider or model lab whose /v1/models carries pricing is normalized, sanity-checked and ranked within the hour.
サポートされる価格方言
Expose per-model pricing in any one of these shapes; TKX normalizes all four to USD per 1M tokens:
// A — OpenRouter スタイル: 文字列としての $/token
"pricing": { "prompt": "0.0000006", "completion": "0.0000024" }
// B — Requesty スタイル: 数値としての $/token
"input_price": 0.0000006, "output_price": 0.0000024
// C — Novita スタイル: 100 万あたりの $ の 1 万分の 1(÷10000)
"input_token_price_per_m": 6000, "output_token_price_per_m": 24000
// D — one-api / new-api style: /api/pricing ratio system (base $2/1M; quota_type=1 rows are skipped)
"model_name": "gpt-5.5", "model_ratio": 2.5, "completion_ratio": 4, "quota_type": 0
データを保護する方法
取り込まれた価格は、表示される前に 3 つの妥当性バルブを通過します。行ごとの妥当範囲チェック、ソースごとの最小サンプルチェック(価格付きモデルが 3 件以上)、そして公式レートカードに対するソースごとの逸脱チェック(マークアップの中央値が極端にずれているソースは丸ごと破棄されます)。不正な単位がボードを汚染することは決してありません。
Usage reporting (optional) — light up your Volume column
The Routers board ranks by 24h traded token volume first. OpenRouter's volume comes from its public rankings; every other marketplace can report its own by exposing one public JSON endpoint (any https URL). We pull it hourly — you never push numbers to us, and anyone can curl your endpoint to audit what we show.
// GET https://your-domain/tkx-usage.json — yesterday's completed UTC day
{
"date": "2026-07-20", // UTC calendar day (YYYY-MM-DD), the last completed day
"total_tokens_24h": 123456789012, // prompt + completion tokens, whole platform
"models": [ // optional but recommended
{ "model_name": "gpt-5.5", "tokens_24h": 12345678 }
],
"requests_24h": 98765, // optional
"spend_usd_24h": 1234.56 // optional
}
Self-reported volume appears with an explicit self badge — never mixed with measured data, never added to OpenRouter's numbers, and never counted into TKX indices. Reports pass validation valves (shape, plausibility caps, freshness ≤3 days, per-model breakdown consistency); a report that fails any valve is dropped whole for that cycle. Self-reported ≠ endorsed: we display and label, readers judge.
掲載してもらう
- 自動: 公開の
/v1/modelsに価格フィールドを公開してください — 次の毎時実行で当社が発見・検証します。 - 登録:掲載申請するからあなたのエンドポイントを送信してください — 当社が検証し、取り込みを開始します。
- 契約: 機械可読の仕様は /api/v1/openapi.json(OpenAPI 3.1)です。