Token Factory Live

Open models. One API. Pay per token.

MarsCompute Token Factory serves leading open models for text and video through one OpenAI-compatible API. One key reaches every model, and prepaid credit means no subscription and no surprise bill.

Every model through one API

Already using an OpenAI SDK? Change the base URL and the key, and keep the rest of your code.

  • OpenAI-compatible

    Chat completions and streaming in the format your SDK already speaks. To switch models, change the model field.

  • One key, every model

    A single key reaches every text and video model. Limit a key to one model when you want to, and revoke it at any time.

  • Pay only for what you use

    Prepaid credit from $10, charged per request at the published price. A request that fails before answering is not charged.

curl https://api.marscompute.ai/v1/chat/completions \
  -H "Authorization: Bearer $MARSCOMPUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-30b-a3b-instruct-2507",
    "stream": true,
    "max_tokens": 256,
    "messages": [
      {"role": "user", "content": "Count from one to five."}
    ]
  }'
Example of a streamed reply One, two, three, four, five. usage: 17 input tokens, 10 output tokens

Request path

What happens on every call.

Five steps, in this order. Keys, prepaid credit and metering are part of the platform, not something you add later.

The key is verified and matched to its workspace, its member and the model the request names.

Built for production use

Control over cost and access, not only a model list.

Streaming

Responses arrive token by token over server-sent events, with token usage reported at the end of the stream.

One key, every model

A key belongs to one member and reaches every model. Limit a key to one model if you want, and revoke it on its own.

Usage you can audit

Each request is metered by input and output tokens and listed with its cost. Export usage as CSV whenever you need it.

Prepaid credit

Buy credit from $10. Cost is reserved before a request is sent, so spend never runs past your credit.

Team workspaces

Invite members to your workspace. Each member signs in with their own email and manages their own keys.

Safe retries

Send an Idempotency-Key header and a repeated request is not run or charged a second time.

Bring the client you already use.

Sign up and your workspace is ready as soon as you verify your email.