All models

Claude Sonnet 5

anthropic/claude-sonnet-5
Anthropic LLMChat

Anthropic's balanced Claude 5 — frontier quality at mid-tier price.

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/chat/completions \
  -H "content-type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5",
    "messages": [{"role": "user", "content": "<your message>"}],
    "max_tokens": 0
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/chat/completions \
  -J '{"model": "anthropic/claude-sonnet-5", "messages": [{"role": "user", "content": "<your message>"}], "max_tokens": 0}'

Parameters

Input
messages array required
max_tokens number required
system string optional
stream boolean optional
metadata object optional
Output
Chat completion (OpenAI-compatible)