Skip to content

Hosted Service & Plans

The hosted backend at api.yakulang.com is the default for all yaku users. It requires zero configuration and produces higher-quality translations than local backends for many language pairs.

Hosted (api.yakulang.com)Local (Gemini, OpenAI, Anthropic)
SetupNone — works out of the boxRequires an API key and backend config
Prompt qualityRefined, per-language rules with few-shot examples for many language pairsUniversal, language-agnostic rules only
CostFree tier includedYou pay your LLM provider directly
StreamingNot supportedSupported (--stream)
Custom promptsNot supported (--prompt is ignored)Supported

When to use hosted: You want the best translation quality with no setup.

When to use local: You need streaming output, custom prompts, very long texts (over 50,000 characters), or want to avoid any external service.

AnonymousFreePaid
Daily requests5050Unlimited
Monthly requests100300Unlimited
Max chars per request5,00010,00050,000
How to accessNo setup neededyaku loginComing soon

All plans use the same refined prompts and translation quality. The difference is usage limits only.

Run yaku quota to see your current plan and usage:

Terminal window
yaku quota

Anonymous user output:

Plan: Anonymous
Daily: 3 / 50 requests
Monthly: 15 / 100 requests
Max text: 5,000 chars per request

yaku also prints a hint to stderr: Log in for higher limits: yaku login

Free plan user output:

Plan: Free
Daily: 12 / 50 requests
Monthly: 45 / 300 requests
Max text: 10,000 chars per request

Run yaku login to authenticate via your browser. This upgrades you from anonymous to the free plan immediately:

Terminal window
yaku login
# Opens your browser to complete authentication
yaku whoami
# Logged in as user@example.com (github)

You can authenticate with GitHub or Google. Credentials are stored in ~/.config/yaku/.credentials.

Paid plans are not yet available. When they launch, you will be able to upgrade from your account dashboard.

When you exceed a limit, the hosted service returns a clear error:

Error: input too long (8000 chars). Hosted service limit: 5000 chars per request

Options:

  • Log inyaku login upgrades anonymous (5,000 chars) to free (10,000 chars).
  • Split the text — break large files into smaller chunks.
  • Use a local backend — local backends have no character limit from yaku.
Terminal window
# Switch to a local backend for large texts
yaku --backend gemini --to en -f large-document.md