← Docs BakulFor providers

Become a model provider

Serve a chat model we sell, list your endpoint, and get paid for every token you serve to GlianaAI customers. You run the model; we bring the customers, the billing and the payouts.

5%
our margin on top of your price (chat)
$5
minimum payout, USDC on Solana or Base
120 s
to answer a call
0
paid for a failed call; another route serves it

How it works

  1. 01

    A customer calls a model on GlianaAI.

  2. 02

    We send the request to the cheapest route that can serve it. If that is your endpoint, you answer it.

  3. 03

    You earn your price for the tokens you served. The customer pays your price plus our usual margin (5% on chat).

  4. 04

    If your endpoint fails, the customer is served by another route and the failed call is not paid.

Models you can serve

Every chat model we sell. Your price can never be above what our own route costs, so a customer never pays more because of you.

Loading the live list from GET /v1/market…

A model you want to serve is not here? Ask for it on the provider page. We add it to the catalog first, then you can list it.

What your endpoint needs

  • ✓Either API Both plain and stream: true (server-sent events): OpenAI-compatible POST {base_url}/chat/completions with a Bearer key, or Anthropic-compatible POST {base_url}/messages with x-api-key. You pick which when you list it.
  • ✓An https address On a domain name you control, such as https://llm.example.com/v1. No IP address, no port, no username or password in the address.
  • ✓A key Optional but recommended. We store it encrypted and never show it again.
  • ✓An answer within 120 seconds
  • ✓Text only Requests with images stay on our own routes.
The right to sell it

If your endpoint resells another company's API or subscription rather than a model you run yourself, their terms may not allow it, and they could limit or close your account there. That risk stays with you.

Set it up

On your own GPU

  1. 1

    Serve the model with vLLM or SGLang, protected by a key:

    Shell
    export SELLER_KEY=$(openssl rand -hex 24)   # the key you paste into the dashboard
    vllm serve <org>/<model> --api-key "$SELLER_KEY" --port 8000
  2. 2

    Put it behind https on your domain, for example with Caddy (it gets the certificate for you), or with any tunnel that gives you an https address on your own domain:

    Caddyfile
    llm.example.com {
      reverse_proxy localhost:8000
    }
  3. 3

    Check it answers before you list it:

    Shell
    curl https://llm.example.com/v1/chat/completions \
      -H "authorization: Bearer $SELLER_KEY" -H "content-type: application/json" \
      -d '{"model":"<org>/<model>","messages":[{"role":"user","content":"Reply with: ok"}],"max_tokens":256}'

On a hosted endpoint

An OpenAI-compatible inference service also works. Use its base URL and your key for it.

Set your price

  • →Dollars per 1M input tokens and per 1M output tokens, for each model.
  • →At most "Most you may ask" in the table above.
  • →To get calls, ask under "To get calls, ask under". The cheapest route that can serve a call gets it; the next two sellers are tried if it fails.
  • →To change a price, delete the endpoint and list it again. Earnings already made stay owed.

List it

  1. 1

    Sign in at dashboard.glianalabs.com/provider.

  2. 2

    Give your endpoint a name, its base URL and its key.

  3. 3

    For each model: pick it, write the name your server uses for it (for vLLM, the model path you served), and set both prices.

  4. 4

    We send each model a short test (up to 256 tokens). Reasoning models may answer with thinking only; that passes.

  5. 5

    Our team reviews the endpoint. Calls start once it is approved.

You can pause, test again or delete an endpoint at any time. Earnings already made stay owed to you.

Staying healthy

After three failed calls in a row, a model rests and gets no calls until you press "Test again" and it passes. A failed call is not paid. We may pause any endpoint that fails often or misbehaves.

Customers' data

Each request carries a customer's prompt. Use it only to answer that request: do not store, log, share or train on prompts or answers. The full rules are in the seller terms, which you accept by listing an endpoint.

  • 01

    Tokens are counted with a check on your numbers: input up to what we sent, output up to the text and reasoning that came back (with room to spare), and never above the customer's max_tokens. The customer is billed on the same counts.

  • 02

    Thinking counts: reasoning tokens your model returns are paid like any other output.

  • 03

    Earnings keep fractions of a cent, so many small calls add up.

  • 04

    From $5 owed, ask for a payout on the provider page: USDC on Solana or Base, to your address. Our team sends it; you see the transaction there.

Set it up with an AI agent

The glianaai-provider skill walks Claude Code, Codex, Cursor and other agents through serving a model, checking the endpoint and picking a price:

Shell
npx skills add Gliana-Labs/skills -g --skill glianaai-provider

The model list and prices are also plain JSON at GET https://api.glianalabs.com/v1/market.

Ready to list?

Sign in, add your endpoint and its prices. We test it and review it; calls start once it is approved.

List an endpoint →