I get a 404 on `…/v1/chat/completions`.

Last updated: August 6, 2026

A 404 means the endpoint or resource doesn't exist for that request. That usually means a wrong endpoint_id or team_id (The endpoint was created under a different team), a sleeing/terminated endpoint, or the wrong base URL.

Confirm the base URL ( https://api.friendli.ai/serverless/v1 for Model API and https://api.friendli.ai/dedicated/v1 for Dedicated Endpoints) and that the model/endpoint ID is current and valid.

For Dedicated, put the endpoint ID in the request body's model field, and wake the endpoint if it's asleep. See our Dedicated Endpoints docs for more information.