Getting started

Overview

Inferlane is an OpenAI-compatible inference lane. Calls are metered by the token and paid on Robinhood Chain.

Preview specification. The API opens at launch; this page describes the interface it will serve.

Base URL

base url
https://inferlane.xyz/v1

Everything under /v1 speaks the OpenAI wire format: POST /v1/chat/completions, POST /v1/embeddings and GET /v1/models. An existing OpenAI SDK works once its base URL points at the lane.

Two ways to pay

  • Prepaid key. Fund a il_sk_ key once and send it as a Bearer token. Each call is charged its exact token cost. The natural fit for apps and anything built on an OpenAI SDK.
  • Pay per call (x402). No key, no account. The first request comes back as 402 Payment Required with a quote; the client signs it and sends the request again. Made for autonomous agents that hold their own wallet.

Authentication

http header
Authorization: Bearer il_sk_...

There are no usernames, emails or passwords. The key is the account and the wallet that funded it is its owner. Refunds always travel back to that wallet.

Keys minted against the test network begin with il_sk_test_. They carry no value and only work there.

In this section