本文へ移動

Billing & usage

1 credit = $1 相当。プラン(Pro / Team / Max / Ultra)は毎月の AI credits と保存容量を含み、都度チャージ(整数ドル $10〜$1000、12 か月有効)でいつでも足せます。入力 / キャッシュ入力 / 出力の tokens が provider receipt ごとに micro-USD で計上され、同じ書き込みで残高から引かれます。自動チャージは既定オフで、オンのときだけ動きます。

残高を読む(PAT でも可)
GET https://api.mithril.fund/v1/billing/status
Authorization: Bearer $KOTOBA_API_TOKEN

→ {"status": "connected", "plan": "pro",
   "balances": [{"scope": "ai", "grantedMicroUSD": 12000000, "spentMicroUSD": 243,
                  "reservedMicroUSD": 0, "availableMicroUSD": 11999757}, ...]}
単価
per million tokens: input $0.9 · cached input $0.225 · output $4.5
storage $0.2 per GiB-month · egress $0.09 per GiB

plans (USD / month): Pro $20 = 12 credits + 20 GiB · Team $150 = 60 credits + 50 GiB · Max $100 = 60 credits + 100 GiB · Ultra $200 = 120 credits + 250 GiB
top-ups (one-time, 12 months): AI Credits $25 · Storage Credits $25 · Credits 50 = 51 credits (+2%) · Credits 100 = 103 credits (+3%) · Credits 500 = 525 credits (+5%) · Credits 1000 = 1100 credits (+10%)
the billing page sells the SKUs a live price exists for (catalog purchasable)

まとめ買いの credits パックは購入時にボーナスが付きます(50→51 / 100→103 / 500→525 / 1000→1100 credits)。自由額の入金($10〜$1,000)とどちらか一方で十分です。購入は console.mithril.fund/billing/ から(Stripe Checkout、USD、税別)。付与は支払い済み invoice の webhook からのみ行われ、成功 URL への戻りでは何も付与されません。