OpenAI-compatible · built for coding agents

Your agents. Their models. One endpoint.

Hosty API speaks OpenAI's protocol, so coding agents like opencode plug straight in. Point them at api.hosty.my/v1 with a sk-yus- key and ship. Quota refreshes every week. Subscribe from RM10/mo.

4
models, one endpoint
Weekly
quota refresh, automatic
RM10/mo
200M tokens to start
1B
max weekly quota

Models + code

One endpoint. One model.

Point your agent at https://api.hosty.my/v1 with any sk-yus- key. One model that routes each request across every live upstream model automatically.

01

Get a key

Subscribe at store.yusyus.xyz/hosty-api.php and grab your sk-yus- key (custom vanity keys available).

02

Paste the config

Copy the block below into ~/.config/opencode/opencode.json.

03

Run opencode

hosty/yyy-auto is live. One model — nothing to switch.

opencode.json
{
  "provider": {
    "hosty": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Hosty",
      "options": { "baseURL": "https://api.hosty.my/v1", "apiKey": "sk-yus-YOUR-KEY" },
      "models": { "yyy-auto": { "name": "yyy-auto" } }
    }
  },
  "model": "hosty/yyy-auto",
  "small_model": "hosty/yyy-auto"
}
Save to ~/.config/opencode/opencode.json Model hosty/yyy-auto — the only model
curl
curl https://api.hosty.my/v1/chat/completions -H "Authorization: Bearer sk-yus-YOUR-KEY" -H "Content-Type: application/json" -d '{"model":"yyy-auto","messages":[{"role":"user","content":"Hello"}]}'
Swap in your key from the store — if this returns JSON, your key works.

Manage plans, keys and usage at store.yusyus.xyz/hosty-api.php — api.hosty.my is the endpoint only.

API playground

Run a prompt. Watch it stream.

Pick a model, paste a key if you have one, hit Run. With a key this calls api.hosty.my/v1 for real; without one you get a local simulation so you can still feel the flow.

Model

Your key is never stored or logged — it stays in memory for this one call only.

response · yyy-auto idle
// pick a model, type a prompt, press Run
curl
Same request your Run button makes — swap in your key from the store.
opencode.json
Save to ~/.config/opencode/opencode.json — model follows your selection above.

Base URL https://api.hosty.my/v1 · get a key at store.yusyus.xyz/hosty-api.php

Try it yourself

A terminal you can poke.

Click a command and watch it run. Everything here is a local demo — no keys, no network, just what talking to api.hosty.my/v1 feels like.

demo · zsh simulated
Click a command above to run it.
demo output — not a live session api.hosty.my/v1

Plans & pricing

Tokens that refill every week.

Pick a quota — 200M, 500M or 1B tokens. Monthly or yearly billing, and your quota refreshes every week.

Starter

200Mtokens
RM10 /mo

Billed monthly

Get 200M

Max

1Btokens
RM50 /mo

Billed monthly

Get 1B

Quota refreshes EVERY WEEK. Every plan gets a fresh weekly quota, so you are never waiting on a monthly reset.

Ran dry? Buy a reset.

One reset = a fresh weekly quota, applied immediately. Admins can also grant resets free.

Subscriptions only. Pick a plan — 200M, 500M or 1B tokens, quota refreshes every week.

Plans auto-renew from the Store Wallet. Cancel anytime and you keep the paid period.

Usage at a glance

Usage shows as a percentage bar, 0–100%.

0%
57%
100%

Manage plans, keys and usage at store.yusyus.xyz/hosty-api.php

Quota calculator

Find your plan in seconds

Tell us your monthly token spend. We compare Starter, Scale and Max and tell you which is cheapest — including when extra resets beat upgrading.

1.0B

10M – 10,000M tokens per month. Drag or type.

Billing period

Yearly must be paid upfront for a full year. Effective monthly cost shown below.

Recommendation

…

Plans and resets at store.yusyus.xyz/hosty-api.php.

Max —

RM50 /mo

1B tokens/wk

…

Weekly quota, visualised

Live usage dashboard

What a week on Hosty API looks like: tokens burned per day, quota left, and the next reset — counting down live.

Demo — numbers are illustrative

Tokens used across the week

Demo plan · 200M weekly quota · millions of tokens per day

demo
Quota used 0%

of weekly quota used

Next weekly reset

Resets in —

Quota resets —

Demo credits 3left
Add demo reset packs

Real resets: store.yusyus.xyz/hosty-api.php

Point your agent at Hosty.

Subscribe from RM10/mo, grab your sk-yus- key, paste the config, ship. Quota refreshes every week.

Base URL https://api.hosty.my/v1 · manage plans, keys and usage at store.yusyus.xyz/hosty-api.php