- models
- pricing
- api
Auto routing: name a price, not a model
Two new model ids — ih-auto and ih-auto-smart — route each request to a fast open-weight model at a flat sheet: $1.00 per 1M input tokens and $5.00 per 1M output, whatever the router picks. Smart Auto can additionally escalate a genuinely hard turn to Claude Sonnet 5, billed exactly as if you had named sonnet-5 yourself — picking -smart is the consent to that. Both ids work on the OpenAI Chat wire and the Anthropic Messages wire, so they drop into Cursor, Claude Code, and Kilo Code like any other model id.
Named models on InferenceHub pass through at 0% markup; Auto is the one deliberate exception — the spread between the flat sheet and the routed model's native price is the routing fee, and we say so. It is also not a black box: routing is a deterministic rule table (no LLM classifier reading your prompts), and every turn discloses what served it — in the response's model field, the x-ih-auto header, and the portal's usage view. Conversations stick to their routed model, so agent loops don't flap mid-task.
The Auto ids also unlock context compaction for long agent sessions: conversations that outgrow the pool are automatically trimmed to keep serving where the alternative was a context-window error, and an opt-in x-ih-compact header trims to a working set on demand — billing follows the compacted request, so opting in directly cuts what long sessions cost. On subscription plans, Auto turns (escalations included) draw standard windows and never touch the premium budget, which makes ih-auto-smart the all-day coding id on Plus and Max.