Skip to main content
inf claude routes Claude Code through https://api.inference.net using its native Anthropic protocol. Claude Code appends /v1/messages itself, so the base URL has no /v1 suffix.

Config file

inf writes fields in ~/.claude/settings.json (JSON). If CLAUDE_CONFIG_DIR is set, inf uses that directory. inf owns fields, not the whole file.

inf claude on

See Model mapping for supported aliases and limits.

What gets written

inf claude status

Drift warnings print after this block when an owned field is modified or missing.

inf claude off

off restores unchanged owned fields. It keeps fields that you edited after on.

Examples

Use Kimi for the Opus and Sonnet slots:
Restart Claude Code after on or off. See Troubleshooting for drift, recovery, and key revocation.