FreeAITokens
日本語

ドキュメント

開発者や、くわしく知りたい方向けの、FreeAITokensの詳しい説明です。とにかく使えるようにしたいだけなら、アプリをダウンロードしてセットアップに進んでください。

コマンドライン

Node.js 20以降があれば、アプリは不要です:

npx freeaitokens               # start the local endpoint
npx freeaitokens add           # add a free provider key (guided)
npx freeaitokens list          # providers, key status, what is left today
npx freeaitokens remove <id>   # delete a stored key

1回だけインストールして使うこともできます: npm install -g freeaitokens。エンドポイントは 127.0.0.1:4949 だけで待ち受け、起動時のバナーに表示されるローカルトークンが必要です。アプリとコマンドは、キーと設定を共有します。

ツールで使う

ツール方法
Claude Codenpx freeaitokens claude(続けてClaude Codeの引数も指定できます)
Codexnpx freeaitokens codex
Gemini CLInpx freeaitokens gemini
OpenCodenpx freeaitokens setup opencode を実行し、モデルに freeaitokens/free を選びます
Kilo Code CLI、Qwen Code、Goose、Aidernpx freeaitokens kilo / qwen / goose / aider
Zed、JetBrains AI、VS Codenpx freeaitokens setup zed / jetbrains / vscode で、貼り付ける内容が表示されます
Continue、Cline、Crush、Roo Codenpx freeaitokens setup cline(またはそのツールの名前)で、設定値が表示されます
OpenAI互換のあらゆるものBase URL http://127.0.0.1:4949/v1、モデル free、キーは起動時のバナーに表示されたもの
Anthropic、Gemini、OllamaのクライアントBase URL http://127.0.0.1:4949、キーは同じもの

ランチャーが影響するのはそのセッションだけで、ツールの設定ファイルには何も書き込みません。setup opencode は、既存のプロバイダーの隣に新しいプロバイダーを追加し、バックアップを残します。--undo で元に戻せます。

できること

チャット以外

同じエンドポイントで、埋め込み(/v1/embeddings)、通常の補完(/v1/completions)、画像(/v1/images/generations)、音声読み上げ(/v1/audio/speech)、文字起こし(/v1/audio/transcriptions)、動画(/v1/videos)のOpenAI形式のルートも使えます。それぞれ、対応する無料プロバイダーに送られ、同じ切り替えと上限管理が働きます。

有料キーは、無料キーの後ろに最後の手段として置けます。リクエストに応えられる無料モデルがないときだけ使われ、有料のリクエストはそのつど表示され、1日の上限もあります。

オプション内容
--port <n>ローカルエンドポイントのポート(初期値は4949)
--free-only有料キーを一切使いません
--paid-cap <n>1日あたりの有料リクエストの最大数(初期値は200)

27社すべてのプロバイダー

すべて合わせると、毎月最大約75.2億の無料トークンが公開されています。この数字は、公表されている無料の上限を足し合わせたもので、リクエスト数の上限しか公表されていない場合は、1リクエストあたり2,000トークンとして数えています。大半は、いくつかの大きな無料枠によるもので、使えるのは各プロバイダーのキーを用意した場合だけです。上限を公表していないプロバイダーは、ゼロとして数えます。

プロバイダーキー無料の上限知っておきたいこと
Kilo Gatewayいいえ非公開No account needed. About 200 requests an hour per IP address. Free prompts and answers may be used for training.
Groq無料キー1モデルあたり1日最大500,000トークン
Cerebras無料キー1モデルあたり1日最大216,000,000トークン
OpenRouter無料キー1モデルあたり1日最大50リクエストFree models allow about 50 requests a day on an account with no credit.
Google Gemini無料キー1モデルあたり1日最大1,000リクエストGoogle's terms limit the API to professional or business use. Free-tier prompts may be used to improve Google's products.
SEA-LION無料キー1分あたり10リクエストGoogle sign-in, one trial key per user, and the terms allow AI Singapore to use content to improve its services.
Typhoon無料キー1分あたり200リクエストA free research showcase API: SCB 10X collects usage data to improve its models and API.
NVIDIA NIM無料キー非公開Free access is a trial for prototyping and testing only; production use needs an NVIDIA AI Enterprise license, and rate limits vary by model and load.
Z.ai (GLM)無料キー非公開Only the Flash models are free. Their rate limits are not published and show only in the Z.ai console.
Nabh Cloud無料キー1モデルあたり1日最大500リクエストReseller. Only GPT OSS 20B is free, at 5 requests a minute and 500 a day.
KiosAPI無料キー非公開Reseller (Indonesia). A small daily free quota on its free-tier models; the amounts are not published. One account per person.
Kenari無料キー1モデルあたり1日最大50リクエストReseller (Indonesia), no company named. Free models are capped at 5 a minute and 50 a day; upstream providers' policies apply.
Plugsky無料キー1モデルあたり1日最大50,000トークンReseller. 100 free requests and 50K tokens a day. The free model does not say what runs underneath, and failover may switch models.
ZRO (MoonMath)無料キー非公開Reseller. The $0 plan gives some DeepSeek V4.1 Flash use each day; the amount is not stated.
Requesty無料キー1モデルあたり1日最大200リクエストReseller. Free models at 200 a day and 20 a minute. Logs are kept 30 days and Requesty may train on free-plan content.
BazaarLink無料キー1分あたり10リクエストReseller (Taiwan). 10 a minute and a small daily allowance. Failed, flagged and sampled requests are kept in full.
Logfare無料キー1モデルあたり1日最大5,000リクエストReseller. 5,000 free requests a day, but you must link Discord and stay in its server. Everything is logged and used for evals unless you opt out.
CheapLLM無料キー非公開Small reseller on its own GPUs. Free during its beta; afterwards only about 5K tokens in and 1K out per hour. One request at a time.
OVHcloud AI Endpointsいいえ1分あたり2リクエストNo account needed. About 2 requests a minute per IP address for each model.
LLM7.io無料キー非公開Small operator with no published free-tier terms or limits; data handling is unclear.
AI Horde無料キー非公開Volunteer workers run the models and can see your prompts; it is queued, slow, has no tool calls, and the model list changes often.
BlockRun無料キー1分あたり30リクエスト
Electron Hub無料キー1モデルあたり1日最大10リクエストProviders behind :free models may train on your prompts. A Neutrino is spent even when a request fails, and going over 5 rpm triggers a 3-minute cooldown.
Septor Labs無料キー1モデルあたり1日最大250,000トークンFree requests go to third-party aggregators (some hosted in China) that may keep prompts; not for personal or sensitive data.
Api.Airforce無料キー1モデルあたり1日最大1,000リクエストSmall reseller with unclear upstream sources; logs IPs and usage, and the free plan allows only 1 request per minute.
Routeway無料キー1モデルあたり1日最大200リクエストOperator is not named in its terms, and requests are scanned before routing to upstream providers.
Cloudflare Workers AI無料キー非公開10,000 free Neurons a day, shared by every Cloudflare model you use (chat, embeddings, images, speech, transcription); resets at 00:00 UTC. The key is your Account ID plus an API token.

まだ対応していないもの

ソースコード、Issue、完全なREADME: GitHub。