Quick Start Guide

Get Started in 5 Minutes

Start using Komilion's intelligent model routing, tool execution, and voice capabilities.

1

Create Account & Get API Key

Sign up and generate your API key

Sign up for free

Create your account at komilion.com/auth/signup

Generate your API key

Go to Dashboard โ†’ API Keys and click "Generate New Key"

Save your key

Your key looks like: ck_your-api-key-here

2

Install the SDK

Use the official OpenAI SDK (Komilion is compatible)

npm install openai

๐Ÿ’ก Komilion is OpenAI SDK compatible - no special SDK needed!

3

Make Your First Request

Just point the OpenAI SDK to Komilion

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "ck_your-api-key-here",
  baseURL: "https://www.komilion.com/api/v1",
});

const response = await client.chat.completions.create({
  model: "neo-mode/balanced",  // Let Komilion choose the best model
  messages: [
    { role: "user", content: "Explain quantum computing in simple terms" }
  ],
});

console.log(response.choices[0].message.content);
4

Choose Your Policy

Balance cost vs quality with a single parameter

frugal

Cost-first

Cheapest options, great for high-volume tasks

model: "neo-mode/frugal"
balanced

Best Value (Default)

Optimal cost/quality trade-off for most use cases

model: "neo-mode/balanced"
premium

Quality-first

Top models for complex reasoning and important tasks

model: "neo-mode/premium"

Skip the setup โ€” try it instantly

The Playground auto-injects your API key. Make a real API call with one click.

Framework Guides

Copy-paste configs for popular tools and frameworks

Drop-in replacement โ€” just change 2 lines

from openai import OpenAI

client = OpenAI(
    base_url="https://www.komilion.com/api/v1",
    api_key="ck_your-api-key-here",
)

response = client.chat.completions.create(
    model="neo-mode/balanced",
    messages=[{"role": "user", "content": "Hello!"}],
)

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