Autarcho
v0.1.1Open-model inference billed per generated token in USDC on Solana.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_models List models
List the open models this key can call, as ids to pass to chat_completion. Use this first, and again if a call fails with model_not_found: availability changes as independent operators come and go.
get_price Get price
Read the billed price of one model in micro-USDC per generated token, before spending anything. Input tokens are free. Use this when the caller cares what a completion will cost.
| Parameter | Type | Description |
|---|---|---|
model * | string | A model id from list_models. |
chat_completion Chat completion
Run one completion on an open model and return the text. Billed per generated token in USDC; max_tokens defaults to 256 and is capped at 2048. The prompt is not billed but is sent to the operator running the model, so do not send secrets.
| Parameter | Type | Description |
|---|---|---|
messages * | array | The conversation, oldest first. |
model * | string | A model id from list_models. |
max_tokens | integer | Generated tokens to allow. Capped at 2048. |
temperature | number | Sampling temperature. |
get_balance Get balance
Read the credit left on this key, in USDC. Use this after a refusal with insufficient_quota, or before a long job.