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.

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="model-name",
    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

Prices are per 1,000,000 tokens in US dollars. What you see here is what you are charged.

The model list is being finalised. Check back shortly.

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