Developers
API, MCP, and CLI for Vuto 2.
Model vuto-2 · Base URL https://vuto.ai/v2
For AI agents: llms-full.txt
Quickstart
Up and running in 30 seconds.
-
Install Vuto
One command. Works on macOS, Linux, and Windows.
curl -fsSL https://vuto.ai/install | shirm https://vuto.ai/install.ps1 | iex -
Run
vutoOpen or create any subfolder (not your home folder). It signs you in automatically.
mkdir -p my-project && cd my-project && vutomkdir -Force my-project | Out-Null; cd my-project; vuto -
Or plug into your editor & API
Base URL
https://vuto.ai/v2· modelvuto-2· get a key in Console or viaPOST /v2/x402/key.export VUTO_BASE_URL="https://vuto.ai/v2" export VUTO_API_KEY="paste_your_key_here" curl "$VUTO_BASE_URL/chat/completions" -H "Authorization: Bearer $VUTO_API_KEY" -H "Content-Type: application/json" -d '{ "model": "vuto-2", "messages": [ {"role": "user", "content": "Say hello in one sentence."} ] }'// npm install openai · save as hello.mjs · node hello.mjs import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://vuto.ai/v2", apiKey: process.env.VUTO_API_KEY }); const completion = await client.chat.completions.create({ model: "vuto-2", messages: [{ role: "user", content: "Say hello in one sentence." }] }); console.log(completion.choices[0].message.content);# python3 -m pip install openai · save as hello.py · python3 hello.py import os from openai import OpenAI client = OpenAI( base_url="https://vuto.ai/v2", api_key=os.environ["VUTO_API_KEY"], ) completion = client.chat.completions.create( model="vuto-2", messages=[{"role": "user", "content": "Say hello in one sentence."}], ) print(completion.choices[0].message.content)# python3 -m pip install anthropic · save as hello.py · python3 hello.py import os import anthropic client = anthropic.Anthropic( base_url="https://vuto.ai", api_key=os.environ["VUTO_API_KEY"], ) message = client.messages.create( model="vuto-2", max_tokens=1024, messages=[{"role": "user", "content": "Say hello in one sentence."}], ) print(message.content[0].text){ "$schema": "https://opencode.ai/config.json", "provider": { "vuto": { "npm": "@ai-sdk/openai-compatible", "name": "Vuto", "options": { "baseURL": "https://vuto.ai/v2", "apiKey": "{env:VUTO_API_KEY}" }, "models": { "vuto-2": { "name": "Vuto 2", "limit": { "context": 120000, "output": 16384 } } } } }, "model": "vuto/vuto-2" }OpenCode: save the JSON above as opencode.json. Cursor › Settings › Models OpenAI API Key your Vuto API key Override OpenAI Base URL https://vuto.ai/v2 Add Custom Model vuto-2 Chat works; Cursor's Agent mode needs the Responses API.
Authentication
HTTPS only. Server-side only (no CORS).
| Base URL | https://vuto.ai/v2 (Messages: https://vuto.ai) |
|---|---|
| Model | vuto-2 · 16,384 max output |
| Header | Authorization: Bearer <key> or x-api-key |
| Sign in | Passkey, Google, email, or anonymous 24-character account number at /console. Shown once. |
| Keys | /console or POST /v2/x402/key (USDC). |
Transport, x402 recovery & revocation
HTTPS only; use the HTTPS URL directly. Cross-origin browser requests are not supported (no CORS). Keep your key on your server.
Lost an x402 response? Call POST /v2/x402/key/recover with network, payer, and nonce, then sign its fresh SIWE message to replace the key without paying again.
Self-revoke with POST /v2/keys/self/revoke (200, then 401). x402 keys return 409; use recovery instead.
Streaming
Set "stream": true for SSE ending in data: [DONE].
Examples & timeouts
Non-streaming requests have a total timeout. Streams use an initial-response timeout, then an inactivity timeout that resets when model data arrives.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://vuto.ai/v2",
apiKey: process.env.VUTO_API_KEY
});
const stream = client.chat.completions.stream({
model: "vuto-2",
messages: [{ role: "user", content: "Say hello in one sentence." }]
});
stream.on("content.delta", ({ delta }) => process.stdout.write(delta));
const completion = await stream.finalChatCompletion();
console.log("\n" + completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
base_url="https://vuto.ai/v2",
api_key=os.environ["VUTO_API_KEY"],
)
with client.chat.completions.stream(
model="vuto-2",
messages=[{"role": "user", "content": "Say hello in one sentence."}],
) as stream:
for event in stream:
if event.type == "content.delta":
print(event.delta, end="", flush=True)
completion = stream.get_final_completion()
print("\n" + completion.choices[0].message.content)Claude Code & Anthropic SDKs
POST /v2/messages at https://vuto.ai (Anthropic SDK appends /messages; direct HTTP uses /v2/messages).
Claude Code
settings.json & shell config
{
"env": {
"ANTHROPIC_BASE_URL": "https://vuto.ai",
"ANTHROPIC_AUTH_TOKEN": "paste_your_key_here",
"ANTHROPIC_MODEL": "vuto-2",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "vuto-2",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "vuto-2",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "vuto-2",
"CLAUDE_CODE_MAX_CONTEXT_TOKENS": "120000",
"CLAUDE_CODE_MAX_OUTPUT_TOKENS": "16384",
"ENABLE_TOOL_SEARCH": "false"
}
}export ANTHROPIC_BASE_URL="https://vuto.ai"
export ANTHROPIC_AUTH_TOKEN="$VUTO_API_KEY"
export ANTHROPIC_MODEL="vuto-2"
export ANTHROPIC_DEFAULT_OPUS_MODEL="vuto-2"
export ANTHROPIC_DEFAULT_SONNET_MODEL="vuto-2"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="vuto-2"
export CLAUDE_CODE_MAX_CONTEXT_TOKENS=120000
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=16384
export ENABLE_TOOL_SEARCH=false
claudeAnthropic SDKs & OpenCode
Python, Node.js & OpenCode
import os
import anthropic
client = anthropic.Anthropic(
base_url="https://vuto.ai",
api_key=os.environ["VUTO_API_KEY"],
)
message = client.messages.create(
model="vuto-2",
max_tokens=1024,
messages=[{"role": "user", "content": "Say hello in one sentence."}],
)
print(message.content[0].text)import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://vuto.ai",
apiKey: process.env.VUTO_API_KEY
});
const message = await client.messages.create({
model: "vuto-2",
max_tokens: 1024,
messages: [{ role: "user", content: "Say hello in one sentence." }]
});
console.log(message.content[0].text);{
"$schema": "https://opencode.ai/config.json",
"provider": {
"vuto": {
"npm": "@ai-sdk/openai-compatible",
"name": "Vuto",
"options": {
"baseURL": "https://vuto.ai/v2",
"apiKey": "{env:VUTO_API_KEY}"
},
"models": {
"vuto-2": {
"name": "Vuto 2",
"limit": { "context": 120000, "output": 16384 }
}
}
}
},
"model": "vuto/vuto-2"
}Messages
POST /v2/messages
Parameters
| Field | Behavior |
|---|---|
model |
vuto-2, aliases, or claude-* (routed to Vuto 2). |
messages, system |
Text, tool_use, tool_result, base64 PNG, JPEG, WebP or GIF (6144 KiB; no prefill). |
max_tokens |
Required, max 16384. Low balance may cap it (Errors). |
stream |
Anthropic SSE (message_start to message_stop). |
tools, tool_choice |
Custom tools (auto, any, tool, none). Server tools & count_tokens rejected. |
Vuto CLI
Terminal agent (CLI 1.0.13) for macOS, Linux, Windows. Web app: vuto.ai/chat (vuto.ai/app).
curl -fsSL https://vuto.ai/install | shLinux needs curl (sudo apt install curl).
irm https://vuto.ai/install.ps1 | iexAPI reference
Chat completions
POST /v2/chat/completions
Max body 6,291,456 bytes (6144 KiB). Send Content-Length over 512 KiB.
Parameters
| Name | Type | Notes |
|---|---|---|
model Required |
string | vuto-2 or alias. |
messages Required |
array | system, user, assistant, tool (max 6144 KiB; 262,144 context window). |
stream Optional |
boolean | Default false. |
stream_options Optional |
object | { include_usage: boolean } when streaming. |
max_tokens / max_completion_tokens Optional |
integer | 1 to 16,384 (default 4,096). Includes hidden reasoning. Low balance may lower it (Errors). |
temperature / top_p Optional |
number | temperature: 0 to 2 · top_p: 0 to 1. |
stop Optional |
string | array | Up to 4 strings (≤1,024 chars each). |
tools / tool_choice Optional |
array / object | Function tools within 6144 KiB and model context; none, auto, required, or named. |
parallel_tool_calls Optional |
boolean | Accepted hint; not forwarded. |
store Optional |
boolean | null | false/null ignored (logging follows Privacy); true returns 400. |
user Optional |
string | ≤512 chars; hashed, never stored raw. |
Also accepts n: 1, zero penalties, response_format: {"type":"text"}. Other fields (e.g. seed, metadata) return 400 unsupported_parameter with error.param.
Billed input includes Vuto's service instructions. Output includes hidden reasoning. Example token counts are illustrative.
Example response
|
Image generation
POST /v2/images/generations
One 1024x1024 PNG per call, base64 in data[0].b64_json. $0.02 per image.
curl https://vuto.ai/v2/images/generations \
-H "Authorization: Bearer $VUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "vuto-2",
"prompt": "A lighthouse at dusk, watercolor"
}' \
| jq -r '.data[0].b64_json' | base64 -d > image.png# python3 -m pip install openai · save as image.py · python3 image.py
import base64
import os
from openai import OpenAI
client = OpenAI(
base_url="https://vuto.ai/v2",
api_key=os.environ["VUTO_API_KEY"],
)
result = client.images.generate(
model="vuto-2",
prompt="A lighthouse at dusk, watercolor",
)
with open("image.png", "wb") as f:
f.write(base64.b64decode(result.data[0].b64_json))Parameters
| Field | Behavior |
|---|---|
model |
vuto-2 |
prompt |
Required, up to 4,096 characters. |
n, size, response_format |
Optional: 1, 1024x1024, b64_json only. |
Other fields return 400 invalid_image_request. Sexual content involving anyone under 18 returns 400 child_safety, not charged.
Usage & MCP
GET /v2/usage · POST /mcp
Balance (availableCredits), UTC spend (spentCredits), and MCP tools vuto_chat, vuto_usage, vuto_find_code.
MCP setup & example response
Export VUTO_API_KEY first, add Vuto to Claude Code, then run /mcp. quota spans all eligible grants; ?day=YYYY-MM-DD selects a UTC day.
claude mcp add -t http vuto https://vuto.ai/mcp -H "Authorization: Bearer $VUTO_API_KEY"claude mcp add -t http vuto https://vuto.ai/mcp -H "Authorization: Bearer $env:VUTO_API_KEY" |
Monero billing
GET POST https://vuto.ai/v2/billing/xmr
Direct XMR invoices for credit packs and 30-day plans.
Endpoints & examples
| Route | Behavior |
|---|---|
GET /v2/billing/xmr |
Lists status, packs, plans, last 5 payments, quota. |
POST /v2/billing/xmr |
Send {"pack": "<id>"} or {"plan": "<id>"}. Plans require an account (403 plan_requires_account). |
GET /v2/billing/xmr/<id> |
Polls payment status; GET /v2/billing/xmr/<id>/qr.svg serves QR SVG. |
curl -X POST "https://vuto.ai/v2/billing/xmr" \
-H "Authorization: Bearer $VUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"pack": "credits-5"}'curl "https://vuto.ai/v2/billing/xmr" \
-H "Authorization: Bearer $VUTO_API_KEY"
curl "https://vuto.ai/v2/billing/xmr/xp_00000000000000000000000000000000" \
-H "Authorization: Bearer $VUTO_API_KEY"Reports
POST /v2/reports
Send {"excerpt": "..."} (1 to 1,500 chars, optional reason). Limit: 10/min, 20/day.
Errors
Check GET /__vuto/model-status (no key; never wakes model). Failed 503 calls are not charged.
Error codes
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_parameter / unsupported_parameter / invalid_json | Validation error. |
| 400 | context_length_exceeded | Exceeds model context limit. |
| 401 | invalid_api_key | Missing, malformed, or revoked key. |
| 404 | model_not_found / not_found | Unknown model ID or path. |
| 405 | method_not_allowed | HTTP method not supported. |
| 413 | request_too_large | Body over 6144 KiB. |
| 429 | rate_limit_exceeded | Rate limit; wait Retry-After. |
| 429 | provider_rate_limited | Upstream rate limit; check Retry-After. |
| 429 | model_busy | Slots busy; retry after Retry-After. Not charged. |
| 429 | insufficient_quota | Low credit; add credits in console. |
| 502 | provider_error | Upstream failed; retry. |
| 502 / 503 | provider_unavailable | Upstream unreachable. 503 disables auto-retry. |
| 503 | model_warming / model_offline | Model unavailable; check status. Not charged. |
| 504 | provider_timeout | Request timed out; try again. |
| 500 | internal_error | Unexpected server error. |
| 500 | accounting_error | Accounting failed; save x-request-id. |
Error envelopes & status headers
Model status (cached 30s, stale up to 5 min): ready, starting (wait retry_after_s), offline (starts_on_request: true wakes on call), unknown.
Headers: x-request-id, x-vuto-max-tokens. Low balance lowers budget to 2,048 or 1,024 with x-vuto-max-tokens-lowered: low_credit and x-vuto-output-budget.
|
POST /v2/messages omits error.code and error.param (429 maps to rate_limit_error, 503 to overloaded_error).
|
Mid-stream errors cannot change HTTP 200 (Messages sends event: error). Respect Retry-After and x-should-retry: false.
Rate limits
Limits apply per API key and across the service. On 429, wait for Retry-After.
Pricing & billing
- Input
- 12.00 USD / 1M tokens
- Cached input
- 1.00 USD / 1M tokens
- Output
- 60.00 USD / 1M tokens
- Credits
- 1 credit = $1 · packs never expire · plans reset each period
- Keys
- Shown once
- Balance
GET /v2/usageor /console- Payment
- Card (Stripe), USDC (x402), Monero or cryptocurrency
- Support
- hello@vuto.ai
Pro
20.00 USDEveryday usage · 30 days
Max
100.00 USD6× more usage than Pro · 30 days
Ultra
200.00 USD15× more usage than Pro · 30 days
5 credits
5.00 USDOne-time
25 credits
25.00 USDOne-time
100 credits
100.00 USDOne-time