Documentation / Quickstart

Your endpoint.
Your tools.

Use one Base URL, API key and model ID in your coding tools or application. This guide previews the planned integration for launch.

Planned API interfaceLaunching in Q4 2026

01 / Credentials

Three values. That is the setup.

When your account is activated, the dashboard will provide the connection details you need. Copy them into any supported OpenAI-compatible client.

CONNECTION DETAILSEXAMPLE
Base URLhttps://app.hommmai.net/v1
API keyllmu_••••••••••••••••
Model IDkimi-k2.7-code
ProtocolOpenAI-compatible Chat Completions

Example values only. Final credentials and the verified API reference will be issued in your dashboard when access is activated.

02 / Quickstart

Send your first request.

Set your key as an environment variable, then call the planned Chat Completions endpoint directly or through an OpenAI-compatible SDK.

TerminalcURL
curl "https://app.hommmai.net/v1/chat/completions" \
  -H "Authorization: Bearer $HOMMMAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.7-code",
    "messages": [
      {
        "role": "user",
        "content": "Review this TypeScript function for race conditions."
      }
    ]
  }'
JavaScriptfetch
const response = await fetch(
  "https://app.hommmai.net/v1/chat/completions",
  {
    method: "POST",
    headers: {
      "Authorization": `Bearer ${process.env.HOMMMAI_API_KEY}`,
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      model: "kimi-k2.7-code",
      messages: [
        { role: "user", content: "Explain this repository." }
      ]
    })
  }
);

console.log(await response.json());
PythonOpenAI SDK
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://app.hommmai.net/v1",
    api_key=os.environ["HOMMMAI_API_KEY"],
)

response = client.chat.completions.create(
    model="kimi-k2.7-code",
    messages=[
        {"role": "user", "content": "Explain this repository."}
    ],
)

print(response.choices[0].message.content)

The examples show the planned OpenAI-compatible interface. Endpoint behavior and SDK compatibility will be validated before the Q4 2026 launch.

03 / VS Code

Connect directly to VS Code.

VS Code supports custom model endpoints natively through Bring Your Own Key. No provider plugin is required for chat and agent workflows.

NATIVE SETUP

Visual Studio Code

  1. Run Chat: Manage Language Models from the Command Palette.
  2. Select Add Models, then Custom Endpoint.
  3. Enter a group name, display name and your API key.
  4. Choose Chat Completions as the API type.
  5. In chatLanguageModels.json, use https://app.hommmai.net/v1/chat/completions as the model URL and kimi-k2.7-code as its ID.
Official VS Code setup ↗
Scope

Native BYOK powers VS Code chat and agent workflows. Inline code completions and embedding-based features are not provided by the custom endpoint.

04 / Chat interfaces

Use it like a chat app.

Prefer a conversation interface? Connect your credentials to a compatible chat client and use Kimi K2.7 Code without building your own frontend.

SELF-HOSTED01

Open WebUI

Open Admin Settings → Connections → OpenAI, then add the Base URL and API key. Add kimi-k2.7-code to the Model IDs filter if model discovery is unavailable.

Connection guide ↗
SELF-HOSTED02

LibreChat

Create a custom endpoint in librechat.yaml using the supplied Base URL, API key and model ID.

Custom endpoint guide ↗
ADAPTER03

LM Studio

LM Studio focuses on local inference. A Hub adapter can add an external OpenAI-compatible endpoint to its interface.

OpenAI Adapter ↗
Setup

In every client, use the credentials shown in your dashboard. Feature support such as tools, vision and file uploads depends on both the client and the selected model.

05 / Compatible workflows

Supported clients.

Any verified client that lets you configure a custom OpenAI-compatible endpoint is a potential fit.

NATIVE EDITOR

Visual Studio Code

Add the model through Chat: Manage Language Models using the built-in Custom Endpoint provider.

Official setup ↗
VS CODE

Cline

Configure the Base URL, API key and model ID in the extension settings.

Setup reference ↗
SELF-HOSTED UI

Open WebUI

Add an OpenAI API connection, then enter the URL, key and model ID.

Setup reference ↗
YOUR APPLICATION

Direct API

Use HTTP, fetch, cURL or an SDK that supports a custom base URL.

06 / Key security

Treat the API key like a password.

  • Store it in an environment variable or secret manager.
  • Never commit it to Git or expose it in browser-side code.
  • Create separate keys for separate machines or services when available.
  • Rotate or revoke a key from the dashboard if it is exposed.

Launch access

Reserve now. Connect in Q4 2026.

Lock in the launch offer today. Credentials become available only after your account is activated.

Reserve your spot →No charge today.
Loading private preview