API Catalog
One OpenAI-compatible base URL: https://402ai.net/api/v1.
SDK Quick Use
Every model below is accessed through the same /api/v1 surface.
python
from openai import OpenAI
client = OpenAI(
base_url="https://402ai.net/api/v1",
api_key="abl_your_token_here",
)
resp = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "hello"}],
)
print(resp.choices[0].message.content)Models
BTC/USD unavailable. USD catalog still shown.Prices are accounting-native USD rates. All paid endpoints can start with an L402 challenge when called without a token. Variable-cost L402 calls settle against a conservative estimate; token-backed variable-cost calls reconcile against actual usage.
Loading...