Give your agent every model.
One install. 312 models at list price, on one key. Every prompt buys back a token you pick.
One command. Every model.
Pick your client, paste one line. The plugin is open source on GitHub.
Paste this in your terminal.
claude plugin marketplace add xavadao/xinf-plugin && claude plugin install xinf@xinf --config base_url=https://xavainf.com && claude mcp login plugin:xinf:xinf
Then sign in: The command ends by opening your browser: sign in, pick a monthly cap, Allow. Done. If Claude Code ever says the server needs authentication: /mcp, pick plugin:xinf:xinf, Authenticate.
In Claude Desktop, open Settings > Connectors > Add custom connector and paste this URL.
https://xavainf.com/mcp/account
Then sign in: Click Connect: sign in in the browser, pick a monthly cap, Allow. Team and Enterprise plans: an owner adds it under Organization settings > Connectors.
Paste this in your terminal.
codex plugin marketplace add xavadao/xinf-plugin && codex plugin add xinf@xinf && codex mcp login xinf
Then sign in: The command ends by opening your browser: sign in, pick a monthly cap, Allow. Done. To sign in again later: codex mcp login xinf.
Paste this in your terminal.
curl -fsSL https://raw.githubusercontent.com/xavadao/xinf-plugin/main/scripts/add-mcp.mjs | node --input-type=module - cursor --login
Then sign in: With the Cursor CLI installed, the command ends by opening your browser: sign in, pick a monthly cap, Allow. Only the app: Settings > MCP, click "Needs login" next to xinf, then Allow. Later: cursor-agent mcp login xinf.
Paste this in your terminal.
gemini extensions install https://github.com/xavadao/xinf-plugin --consent && gemini
Then sign in: Gemini asks "Authentication required for MCP Server: xinf ... Do you want to continue?": press Enter, sign in in the browser, pick a monthly cap, Allow. Later: /mcp auth xinf.
Paste this in your terminal.
curl -fsSL https://raw.githubusercontent.com/xavadao/xinf-plugin/main/scripts/install-opencode.sh | sh && opencode mcp auth xinf
Then sign in: The command ends by opening your browser (opencode mcp auth xinf): sign in, pick a monthly cap, Allow.
Paste this in Kimi Code chat.
/plugins install https://github.com/xavadao/xinf-plugin
Then sign in: Choose "Trust and install", run /new, then /mcp-config login plugin-xinf:xinf: sign in in the browser, pick a monthly cap, Allow. Kimi Code must be signed in (its model runs the login).
Paste this in your terminal.
pi install git:github.com/xavadao/xinf-plugin@v0.1.1 && pi "/mcp-auth xinf"
Then sign in: The command ends by opening your browser (pi "/mcp-auth xinf"): sign in, pick a monthly cap, Allow. Later, inside Pi: /mcp-auth xinf.
Paste this into Cline's MCP settings.
{
"mcpServers": {
"xinf": {
"type": "streamableHttp",
"url": "https://xavainf.com/mcp/account"
}
}
}Then sign in: In the MCP Servers panel, xinf shows Authenticate: click it, sign in in the browser, Allow (VS Code asks once to open the link back).
Paste this into Windsurf's MCP settings.
{
"mcpServers": {
"xinf": {
"serverUrl": "https://xavainf.com/mcp/account"
}
}
}Then sign in: Refresh the MCP servers in Cascade and sign in to xinf when it asks (browser, monthly cap, Allow). If Windsurf offers no sign-in, use the device login and the key config below.
Add these two lines to your app's settings.
OPENAI_BASE_URL=https://xavainf.com/v1 OPENAI_API_KEY=xk_live_...
Use Claude Code with your key.
Set your API key, base URL and model to run the agent from your balance. No plugin needed.
export XINF_API_KEY="xk_live_REPLACE_WITH_YOUR_KEY"
Claude Code
export ANTHROPIC_BASE_URL="https://xavainf.com" export ANTHROPIC_AUTH_TOKEN="$XINF_API_KEY" export ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-haiku-4-5" claude --model claude-sonnet-5
Set XINF_API_KEY to your dashboard key first. Use the site origin without /v1: Claude Code adds /v1/messages. ANTHROPIC_AUTH_TOKEN sends your key as a bearer token; ANTHROPIC_API_KEY is an alternative for x-api-key authentication. Use one credential variable, clearing a conflicting one if needed. The example pins Sonnet and background Haiku; select models available in this site's catalog. Run /status to check the base URL and credential source.
Codex
model = "openai/gpt-5.4-mini" model_provider = "xinf" web_search = "disabled" [model_providers.xinf] name = "Xava Inference" base_url = "https://xavainf.com/v1" env_key = "XINF_API_KEY" wire_api = "responses" requires_openai_auth = false # then, in the terminal with your key exported: # codex --profile xinf
Create this separate file alongside ~/.codex/config.toml, then run codex --profile xinf in the terminal where XINF_API_KEY is exported. Current Codex uses top-level profile settings, not a [profiles.xinf] table in config.toml. Include /v1 in base_url; Codex adds /responses. env_key is the variable's name, not the secret. Choose an available OpenAI text model; bare ids such as gpt-5.4-mini also work. Web search is disabled because hosted search tools are not supported by this API.
Gemini CLI
export GOOGLE_GEMINI_BASE_URL=https://xavainf.com export GEMINI_API_KEY=$XINF_API_KEY gemini -m gemini-2.5-flash
Choose "Use Gemini API key" when Gemini CLI asks how to sign in. Gemini model ids map to our catalog; any other chat model works by its full id. Token counts are estimates; cached content and the file API are not supported.
No key yet? Create one, or run the device login from your agent's setup above: it saves one to ~/.xinf/credentials. Details: agent docs.
Build agentic apps with one key.
Your own code, any OpenAI-compatible SDK.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://xavainf.com/v1",
api_key=os.environ["XINF_API_KEY"],
)
r = client.chat.completions.create(
model="openai/gpt-5.4",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)