Halaman ini hanya tersedia dalam bahasa Inggris.

Configuration

Terminalbash
1aile config # every setting, grouped, with * on what you changed
2aile config maxConcurrent 8 # change one
3aile config maxConcurrent # show one, with its default and range
4aile config --reset # restore defaults, keeping sign-in and accounts
5aile config --reset maxConcurrent # reset just one
6aile config --path # print the config file's location

The file on disk holds overrides only: a value equal to the default is pruned rather than written. Every read merges your overrides over the current defaults, which has two useful consequences: a default that changes in a later release reaches you, and an unknown key written by a newer version survives a downgrade.

Changes take effect on the next aile start.

Where it lives

config.json, permissions 0600, written write-then-rename:

  • Windows: %APPDATA%\aile\config.json
  • macOS and Linux: ~/.aile/config.json
  • Override the whole directory with AILE_DATA_DIR.

Account

KeyDefaultWhat it does
renterToken—Your account token. Read-only here: written by aile login, cleared by aile logout, never settable through aile config.
buyerKey—The API key your coding tools use. Read-only here: written by aile setup, cleared by aile setup --remove once no tool uses it. Kept by aile config --reset.

Connection

KeyDefaultRangeWhat it does
serverUrlhttps://api.aile.sh—Relay this machine connects to. Also AILE_SERVER_URL; --server beats both.
allowInsecurefalse—Permit plain http:// to the server. Staging only. The only waiver aile start honours: --insecure covers one command, not the node's reconnects.
maxConcurrent41–64Streams this machine carries at once.
autoReconnecttrue—Reconnect on its own after the link drops.
reconnectMinMs1000250–60000Floor of the reconnect backoff.
reconnectMaxMs600001000–3600000Ceiling of the reconnect backoff.

Retired server addresses

Known-dead hosts are dropped from serverUrl on read rather than dialled, so an old install does not sit retrying an address that no longer exists. If a stale value is the problem, set it explicitly: aile config serverUrl https://api.aile.sh.

Self-hosted

Sharing a model running on your own machine. Off unless you turn it on; see Self-hosted models.

KeyDefaultWhat it does
localEnabledfalseAlso share a self-hosted model.
localEndpoint—OpenAI-compatible base URL. Loopback or LAN addresses only.
localModels—Comma-separated names to advertise. Blank asks the endpoint.
localEngineexternalWhat runs the model: external (a server you run), ollama or llamacpp. Set by aile local setup; aile start starts a managed engine first.
localContext8192Context window, in tokens, for models aile local downloads.
localModelDir—Where downloaded models and llama.cpp go. Blank: %LOCALAPPDATA%\aile\local on Windows, ~/.aile/local elsewhere. Must be an absolute path.

Names are forwarded verbatim

Callers send local/<name>; Aile strips local/ and passes the rest to your endpoint unchanged, so the names you advertise must be exactly the names your endpoint answers to. Advertise llama-3 for an endpoint serving llama3 and those requests will not resolve.

Streams

KeyDefaultRangeWhat it does
connectTimeoutMs150001000–120000How long a single upstream dial may take.
idleTimeoutMs30000010000–3600000How long a stream may go silent before it is dropped.
maxPendingBytes26214416 KiB–4 MiBBackpressure ceiling per stream.

Liveness

KeyDefaultRangeWhat it does
pingIntervalMs300005000–300000How often the node pings the relay.
pongTimeoutMs9000015000–900000How long a missing pong is tolerated before reconnecting.

Requests

KeyDefaultRangeWhat it does
quoteMaxTokens40961–1000000Output ceiling aile price assumes. An estimate only; never sent with a request.

Wallet

Read only by your optional own wallet (aile wallet own). Nothing here is sent to the server.

KeyDefaultRangeWhat it does
walletNetworkmainnetmainnet, devnetSolana network your own wallet uses. Env: AILE_SOLANA_NETWORK.
solanaRpc(empty)URLSolana RPC for your own wallet. Empty means the public endpoint, which is rate-limited. Hidden in aile config output, because providers put the API key in the URL. Env: AILE_SOLANA_RPC.
walletMaxCents501–100000Largest single payment or USDC send your own wallet signs, in US cents. --max-usd overrides it for one command.

Output

KeyDefaultValuesWhat it does
logLevelinfosilent, error, warn, info, debugHow much aile start prints while running.

Nothing here widens egress

No setting can add a host to the egress allowlist. localEndpoint is constrained to loopback and LAN precisely so it cannot become one.