Give your agent every model, pay per call.
One install puts 229 text, image, video and audio models inside your coding agent, each cheaper than going direct. Allocate your discount as savings or token buybacks. Chat runs on your key; images, video and audio can be paid per call in USDC, with no account at all.
One command. Every model.
Pick your client and paste the line. The plugin source is public at github.com/xavalabs/xinf-plugin.
Paste this in your terminal.
claude plugin marketplace add xavalabs/xinf-plugin && claude plugin install xinf@xinf
Then set your key: export XINF_API_KEY=xk_live_... (skip it to use only the catalog and x402 media). This deployment is not the default origin, so also: export XINF_BASE_URL=https://zinf.dev
Paste this in your terminal.
codex plugin marketplace add xavalabs/xinf-plugin && codex plugin add xinf@xinf
Then set your key: export XINF_API_KEY=xk_live_... (skip it to use only the catalog and x402 media). This deployment is not the default origin, so also: export XINF_BASE_URL=https://zinf.dev
Paste this in Cursor chat.
/add-plugin https://github.com/xavalabs/xinf-plugin
Then set your key: export XINF_API_KEY=xk_live_... (skip it to use only the catalog and x402 media). This deployment is not the default origin, so also: export XINF_BASE_URL=https://zinf.dev
Paste this in your terminal.
gemini extensions install https://github.com/xavalabs/xinf-plugin --consent
Then set your key: export XINF_API_KEY=xk_live_... (skip it to use only the catalog and x402 media). This deployment is not the default origin, so also: export XINF_BASE_URL=https://zinf.dev
Paste this in your terminal.
curl -fsSL https://raw.githubusercontent.com/xavalabs/xinf-plugin/main/scripts/install-opencode.sh | sh
Then set your key: export XINF_API_KEY=xk_live_... (skip it to use only the catalog and x402 media). This deployment is not the default origin, so also: export XINF_BASE_URL=https://zinf.dev
Paste this in Kimi chat.
/plugins install https://github.com/xavalabs/xinf-plugin
Then set your key: export XINF_API_KEY=xk_live_... (skip it to use only the catalog and x402 media). This deployment is not the default origin, so also: export XINF_BASE_URL=https://zinf.dev
Paste this in your terminal.
pi install git:github.com/xavalabs/xinf-plugin@v0.1.0
Then set your key: export XINF_API_KEY=xk_live_... (skip it to use only the catalog and x402 media). This deployment is not the default origin, so also: export XINF_BASE_URL=https://zinf.dev
Paste this into Cline's MCP settings.
{
"mcpServers": {
"xinf": {
"type": "streamableHttp",
"url": "https://zinf.dev/mcp",
"headers": { "Authorization": "Bearer xk_live_..." }
}
}
}Your key from the dashboard goes in the Authorization header.
Paste this into Windsurf's MCP settings.
{
"mcpServers": {
"xinf": {
"serverUrl": "https://zinf.dev/mcp",
"headers": { "Authorization": "Bearer ${env:XINF_API_KEY}" }
}
}
}Your key from the dashboard goes in the Authorization header.
Add these two lines to your app's settings.
OPENAI_BASE_URL=https://zinf.dev/v1 OPENAI_API_KEY=xk_live_...
Pay per call. No account.
Your agent can pay for each image, video or audio clip by itself, in USDC, from its own wallet. No sign-up and no top-up.
Add our plugin to your agent with one copy and paste.
Point it at a Solana wallet that holds a little USDC. Keep this wallet just for your agent.
Tell it the most it may spend per call and per session. It asks you before going over.
claude plugin marketplace add xavalabs/xinf-plugin && claude plugin install xinf@xinf export XINF_X402_KEYPAIR=~/.config/solana/xinf-agent.json export XINF_X402_MAX_PER_CALL_USD=0.25 export XINF_X402_SESSION_BUDGET_USD=2
Restart Claude Code and ask it for an image. It shows the price and pays within your limit.
codex plugin marketplace add xavalabs/xinf-plugin && codex plugin add xinf@xinf export XINF_X402_KEYPAIR=~/.config/solana/xinf-agent.json export XINF_X402_MAX_PER_CALL_USD=0.25 export XINF_X402_SESSION_BUDGET_USD=2
Restart Codex and ask it for an image. It shows the price and pays within your limit.
/add-plugin https://github.com/xavalabs/xinf-plugin export XINF_X402_KEYPAIR=~/.config/solana/xinf-agent.json export XINF_X402_MAX_PER_CALL_USD=0.25 export XINF_X402_SESSION_BUDGET_USD=2
Restart Cursor and ask it for an image. It shows the price and pays within your limit.
gemini extensions install https://github.com/xavalabs/xinf-plugin --consent export XINF_X402_KEYPAIR=~/.config/solana/xinf-agent.json export XINF_X402_MAX_PER_CALL_USD=0.25 export XINF_X402_SESSION_BUDGET_USD=2
Restart Gemini CLI and ask it for an image. It shows the price and pays within your limit.
curl -fsSL https://raw.githubusercontent.com/xavalabs/xinf-plugin/main/scripts/install-opencode.sh | sh export XINF_X402_KEYPAIR=~/.config/solana/xinf-agent.json export XINF_X402_MAX_PER_CALL_USD=0.25 export XINF_X402_SESSION_BUDGET_USD=2
Restart OpenCode and ask it for an image. It shows the price and pays within your limit.
/plugins install https://github.com/xavalabs/xinf-plugin export XINF_X402_KEYPAIR=~/.config/solana/xinf-agent.json export XINF_X402_MAX_PER_CALL_USD=0.25 export XINF_X402_SESSION_BUDGET_USD=2
Restart Kimi and ask it for an image. It shows the price and pays within your limit.
pi install git:github.com/xavalabs/xinf-plugin@v0.1.0 export XINF_X402_KEYPAIR=~/.config/solana/xinf-agent.json export XINF_X402_MAX_PER_CALL_USD=0.25 export XINF_X402_SESSION_BUDGET_USD=2
Restart Pi and ask it for an image. It shows the price and pays within your limit.
Works for 117 image, video and audio models. How it works under the hood: x402 docs.
Build agentic apps with one key.
Use the same key in your own apps and agents instead of a chat window. Every model, cheaper than going direct, through any OpenAI-compatible SDK.
Create an account and an API key, then set it where your app runs.
from openai import OpenAI
client = OpenAI(
base_url="https://zinf.dev/v1",
api_key="xk_live_...", # your Xava Inference key
)
r = client.chat.completions.create(
model="openai/gpt-5.4",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)Questions from agent builders.
What does the plugin do?
Do I need an account?
What is x402?
Can my agent overspend?
Which agents are supported?
Where does my API key live?
Do you store prompts or outputs?
Everything else is in the docs.
Per-client setup, the MCP tool reference and the full x402 exchange.