HostAiHub
AI API

Every model you need, one endpoint.

Point any OpenAI-compatible client at our endpoint and start calling leading AI models straight away. Prepaid credit, billed per token. No subscription, no minimum, no monthly commitment.

From $0.03 per 1M input tokens · 14 models available

Live OpenAI-compatible
Base URL
https://hostaihub.com/v1
from openai import OpenAI

client = OpenAI(
    base_url="https://hostaihub.com/v1",
    api_key="sk-hah-..."
)

client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Hi"}]
)

Works unchanged with the OpenAI SDKs, LangChain, LlamaIndex, Cursor, and anything else that speaks the OpenAI API.

Pay only for what you use

Credit is drawn down per token as you call. Nothing expires monthly, and there is no bill at the end of the month to be surprised by.

Switch models by changing a string

One key, one base URL, every model below. Compare them against each other without signing up to a new vendor each time.

Usage you can actually see

Every request is itemised in your dashboard — model, tokens in and out, and exactly what it cost.

Models & pricing

Switch between any of these by changing one string in your code. Tap a model id to copy it.

Browse all models
14 models Prices per 1,000,000 tokens, USD — exactly what you are charged.
deepseek-v4-pro
DeepSeek
50% OFF 1M
Input
$0.48
$0.24
Output
$0.96
$0.48
Cached
glm-5.2
Zhipu · GLM
50% OFF 1M
Input
$0.28
$0.14
Output
$0.88
$0.44
Cached
MiniMax-M2
MiniMax
50% OFF 197K
Input
$0.06
$0.03
Output
$0.24
$0.12
Cached
$0.006
$0.003
MiniMax-M2.1
MiniMax
50% OFF 197K
Input
$0.06
$0.03
Output
$0.24
$0.12
Cached
$0.006
$0.003
MiniMax-M2.1-highspeed
MiniMax
50% OFF 197K
Input
$0.12
$0.06
Output
$0.48
$0.24
Cached
$0.006
$0.003
MiniMax-M2.5
MiniMax
50% OFF 197K
Input
$0.06
$0.03
Output
$0.24
$0.12
Cached
$0.006
$0.003
MiniMax-M2.5-highspeed
MiniMax
50% OFF 197K
Input
$0.12
$0.06
Output
$0.48
$0.24
Cached
$0.006
$0.003
MiniMax-M2.7
MiniMax
50% OFF 197K
Input
$0.06
$0.03
Output
$0.24
$0.12
Cached
$0.012
$0.006
MiniMax-M2.7-highspeed
MiniMax
50% OFF 197K
Input
$0.12
$0.06
Output
$0.48
$0.24
Cached
$0.012
$0.006
MiniMax-M3
MiniMax
50% OFF 1M
Input
$0.12
$0.06
Output
$0.48
$0.24
Cached
$0.024
$0.012
qwen3.6-flash
Qwen
50% OFF 1M
Input
$0.20
$0.10
Output
$0.80
$0.40
Cached
qwen3.7-max
Qwen
50% OFF 1M
Input
$0.50
$0.25
Output
$1.50
$0.75
Cached
qwen3.7-plus
Qwen
50% OFF 1M
Input
$0.24
$0.12
Output
$0.96
$0.48
Cached
qwen3.8-max
Qwen
50% OFF 1M
Input
$0.40
$0.20
Output
$1.20
$0.60
Cached
$0.034
$0.017

Ready in about a minute

Create an account, add credit, generate a key. Then change two lines in your code and you are running.

Get started