DEEN

DocsModels

Werk API

Werk 1.1 in your own product, through the Ottili AI Platform. OpenAI-compatible: change the base URL and the model name.

How do I get an API key?

Sign up on the Ottili AI Platform and create a key under API keys. Keys start with sk-ottili-. Keep them in an environment variable or a secret store, never in code.

First request

python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://ai.ottili.one/v1",
    api_key=os.environ["OTTILI_API_KEY"],
)
reply = client.chat.completions.create(
    model="ottili/werk-1.1",
    messages=[{"role": "user", "content": "Summarize this ticket."}],
)
print(reply.choices[0].message.content)
ts
import OpenAI from 'openai';

const client = new OpenAI({ baseURL: 'https://ai.ottili.one/v1', apiKey: process.env.OTTILI_API_KEY });
const reply = await client.chat.completions.create({
  model: 'ottili/werk-1.1',
  messages: [{ role: 'user', content: 'Summarize this ticket.' }],
});
console.log(reply.choices[0].message.content);
bash
curl https://ai.ottili.one/v1/chat/completions \
  -H "Authorization: Bearer $OTTILI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "ottili/werk-1.1", "messages": [{"role": "user", "content": "Hello"}]}'

Endpoints

EndpointShape
POST /v1/chat/completionsOpenAI Chat Completions
POST /v1/responsesOpenAI Responses
POST /v1/messagesAnthropic Messages
GET /v1/modelsThe models your key can use

All under https://ai.ottili.one, with the same key.

Werk 1.1 at a glance

Model idottili/werk-1.1
Context window1,000,000 tokens
Longest answer256,000 tokens
Streaming, tool calls, reasoningYes
InputText
Price per 1M tokens$0.50 input, $0.03 cached input, $1.50 output
Processed inThe United States

More about the model on the Werk 1.1 page.

Common questions

How do I get an API key?

Sign up on the Ottili AI Platform and create a key under API keys. Keys start with sk-ottili-. Keep them in an environment variable or a secret store, never in code.

How do I call Werk 1.1 from my own code?

The endpoint is OpenAI-compatible: use the base URL https://ai.ottili.one/v1, the model id ottili/werk-1.1 and your key in the OTTILI_API_KEY environment variable, then call POST /v1/chat/completions. The same key also works for POST /v1/responses, POST /v1/messages and GET /v1/models under https://ai.ottili.one.

What can Werk 1.1 do, and what does it cost?

The context window is 1,000,000 tokens, the longest answer 256,000 tokens, the input is text, and streaming, tool calls and reasoning are supported. The price per 1M tokens is $0.50 input, $0.03 cached input and $1.50 output, and it is processed in the United States.