Empero Kojo
Kojo is the model of Germany-based Empero. It searches the web when needed, and plans and checks its answer before writing it. It takes text and images and answers in text. Call it on /v1/chat/completions with the canonical model id empero/kojo.
| Model | Context | Input / Output ($/1M) | Cached input ($/1M) |
|---|---|---|---|
empero/kojo |
1,000,000 | 0.20 / 1.25 | 0.02 |
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "empero/kojo", "messages": [ { "role": "system", "content": "Answer briefly and clearly." }, { "role": "user", "content": "Explain two ways to reverse a list in Python." } ], "max_tokens": 2048 }'from openai import OpenAI
client = OpenAI(base_url="https://llmtr.com/v1", api_key="llmtr-your_key")
response = client.chat.completions.create( model="empero/kojo", messages=[{"role": "user", "content": "How do I keep a Git branch up to date with main?"}], max_tokens=2048,)print(response.choices[0].message.content)Reasoning
Section titled “Reasoning”The model decides on each request whether to reason. On a short, clear question it usually answers directly; on arithmetic or a multi-step task it reasons first. The full reasoning is not returned. message.reasoning_content (delta.reasoning_content when streaming) carries a short status line on most requests and a summary of the model's plan on some. On long writing requests this field can also carry a draft the model prepares before the answer. This field is not the answer; the answer is in content. Only the tokens in the response's usage field are billed; reasoning tokens are counted in completion_tokens, shown separately in completion_tokens_details.reasoning_tokens, and billed at the output price.
Leave room for reasoning in max_tokens, and treat a response with finish_reason: "length" as incomplete. If you send no max_tokens, the request is sent with a 65,536-token limit; for a longer answer, set max_tokens yourself.
Reasoning cannot be turned off and its level cannot be set:
- Every form that asks for a level is refused with
400 invalid_request: thereasoning_effortfield, areasoning: { "effort": ... }object and model-id suffixes such as:high. Send the request without them. - The
reasoningforms that carry no level (false,{ "enabled": false }) and theinclude_reasoning,enable_thinking,thinkingandchat_template_kwargsfields have no effect on this model. They are removed from the body and named in the response'sllmtr_dropped_parametersfield; the request is answered normally.
Web search
Section titled “Web search”On questions that need current information the model can search the web by itself and give source links in its answer. The model decides when to search. Search is not charged separately; the bill is calculated from the response's usage field.
Tool calling
Section titled “Tool calling”The standard OpenAI tools field is supported. The model chooses the tool itself and can return more than one tool call in a single turn; answer each call with its own tool message.
- Set
tool_choicetoautoonly, or leave the field out.requiredand choosing a function by name ({ "type": "function", "function": { "name": "..." } }) are not applied by this model and are refused with400. Say in the prompt when the tool should be used. - To prevent tool use, leave the
toolsfield out instead of sendingtool_choice: "none"."none"sent together withtoolsis refused with400. parallel_tool_calls: falsehas no effect on this model; it is removed from the body and named inllmtr_dropped_parameters. If you need a single call, say so in the prompt.
See Tool Calling for the general flow.
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "empero/kojo", "messages": [{ "role": "user", "content": "Check the weather in Istanbul and Ankara." }], "tools": [{ "type": "function", "function": { "name": "get_weather", "description": "Gets the current weather for a city", "parameters": { "type": "object", "properties": { "city": { "type": "string" } }, "required": ["city"] } } }], "tool_choice": "auto" }'Image input
Section titled “Image input”Send the image in an image_url part, as a base64 data URL (data:image/png;base64,...) or a public https address. If the model cannot reach the address, the request can return an error; a base64 data URL avoids this.
{ "model": "empero/kojo", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "What is in this image? Describe it in two sentences." }, { "type": "image_url", "image_url": { "url": "data:image/png;base64,<base64>" } } ] } ], "max_tokens": 1024}JSON output
Section titled “JSON output”response_format is not applied by this model: json_object and json_schema are removed from the body and named in llmtr_dropped_parameters. If you need JSON, describe the format in the prompt and validate the answer on your side.
Sampling fields
Section titled “Sampling fields”temperature, top_p, seed and stop have no effect on this model. They are removed from the body and named in llmtr_dropped_parameters; the request is answered normally. The same request can give different answers. If the answer has to end at a certain point, say so in the prompt or cut the answer on your side.
Prompt cache
Section titled “Prompt cache”Requests that start with the same prefix can be served from the cache. Tokens read from the cache are reported in the response's usage.prompt_tokens_details.cached_tokens field and billed at the cached input price ($0.02/1M). Caching is not guaranteed; the first request and requests not served from the cache are billed at the full input price.
Streaming
Section titled “Streaming”stream: true is supported. The answer arrives in delta.content, the status line and draft in delta.reasoning_content, and tool calls in delta.tool_calls. If you send stream_options: { "include_usage": true }, the last chunk carries the usage field.
Limits
Section titled “Limits”- The context window is 1,000,000 tokens.
- The maximum output Empero states is 262,144 tokens. Check
finish_reasonon long answers. - File input is not supported on this endpoint.
file_urlandinput_fileparts return400; send documents as text. - Audio and video input are not supported.
nhas no effect. The response always carries one choice; a value other than 1 is removed from the body and named inllmtr_dropped_parameters.
This model is served through a third-party provider; requests and responses are stored on the provider's side and are not used for model training.