By · Last updated 2026-06-16

By · Last updated 2026-05-15

ドキュメント / トークンシステム

トークンシステムの仕組み

トークンはanonym.legalの利用単位です。コインのようなもので、分析・匿名化・復号の各操作ごとに少量消費され、実行前に正確なコストを確認できます。

トークンとは?

トークンは利用クレジットです。テキスト内の個人情報をスキャン・プレースホルダーに置換・元のテキストに復元するたびに、少量のトークンがアカウント残高から差し引かれます。コストは常に事前に分かり、成功した操作にのみ課金されます。

ご注意: anonym.legalでは「トークン」という言葉が2つの意味で使われます。このページは請求トークン(操作に使うクレジット)についてです。サイト上では「トークン化された個人情報」という言葉も使いますが、これはテキスト内の名前を置き換える技術的なプレースホルダー(例:<PERSON_1>)です。請求単位ではなく、直接課金されません。

概要

  • Free
    200/サイクル
    少数の小さなドキュメントでプラットフォームを試すのに十分な量です。
  • Basic — €3 / 月
    1,000/サイクル
    ときどき文書を匿名化する用途に適しています。
  • Pro — €15 / 月
    4,000/サイクル
    多くの文書を定期的に処理する用途に。
  • Business — €29 / 月
    10,000/サイクル
    毎日の大量処理、バッチジョブ、API連携に。

トークンの割り当ては各請求サイクル終了時にリセットされます(Freeは30日、有料プランは31日)。未使用のトークンは翌サイクルに繰り越されません。

トークンを消費する操作

Analyze

テキストをスキャンして個人情報の種類を報告します。最も一般的な操作です。

Anonymize

個人情報を検出して変換(置換・削除・マスク・ハッシュ・暗号化)します。Analyzeより少し多くのトークンを消費します。

Decrypt

暗号化された出力から元のデータを復元します。Analyzeより安価です。

AI Entity Creation

AIでカスタムエンティティ認識器を生成します。リクエストあたり固定50トークン。

無料の操作: トークン残高の確認とコスト見積もりはトークンを消費しません。有料の呼び出しの前に価格をプレビューできます。

文書サイズ別の実コスト

個人情報が密集した英語テキストで計測(エンティティ数は実際に検出された数)。本番環境でアカウントに課金される実際の数値です:

文字数検出エンティティ数解析トークン匿名化トークン合計トークン
1033
181336
283437
554437
20010437
50026549
1,000496511
5,000240171532
10,000478322759
50,0002,381147126273
50,000197381755

目安: For short inputs the analyze charge floors at ~4 tokens (driven by the base cost plus ~0.1 token per enabled entity type). Above 1 000 characters at GUI defaults the cost scales at roughly 1 token per 312 characters.

これらの数値は本番テストスイートから自動的に算出されます。テスト JSONL レポートが再生成され、リプレイが成功するたびに更新されます。

Cost calculator

Estimate exactly what your workload costs. Same formula the live web app charges — verified against 381 production test rows. Edit the inputs; the breakdown and plan quote update live.

1Volume
2,000
2Content

Sparse ≈ marketing copy (~3 hits/1K chars). Typical ≈ business memo (~10/1K). Heavy ≈ medical record or HR file (~50/1K).= 20 PII items per document

3Operations
Per document
Analyze
5
Anonymize / Encrypt
4
Decrypt
MCP detokenize
Total per document9
Per billing cycle
Documents50
× tokens / document9
= tokens this cycle450
What each plan costs you
Free
Free plan has no top-ups — pick a paid plan or reduce volume.
BasicBest fit
Monthly€3
Top-up neededFits without top-ups
Total / cycle3

550 tokens left in cycle

Pro
Monthly€15
Top-up neededFits without top-ups
Total / cycle15

3,550 tokens left in cycle

Business
Monthly€29
Top-up neededFits without top-ups
Total / cycle29

9,550 tokens left in cycle

オペレーターによって変わる?

ほぼ差はありません。同じ160文字の入力を5通りの方法で匿名化した場合:

オペレーター内容トークン
encryptAES-256-GCM(鍵で復元可能)9
hash一方向SHA-256/512ハッシュ3
maskJohn ****のような部分マスク3
redact黒塗り(完全削除)3
replace<PERSON_1>のようなプレースホルダーに置換3

プライバシー要件に合ったオペレーターを選んでください。コストはほぼ同じです。

言語によって変わる?

コストは言語ではなく、文字数と検出エンティティ数によって決まります。対応する48言語のいずれでも、短いテキストは少数のトークンしか消費しません:

言語文字数エンティティ数解析匿名化
zh70443
ja84543
ko89133
ar123743
he123543
bg132543
ru132643
mk135543
it136743
sr136843
hr137543
nl137643
pl137343
hi138343
sl138643
th138543
lv139843
sv141643
is1421043
sk142743
tr142643
ro143543
uk143543
es144743
fa144543
nb144543
cs145843
da145643
de145643
et145643
fr145743
pt145643
lt146543
ur146243
en148743
af149443
fi149643
sw1491043
hu150643
vi151543
ca152743
hy152543
id154643
bn158343
ms160943
el163643
eu163643
tl1631043
Decryptは最も安価な操作です。

19,956文字の暗号化ペイロードから元のデータを復元するコストはわずか10トークンです。匿名化後にDecryptして認可されたユーザーに個人情報を返す場合、Decryptのステップは合計コストのごく一部です。

残量が少なくなったら?トップアップ

有料プランではサイクル途中でトークンを追加購入できます。Freeプランはトップアップ非対応です。Basicにアップグレードすると利用できます。

プラン€1あたりのトークン数実効レート
Basic250€0.40 / 100 tokens
Pro300€0.33 / 100 tokens
Business350€0.29 / 100 tokens

トップアップしたトークンは次のサイクルリセット時に失効します。こちらも繰り越しはありません。

実行前にコストを確認する

  • ウェブアプリでは、 各操作ボタンの横にコストプレビューが表示されます。
  • APIでは、 /api/mcp/balance エンドポイントまたはMCPの anonym_legal_estimate_cost ツールを使用してください。どちらも無料です。
  • 現在の残高と最近の利用状況はいつでも Settings → Accountで確認できます。

よくある質問

未使用のトークンは繰り越しできますか?
いいえ。割り当て分もトップアップ分も、サイクル終了時にリセットされます。
タスクの途中でトークンがなくなったらどうなりますか?
次の呼び出しで不足分を示す402エラーが返されます。トップアップするか、サイクルのリセットを待ってください。
失敗した操作にもトークンは消費されますか?
いいえ。トークンは操作が成功した後にのみ差し引かれます。
オペレーターの選択で価格は変わりますか?
いいえ。replace・redact・mask・hash・encryptはいずれも同じ入力に対してほぼ同じコストです(上の表を参照)。
なぜ操作によってコストが異なるのですか?
AnalyzeとAnonymizeは個人情報の検出処理(コストのかかるステップ)を行います。Decryptは保存されたマッピングを参照するだけなので、はるかに安価です。

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.