A railway line on the steppe at dawn: a red switch lever has just moved the points onto a new branch, the rest of the rails unchanged

AI for your product through one API

Connect Semantyka's language models to your service or internal systems. The API is OpenAI-compatible: in your existing code you change the address and the key, and it works. We run the servers and the models; customer data stays under your control.

compatibility:
OpenAI SDK
region:
Lviv / Warsaw / your servers
logs:
can exclude request content
Sample language

app/assistant.py

import os
from openai import OpenAI

client = OpenAI(
    base_url=os.environ["SEMANTYKA_API_URL"] + "/v1",
    api_key=os.environ["OPENAI_API_KEY"],
    api_key=os.environ["SEMANTYKA_API_KEY"],
)

reply = client.chat.completions.create(
    model="gpt-4o-mini",
    model="semantyka/medium",
    messages=[{"role": "user", "content": "Classify this customer request"}],
)
print(reply.choices[0].message.content)

+3 −2 the rest of the code is unchanged

src/assistant.ts

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: `${process.env.SEMANTYKA_API_URL}/v1`,
  apiKey: process.env.OPENAI_API_KEY,
  apiKey: process.env.SEMANTYKA_API_KEY,
});

const reply = await client.chat.completions.create({
  model: "gpt-4o-mini",
  model: "semantyka/medium",
  messages: [{ role: "user", content: "Classify this customer request" }],
});
console.log(reply.choices[0].message.content);

+3 −2 the rest of the code is unchanged

scripts/ask.sh

curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
curl $SEMANTYKA_API_URL/v1/chat/completions \
  -H "Authorization: Bearer $SEMANTYKA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-4o-mini",
  -d '{"model": "semantyka/medium",
       "messages": [{"role": "user", "content": "Classify this customer request"}]}'

+3 −3 the rest of the code is unchanged

Adding AI to a product is easy only in a demo

The prototype works in an evening. Then real customers and real data reach it, and this shows up in the log.

prod.log

  1. ERR 001

    [privacy] Customer data in someone else's logs

    Request and response text is stored where you control neither access nor retention.

    FIX The gateway can be configured to log metadata only: tokens, latency, status.
  2. ERR 002

    [infra] Your own MLOps as a separate project

    GPUs, inference engines, quantization and monitoring need a team you don't have.

    FIX GPUs, inference and monitoring are on our side. You work with the API.
  3. ERR 003

    [vendor] Locked in to one vendor

    The code is written for one provider, and moving to another model means a rewrite.

    FIX OpenAI format: you change the model with the model parameter, not with a rewrite.
  4. ERR 004

    [uk] Weak Ukrainian

    Models confuse grammatical cases and don't know legal and financial vocabulary.

    FIX Catalog models are tested on Ukrainian morphology and on legal and financial vocabulary.
  5. ERR 005

    [rag] RAG shows too much

    Document search ignores access rights, and users see what they shouldn't.

    FIX RAG takes only the documents the user's role may see.
  6. ERR 006

    [json] Unstable JSON

    Extracted fields come back in a different format every time, and the integration breaks on edge cases.

    FIX Field extraction and tool calls in a strict JSON Schema format.

$ There is a simpler way. See the request path ↓

One request, from your code to the answer

What happens between your call and the response. Pick a node to see what it does with the data.

Request path nodes

You decide where the data lives

where requests run
Lviv, Warsaw or your own servers
what gets logged
by agreement, technical metadata only
who has access
separate keys and limits for every account; private IPs or a tunnel on request

Fields, not “almost JSON”

The model reads a request in Ukrainian — with grammatical cases, dates in words and a casual tone — and returns fields that follow your schema exactly.

Customer email 13.10.2026

Добрий день! Пишу від ТОВ «Зерновий двір». Ми досі не отримали оплату за рахунком № 4471 від 2 жовтня, хоча товар ви прийняли ще у вересні. Просимо розібратися до п'ятниці, інакше нараховуватимемо пеню. Акт звірки прошу передати Олені Коваль, бухгалтерія.

Hover a field to see where it came from.

API response

{

}

matches schema InvoiceTicket

Two model classes, matched to the task

Speed and cost depend on the task. Pick yours and see which model class handles it.

Task:

class: fast

Fast models

For high-volume tasks where latency and cost per request matter.

tasks
  • Request classification
  • Field extraction
  • Filtering
speed
minimal first-token latency
cost
lower
families
Llama, Qwen
selection
automatic for simple tasks

class: deep

Models for complex tasks

For long documents and conclusions, where depth matters more than speed.

tasks
  • Multi-page contract analysis
  • Analytical conclusions
speed
higher latency, deeper analysis
cost
higher
families
Mistral Large, Qwen Max
selection
automatic or manual

How a model enters the catalog

Every model passes four checks before it becomes available through the API.

model check candidate: open-weight model
  1. license

    License

    We check the usage terms: Apache 2.0, MIT or commercial open-weight permissions.

  2. ua-eval

    Ukrainian tests

    We evaluate how a model handles Ukrainian morphology and legal and financial vocabulary on our own tests.

  3. finetune

    Fine-tuning

    We adapt the model to Ukrainian legislation, EDRPOU codes and typical documents.

  4. optimize

    Optimization

    Quantization and inference engine tuning for minimal latency.

added to the catalog

Frequently asked questions

What is already running for our clients

Accounting, AI, mobile apps and mixed reality — one engineering team, the same approach to data and security.

Tell us about your task

We'll pick the models, show the cost on real requests and give you keys for testing.