Skip to content
laminarity

OpenAI-compatible · Open-weight models

Open-weight LLMs.$0.15 per million tokens.

DeepSeek V4 Flash, GLM 5.3 Flash and MiniMax M2.7 behind one OpenAI-compatible endpoint. Top up, create a key, change one line of code.

No subscription · Pay with USDC, USDT or a card · Revoke keys any time

from openai import OpenAI

client = OpenAI(
    base_url="https://api.laminarity.uk/v1",
    api_key="sk-or-...",
)

reply = client.chat.completions.create(
    model="deepseek-ai/DeepSeek-V4-Flash-0731",
    messages=[{"role": "user", "content": "Explain laminar flow in one line."}],
)
print(reply.choices[0].message.content)

$0.15

per million tokens, input and output

400K

tokens of context on DeepSeek and GLM

3

open-weight model families, one key

1 line

to switch an OpenAI client: base_url

Models

Three open-weight families. One price.

Every model costs the same $0.15 per million tokens. Pick by the job, not by the bill.

All model details

How it works

From zero to first token in three steps.

  1. 1

    Sign in

    Connect a wallet or open the Telegram mini app. No email, no password, nothing to verify.

  2. 2

    Add balance

    USDC on Base from your wallet, USDT on TON, or a card through an on-ramp partner.

  3. 3

    Create a key

    Name it, copy it once, use it with any OpenAI SDK. Revoke it in one click.

Open the dashboard
Illustration of the dashboard. Your real numbers appear after you sign in.

Laminarity MCP

Let your coding agent delegate the cheap work.

An MCP server for Claude Code, Codex and OpenCode. It hands self-contained subtasks that have a check — tests, a linter, a type checker — to DeepSeek V4 Flash with your Laminarity key, runs the check in a sandbox and applies the patch only when it passes.

  • Checked, not guessed. A patch lands only after the whitelisted check passes and a calibrated yes/no gate agrees.
  • Accounted to the token. Both sides are metered, so the report shows whether delegation actually saves money.
  • One static binary. macOS, Linux and Windows; your code leaves the machine only with your consent.
export LAMINARITY_API_KEY=sk-or-...
cd your-repo
spu-mcp init claude-code
spu-mcp doctor

The init command asks before it writes anything and merges into your existing client config.

Built for agents

No account? Pay per request.

Autonomous agents can skip keys entirely: the first call answers HTTP 402, the agent signs a USDC payment on Base and retries. That is the x402 protocol.

Read the x402 guide

Quoted before you pay

The price comes from the prompt size and max_tokens, with a $0.001 minimum. Set max_tokens to pay less.

Discoverable by machines

OpenAPI 3.1, /.well-known/x402, APIs.json and llms.txt describe every endpoint and price.

FAQ

Questions, answered.

Still unsure? The docs cover every endpoint.

Does it work with the OpenAI SDK?

Yes. Set the base URL to https://api.laminarity.uk/v1 and pass your Laminarity key as the API key. Chat completions, streaming and the model list follow the OpenAI format, so existing code keeps working.

How much does it cost?

API keys are billed from a prepaid balance at $0.15 per million tokens — the same rate for input and output and for every model. Each response carries the x-openrelay-charged-usd and x-openrelay-balance-usd headers, so you always see what a call cost and what is left.

How do I pay?

Three ways: USDC on Base signed from your own wallet (no gas, the facilitator submits the transfer), USDT on TON from Telegram Wallet or Tonkeeper, or a bank card through an on-ramp partner that delivers USDC to your wallet.

Do I need an account?

To use API keys you sign in with a Base wallet — one signed message, no transaction — or through the Telegram mini app. Agents that pay per request with x402 need no account at all.

What happens when my balance runs out?

Requests made with your key are refused until you add balance. The balance can never go below zero, so there is nothing to owe.

Where do the models run?

On the Gonka network, a decentralized network of GPU hosts serving open-weight models. Treat it like any third-party API and keep secrets out of your prompts.

Can I use it in Cursor, LiteLLM or LangChain?

Anything that speaks the OpenAI API works: set the base URL and the key. The integrations guide has ready-made settings for Cursor, LiteLLM and the official SDKs.

Your first million tokens cost fifteen cents.

Sign in with a wallet or Telegram, add a few dollars and start building.