Supported Providers

The external LLM providers you can connect to Kimchi, and how to register them and select models in the Kimchi console.

External providers let you use models from your own provider accounts through Kimchi. You register a provider with its credentials in the Kimchi console, Kimchi routes requests from your tools to that provider, and usage and cost show up in the console next to your Kimchi-hosted traffic.

To use Kimchi's own hosted models from your coding tools, see the setup recipes. Claude Code, for example, connects through the Anthropic-compatible endpoint.

Supported external providers

You can connect the following providers on the Add Provider page in the Kimchi console:

ProviderWhat you provide
OpenAIAPI key
AnthropicAPI key
AzureURL, API version, and API key
Azure AIURL, API version, and API key
Google GeminiAPI key
Vertex AI (Gemini)Project ID, location, and service account credentials
Vertex AI (Anthropic)Project ID, location, and service account credentials
AWS BedrockAccess key pair or IAM Role ARN. See Connect AWS Bedrock
CohereAPI key
GroqAPI key
MistralAPI key
CodestralAPI key
DatabricksURL and API key
GitHub CopilotGitHub token from the device-code flow. See GitHub Copilot

When you select a provider, the Models panel lists the models you can enable for it.

Connect a provider

Open Add Provider

In the Kimchi console sidebar, go to Models > External Providers and click + Add Provider.

The Add Provider page with the Configuration and Models panels

Choose the provider and name it

In the Configuration panel, set Provider to the provider you want to connect and enter a Name your team will recognize, for example bedrock-us-east-1.

Enter the credentials

The credential fields depend on the provider type. The table in Supported external providers lists what each provider needs.

Set the provider options

Two optional settings appear for every provider:

  • Free Credits ($): free credits provided by your LLM provider. Enter the amount so Kimchi can calculate accurate cost savings in Reporting; leave empty if your provider gives you none.
  • Include in CLI: when enabled, this provider's models appear in the CLI model list. When disabled, the provider stays connected for gateway traffic, but its models are not available in the CLI.

Select models and create the provider

In the Models panel on the right, select the models to enable, then click Create Provider.

The created provider page with its configuration and Models panel

Verify the connection

Send a request to the Kimchi gateway with a model from the provider you registered. Replace <your-kimchi-api-key> with your Kimchi API key and <model-id> with one of the models you enabled:

curl https://llm.kimchi.dev/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <your-kimchi-api-key>" \
  -X POST \
  -d '{
    "model": "<model-id>",
    "messages": [
      {
        "role": "user",
        "content": "Test the connection"
      }
    ]
  }'

AWS Bedrock

Run models from your own AWS account through the Kimchi gateway. Register Bedrock in the console with either an access key or an IAM Role ARN. The Role ARN path lets Kimchi assume your role over a cross-account trust relationship with an External ID, so no long-lived AWS credential is stored in Kimchi. The role needs bedrock:InvokeModel, bedrock:InvokeModelWithResponseStream, and bedrock:ListFoundationModels. See Connect AWS Bedrock for the full setup.

GitHub Copilot

Connect GitHub Copilot to route requests to the models included in your Copilot subscription. You register the provider with a GitHub token, and Kimchi exchanges it for short-lived Copilot session tokens automatically, so no manual refresh is needed.

How to get a token

Use GitHub's device-code OAuth flow with the Copilot OAuth App client ID:

# 1. Request a device code
curl -s -X POST https://github.com/login/device/code \
  -H "Accept: application/json" \
  -d "client_id=Iv1.b507a08c87ecfe98&scope=read:user"

Open the verification_uri returned in the response in a browser and enter the user_code.

# 2. Poll for the access token
curl -s -X POST https://github.com/login/oauth/access_token \
  -H "Accept: application/json" \
  -d "client_id=Iv1.b507a08c87ecfe98&device_code=<device_code>&grant_type=urn:ietf:params:oauth:grant-type:device_code"

The access_token value (starting with ghu_...) is your API key. Classic PATs (ghp_) and fine-grained PATs (github_pat_) are not supported.

Register the provider in the console

Open Add Provider

In the Kimchi console sidebar, go to Models > External Providers and click + Add Provider.

Select GitHub Copilot

In the Configuration panel, set Provider to GitHub Copilot and enter a Name your team will recognize.

Paste the token

Paste the ghu_ token into the API Key field.

The GitHub Copilot provider configuration with the API Key field and the docs hint link

Select models and create the provider

In the Models panel, select the models to enable, then click Create Provider.

💡

All requests through this provider use the Copilot quota of the GitHub account that owns this token. For teams, create a dedicated GitHub account with a Copilot seat and share its token.

Using GitHub Enterprise Cloud with data residency? See Connect GitHub Enterprise Copilot.

See also


Did this page help you?