Skip to content
Pay as you go

How to use pay-as-you-go

Prepaid credit, no subscription. Add a balance, create a key, and call any model in the catalogue. This guide walks through the whole flow — from sign-up to your first request.

Six steps to your first request

  1. 01

    Create your account

    Sign up with your email address. We send a six-digit code — enter it and your account is ready. No card is needed to create the account.

    New accounts get a small free credit so you can test the API before paying anything.

  2. 02

    Add credit to your balance

    Open Dashboard → Top up and choose any amount at or above the minimum. Pay by UPI or card. Larger top-ups earn a bonus tier, applied automatically at checkout.

    Your balance is prepaid credit. It never expires and is spent only on the requests you actually make.

  3. 03

    Create an API key

    Open Dashboard → API keys and create a key. Copy it once — it is shown in full only at creation. Treat it like a password.

    You can create several keys (for different apps) and revoke any of them at any time.

  4. 04

    Make your first request

    Point any OpenAI-compatible client at the base URL below and pass your key as a Bearer token. The model name is the only thing that changes between models.

    The same key also works with the Anthropic Messages-compatible endpoint at /v1/messages.

  5. 05

    Pick a model

    Every model in the catalogue is one API call away. Browse the live catalogue to see the current per-model rates, context windows and availability, then use that model's ID in your request.

    You can switch models per request — there is no lock-in and no separate plan.

  6. 06

    Track usage and balance

    Dashboard → Usage shows every request with its model, token counts, latency and the exact amount charged. Dashboard → Top up shows your remaining balance.

    Each request is metered at the selected model's published rate and settled against your balance.

What it costs

Minimum top-up

—

Any amount at or above the minimum. Credit never expires and is spent only on the requests you make.

Bonus tiers

Bonus tiers are shown at checkout for your amount.

Per-model rates are published in the live model catalogue. Every request is metered at the selected model's rate and settled against your balance.

Your first request

The API is OpenAI-compatible. Use the base URL https://www.maxonforge.com/v1 and your API key. Replace the model ID with any model from the catalogue.

cURL
curl https://www.maxonforge.com/v1/chat/completions \
  -H "Authorization: Bearer $MAXONFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-6-astra",
    "messages": [
      { "role": "user", "content": "Hello! What can you do?" }
    ]
  }'
JavaScript (OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.MAXONFORGE_API_KEY,
  baseURL: "https://www.maxonforge.com/v1",
});

const reply = await client.chat.completions.create({
  model: "gpt-6-astra",
  messages: [{ role: "user", content: "Hello! What can you do?" }],
});

console.log(reply.choices[0].message.content);
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["MAXONFORGE_API_KEY"],
    base_url="https://www.maxonforge.com/v1",
)

reply = client.chat.completions.create(
    model="gpt-6-astra",
    messages=[{"role": "user", "content": "Hello! What can you do?"}],
)

print(reply.choices[0].message.content)

Using the Anthropic SDK instead? Point it at https://www.maxonforge.com and use the /v1/messages endpoint — the same key works for both.

If something goes wrong

401

Invalid or missing API key

Check that the key is sent as `Authorization: Bearer <key>` and that it has not been revoked. Create a new key in Dashboard → API keys if needed.

402

Insufficient balance

Your prepaid balance is below the cost of the request. Top up in Dashboard → Top up — the minimum is shown at checkout.

404

Unknown model

The model ID does not exist in the catalogue. Copy the exact ID from the live catalogue page.

429

Rate limited

You are sending requests faster than your account allows. Retry after the number of seconds in the `retry_after` field of the response.

Ready to start?

Create an account, add credit when you are ready, and make your first request in minutes. No subscription required.