Models

Ask for a routing tier or a model by its public id in the model field of either endpoint. Foglare resolves it to live provider capacity at request time, so you pick a size, a speed or a model, never a vendor.

curl https://api.foglare.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"auto:fast","messages":[{"role":"user","content":"Hello"}]}'

Routing tiers

Tiers are model ids you can send right now. Click one to copy it. The gateway resolves each tier against live capacity on every request.

Loading tiers…

S, M, L and XL are dynamic aliases. The descriptions above are what each tier is for, not a fixed vendor model.

Live catalog

The models Foglare serves right now, measured from real traffic. Each one runs on a pool of providers identified by codename. Pin a provider to keep your requests on it, or leave it unpinned and let the gateway pick.

Loading catalog…

Both wire formats accept the same tiers

OpenAI chat completions and Anthropic messages take the same model names. Pin a provider once and it applies whichever format you send.

Get your endpoints
curl https://api.foglare.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"auto:fast","messages":[{"role":"user","content":"Hello"}]}'
curl https://api.foglare.com/v1/messages \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $FOGLARE_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -d '{"model":"auto:XL","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'