Check out the newest way to compare different models for a task/agent harness: AutoEvals

Command Reference

inf pass

Connect your Inference Pass subscription to local coding agents and desktop apps with automatic plan detection, config repair, and a loopback reverse proxy.

inf pass connects your active Inference Pass subscription to Claude Code, Claude Desktop, OpenCode, Codex, Pi, and Grok. It detects your active plan, provisions and verifies a plan API key via GET /v1/usage, selects a tool-supporting model from your plan's GET /v1/models catalog, and backs up existing agent configs before writing.

Quick Start

inf auth login
inf pass on claude
inf pass status

Subcommands

inf pass on [harness] (alias setup)

Connect one or more local coding agents to your active Inference Pass plan.

  • Supported agents: claude (Claude Code), claude-desktop (Claude Desktop), opencode (OpenCode), codex (Codex), pi (Pi), grok (Grok).
  • If [harness] is omitted, inf pass on detects installed agents and prompts when multiple are present.
  • Existing configuration files are snapshotted on first setup. Running inf pass off restores each managed file to that pre-setup snapshot, which reverts any edits made to those managed files after setup (if no snapshot exists, inf pass off removes only Inference Pass-managed entries).
FlagDefaultDescription
--allfalseConfigure all detected coding agents (or all supported agents when none are detected)
--model <id>Best tool-supporting plan modelPin a specific model ID included in your plan
--port <port>4141Local proxy port written into Claude Desktop's third-party gateway profile
--team <id>Auto-detectedSelect a specific team's Inference Pass plan (accepts team ID, name, or personal)
--jsonfalseEmit structured JSON output
inf pass on claude
inf pass on opencode --model deepseek-v4.1-flash-1017
inf pass on claude-desktop --port 4141
inf pass on --all

inf pass off [harness]

Disconnect coding agents from Inference Pass and restore backed-up settings (or remove Inference Pass-managed fields cleanly when no backup exists).

FlagDefaultDescription
--allfalseDisconnect all connected coding agents
--jsonfalseEmit structured JSON output
inf pass off claude
inf pass off claude-desktop
inf pass off --all

inf pass status (alias usage)

Show active Inference Pass plans, live usage allowance (GET /v1/usage — lane, % remaining, reset time, in-flight concurrency limit), and the health status of connected coding agents.

inf pass status
inf pass usage --json

inf pass doctor

Verify authentication, active Inference Pass status, saved plan key health (GET /v1/usage), plan model availability (GET /v1/models), and every connected agent's configuration on disk.

By default, inf pass doctor self-heals automatically:

  • Mints and verifies a fresh plan key if the saved key is missing, revoked (401), unlinked (404 no_plan), or inactive (403 plan_inactive), updates all connected agents, and archives the replaced key.
  • Replaces removed or non-tool models with the best available tool-supporting model in your plan.
  • Repairs drifted base URLs, mismatched keys, corrupt JSON, and stale legacy env keys while preserving unrelated settings.
FlagDefaultDescription
--checkfalseRead-only check without modifying keys or files (exits non-zero if any issue is found)
--team <id>Auto-detectedVerify against a specific team's Inference Pass plan
--jsonfalseEmit structured JSON diagnostics
inf pass doctor
inf pass doctor --check

inf pass proxy

Start a local, loopback-only (127.0.0.1) reverse proxy for desktop apps such as Claude Desktop, Cursor, Windsurf, Zed, Continue, and OpenCode.

  • Security: Binds strictly to 127.0.0.1, rejects browser Origin headers (403), and validates loopback Host headers (403) to prevent DNS rebinding. The proxy does not log prompts or request bodies and never returns your API key from /health or /status; local plan keys are stored on disk with owner-only (0600) permissions in pass-state.json and your managed agent configs.
  • Desktop URLs:
    • Anthropic / Claude Desktop: http://127.0.0.1:4141
    • OpenAI-compatible apps: http://127.0.0.1:4141/v1
    • Use any non-empty placeholder API key in the desktop app; the proxy injects your active Inference Pass key locally.
  • Self-healing & model mapping: Maps Claude model tiers (--opus, --sonnet, --haiku, --model) and unknown models to models included in your plan, strips unsupported image blocks gracefully when routing to text-only models, and rotates revoked or inactive keys automatically.
  • Local endpoints: GET /health, GET /_inference/health (204 + X-Inference-Pass-Gateway: 1), and GET /status (live plan, lane, usage percentage, reset time, and request/heal counters).
FlagDefaultDescription
--port <port>4141Localhost port to listen on (127.0.0.1 only)
--model <id>Best tool-supporting plan modelDefault model ID for unmapped requests
--opus <id>--modelPlan model ID for Claude Opus requests
--sonnet <id>--modelPlan model ID for Claude Sonnet requests
--haiku <id>--modelPlan model ID for Claude Haiku requests
--team <id>Auto-detectedUse a specific team's Inference Pass plan
--jsonfalsePrint bound URLs and startup metadata as JSON
inf pass proxy
inf pass proxy --port 4141 --opus glm-5.3 --sonnet deepseek-v4.1-flash-1017

Signing out

Running inf auth logout disconnects coding agents connected via Inference Pass and restores backed-up configs. When every connected agent cleans up cleanly, it also archives the active environment's saved plan key and removes local Inference Pass state and backups; if any agent fails to clean up, state, backups, and the plan key are retained so you can retry.

On this page