Skip to content
Under construction Otasi is not open yet. This is a preview: sign-up, subscriptions, the API and the contact form are not available. The closed beta is planned for 1 November 2026. Follow the news

Developers

Add Otasi to your own software

This page is for developers. With the Otasi API, your apps, websites and internal tools can use our AI directly. It works with code written for OpenAI or Anthropic, and with tools like Claude Code: change the base URL, keep your code, and keep your data in Switzerland.

Quick start

Your first request in three steps

  1. Create an API key

    Generate a key in the Otasi console and store it as OTASI_API_KEY.

  2. Set the base URL

    OpenAI clients: https://api.otasi.ai/v1. Anthropic clients and Claude Code: https://api.otasi.ai.

  3. Call a model

    Use otasi-core to start; switch models by changing one string.

curl
curl https://api.otasi.ai/v1/chat/completions \
  -H "Authorization: Bearer $OTASI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "otasi-core",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Summarise the nLPD in 3 bullets."}
    ],
    "stream": false
  }'
python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.otasi.ai/v1",
    api_key=os.environ["OTASI_API_KEY"],
)

stream = client.chat.completions.create(
    model="otasi-core",
    messages=[{"role": "user", "content": "Summarise the nLPD in 3 bullets."}],
    stream=True,
)
for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="")
Claude Code
# Claude Code on Otasi servers, in Switzerland
otasi-claude

Capabilities

Everything you need to build

Chat completions

/v1/chat/completions with system, user, assistant and tool messages.

Anthropic Messages API

/v1/messages, compatible with the Anthropic SDKs and Claude Code.

Streaming

Server-sent events for token-by-token responses.

Tool calling

Describe functions with JSON Schema; the model decides when to call them.

Structured output

JSON mode and schema-constrained responses.

Prompt caching

Repeated prompt prefixes are cached and re-read at a much lower price. 1M token context on both models.

Zero retention

Prompts and outputs are not stored after the response. Prompt cache is deleted after at most 1 hour.

Keys and projects

Scoped API keys, per-project limits and usage reports.

Tine, the Otasi harness

A coding agent on your computer

An agent is an AI that does more than answer: it works through a task step by step. Tine runs on your computer, in your terminal or as a desktop app (Tine GUI). It reads and edits your project, runs commands and tests, and checks its own work, using Otasi servers in Switzerland.

  • Understands your whole codebase, not just one file
  • Edits code, runs builds and tests, fixes what fails
  • Asks for approval before risky actions: you stay in control
  • Connects to your tools and services (MCP)
  • Also handles everyday tasks: files, scripts, data cleanup
  • Terminal
  • Desktop app
  • Linux
  • Windows

Uses your Otasi subscription or API key. Your code is processed in Switzerland and never used for training.

terminal
$ tine
> Add input validation to the signup form and write tests

  Reading src/forms/signup.ts, src/api/users.ts
  Editing src/forms/signup.ts (+38 −4)
  Creating tests/signup.test.ts
  Running npm test … 24 passed
  Done. Review the changes? [y/n]

Start building today

Request an API key and get started with otasi-core in minutes.