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
Pooled cards show Foglare capacity measured from real traffic. Cards labeled Logfare use your linked account instead. Their limits, input types, reasoning controls and endpoints come from Logfare's live catalog, not from a same-named Foglare model. Sign in and connect Logfare to see them.
Loading catalog…
No models match those filters.
Logfare models and endpoints for your account
Video generation waits for the finished video. Logfare jobs can take several minutes. Foglare returns 504 if response headers take longer than 95 seconds, and Cloudflare can cut a silent connection at 120 seconds. This route has no job id or polling endpoint, so longer videos are not reliable through Foglare.
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.
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"}]}'