Skip to main content
The Completion API gives you provider-compatible completion endpoints through one Langdock API key. Each endpoint follows the official specification of its provider, so you can use existing SDKs and clients by changing the base URL.

Before You Start

  • API key: A personal Model Gateway key, or a workspace key with the Completion API scope. Before the Model Gateway reaches your workspace, a personal API key with Completion API works too. With a personal key you can also send this request to the Model Gateway at https://gateway.langdock.com.
  • Regions: Each endpoint includes a {region} path segment. See the endpoint pages for the supported regions and how to list the models available in your workspace.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Available Endpoints

Rate Limits

Rate limits are enforced per workspace, model, and API key. See the Rate limits section on each endpoint page for the current limits and how they are shared.