AIHubMix Router

aihubmix-router · OpenAI

New model routing capability; request aihubmix-router to automatically route models based on question complexity, so everyone no longer needs to manually switch models; in our tests comparing the use of the model router versus only using GPT-4.1, we observed up to 60% cost savings while maintaining similar accuracy. The context length of the model router depends on the base model used for each prompt. Input size is 200,000, output size is 32,768. Currently, there are four routing models: gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, o4-mini. Pricing: Due to our current billing structure system, requests through aihubmix-router are billed at the price of gpt-4.1-mini regardless of which final model is used; future billing will be based on the actual model invoked. Everyone is welcome to try it out; the interface will return the name of the actual called model.

API Pricing

Input$0.14 / 1M tokens
Output$1.6 / 1M tokens

Specifications

Modalitiestext, image
Output modalitiestext

Frequently asked questions

What is AIHubMix Router?

New model routing capability; request aihubmix-router to automatically route models based on question complexity, so everyone no longer needs to manually switch models; in our tests comparing the use of the model router versus only using GPT-4.1, we observed up to 60% cost savings while maintaining similar accuracy. The context length of the model router depends on the base model used for each prompt. Input size is 200,000, output size is 32,768. Currently, there are four routing models: gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, o4-mini. Pricing: Due to our current billing structure system, requests through aihubmix-router are billed at the price of gpt-4.1-mini regardless of which final model is used; future billing will be based on the actual model invoked. Everyone is welcome to try it out; the interface will return the name of the actual called model.

How much does AIHubMix Router cost?

On AIHubMix, AIHubMix Router costs $0.14 per million input tokens and $1.6 per million output tokens.

What modalities does AIHubMix Router support?

AIHubMix Router accepts text and image input. It returns text output.

How do I call AIHubMix Router via API?

AIHubMix Router is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to aihubmix-router — no other code changes needed.

Who created AIHubMix Router?

AIHubMix Router is developed by OpenAI. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from OpenAI

See all OpenAI models →

GPT 6.2 Astra

by OpenAI

GPT-6.2 Astra is OpenAI’s reasoning model for complex coding, research, and professional…

$8/1M in · $40/1M out
1,050,000 tokens context

GPT 6.2 Sol

by OpenAI

GPT-6.2 Sol is OpenAI’s general-purpose reasoning model for everyday coding, writing, and…

$2/1M in · $10/1M out
1,050,000 tokens context

GPT 6.1 Terra

by OpenAI

GPT-6.1 Terra is OpenAI’s multimodal reasoning model, supporting text and image inputs…

$1/1M in · $5/1M out
1,050,000 tokens context

GPT Image 2.6 Flare

by OpenAI

GPT-Image-2.6 Flare is OpenAI’s image generation and editing model for posters, product…

From $0.005/image

GPT Image 2.6 Sunburst

by OpenAI

GPT-Image-2.6 Sunburst is OpenAI’s image generation and editing model for visual work…

From $0.005/image

GPT 6.1 Sol

by OpenAI

GPT-6.1 Sol is OpenAI's latest model in the GPT-6 series, specifically designed for…

$2/1M in · $10/1M out
1,050,000 tokens context

Use AIHubMix Router via the AIHubMix unified API — one interface for every major LLM.