---
title: "CreateLLMIntegration"
method: POST
path: "/gitpod.v1.RunnerConfigurationService/CreateLLMIntegration"
tags: ["gitpod.v1.RunnerConfigurationService"]
---

# CreateLLMIntegration

`POST /gitpod.v1.RunnerConfigurationService/CreateLLMIntegration`

Creates a new LLM integration for a runner.

 Use this method to:
 - Configure LLM access
 - Set up LLM integrations
 - Enable LLM usage

## Request body

- GitpodV1CreateLLMIntegrationRequest
  - `apiKey` string — api_key is the LLM provider's API key.
  - `endpoint` string
  - `maxTokens` string — max_tokens is the maximum number of tokens to generate before stopping. If set to 0, the model's default will be used.
  - `models` GitpodV1SupportedModel[] — models represents the LLM models this integration supports
  - `runnerId` string, uuid

## Response `200`

Success

- GitpodV1CreateLLMIntegrationResponse
  - `id` string, uuid — id is a uniquely generated identifier for the LLM integration

## Other responses

- `default` — Error

## Changes

- **2025-12-15** `d62ef4b9187c` — 5 info
  - added the new optional request property `maxTokens`
  - added the new `SUPPORTED_MODEL_OPUS_4_5` enum value to the request property `models/items/`
  - added the new `SUPPORTED_MODEL_OPUS_4_5_EXTENDED` enum value to the request property `models/items/`
  - added the new `SUPPORTED_MODEL_SONNET_4_5` enum value to the request property `models/items/`
  - …1 more
- **2025-06-10** `ca9a49ac7fbb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.RunnerConfigurationService/CreateLLMIntegration/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/d62ef4b9187c/schema)
