Tokfai
AI API relay for developers and small teams
One key for GPT, Gemini, and image generation — OpenAI-compatible Base URL, credit ledger, usage logs, and failed-request checks.
Tokfai is a small-team API service you can actually buy and run. Start with the ¥99 trial pack to verify Base URL, API key, model calls, and billing — then scale if it fits. Ecommerce and UAV scenarios live on dedicated use-case pages.
https://api.tokfai.com
What you get
Text/code, image generation (async task_id), and client wiring — same Tokfai Base URL. Video is reserved / coming soon.
- Endpoint
- POST /chat/completions
- Recommended model
- auto-fast
- Endpoint
- POST /v1/images/generations
- Recommended model
- nano-banana
- Endpoint
- https://api.tokfai.com/v1
- Recommended model
- auto-fast
How it works
Sign up → top up ¥99 → create a key → set Base URL → call /v1/models and chat → check Usage / Credits.
- 1
Sign up
Create a Tokfai account or log in with your existing credentials.
- 2
Top up ¥99
Buy the ¥99 trial pack first — enough to verify the API without a large prepaid balance.
- 3
Create an API key
Issue a sk-tokfai_… key from the dashboard and store it securely.
- 4
Wire Base URL and smoke-test
Point your client at https://api.tokfai.com/v1, call GET /v1/models, then run a short chat (or Image Workbench for Nano Banana).
- 5
Check Usage / Credits
Confirm charged requests, failed-request behavior, and ledger entries before you scale spend.
Who it's for
Cherry Studio / Cursor setup · small tools, scripts, and side projects · ecommerce titles, detail copy, and image prompts · engineering materials, logs, and document tidy-up · start with ¥99 to verify the API, latency, and cost before you scale.
Who it's not for
Million-RPM workloads · model distillation · training-data supply · large-scale scraping · grey-market or illegal use · large buyers that need a formal SLA first · personal privacy / sensitive data processing as a self-serve offer.
Tokfai is in early public beta — start with a small top-up. If integration, billing, image tasks, or usage logs look wrong, email junpengpanchina@gmail.com for a human review.
Developer quick reference
Swap Base URL and Authorization — keep the rest of your OpenAI-compatible code.
https://api.tokfai.com/v1sk-tokfai_...¥99 trial pack recommended (¥1 = 10,000 credits)Successful calls debit compute credits. Failed calls and image timeouts are usually not charged; Usage and Credits ledger are authoritative.Chat Playground is for text models only. Image Workbench is for Nano Banana image models via async tasks.Bearer sk-tokfai_xxxUse-case pages
OpenAI-compatible API, ecommerce AI credits, and UAV engineering AI — dedicated landing pages.