API

The Lobstack API. A receipt on every call.

OpenAI-compatible. Change one base URL, and every response says which model answered and what it cost.

client = OpenAI(
    base_url="https://api.openai.com/v1",
    base_url="https://www.lobstack.ai/api/gateway/v1",
    api_key="lsk_live_…",
)

Nex is the router: send model: "auto" and the cheapest tier that can answer serves it.

$5 to start, no monthly plan

Anthropic · OpenAI · Google · xAI · One key

Quickstart

Keep your OpenAI SDK. Change one line.

Point the SDK at the Gateway with a Lobstack key. Send model: "auto" and Nex picks the model, or name one yourself.

Quickstart
from openai import OpenAI

client = OpenAI(
    base_url="https://www.lobstack.ai/api/gateway/v1",
    api_key="lsk_live_…",
)

client.chat.completions.create(
    model="auto",
    messages=[…],
)
Nex

Nex, the router, picks the model

  1. 01

    Scored

    Your request is scored for how hard it is: what it asks for, its length and the conversation so far.

  2. 02

    Routed

    The cheapest tier that can answer it serves it, never above your plan’s ceiling.

  3. 03

    Receipted

    The headers name the model served and what it cost against the ceiling.

Run it on your own prompt
Refactor this handler so the retry logic is testable and explain the tradeoffsScore 85
Console

Every call, key and client, on one ledger.

Console · Logs, Clients, Spend capsSample data
Connectors & MCP

Your tools, one click. GitHub, Slack, Notion, Linear, or any MCP server.

Put the Gateway in any agent

$ npx -y @lobstack-ai/mcp

72 connectors · plus any MCP server

One base URL. A receipt on every call.

$5 of Gateway credit once after verification, whether you start with the API or the app, at provider price. Past your plan, provider price + 50%. No card.