Reka
Reka serves its own models through an OpenAI-compatible API. The LLMTR catalog has two Reka models; both are called on /v1/chat/completions with the reka/ prefix. On both models, input and output share one context window.
| Model | Context | Input | Input / Output ($/1M) |
|---|---|---|---|
reka/reka-edge-2603 |
16,384 | Text, image, video | 0.10 / 0.10 |
reka/reka-flash-3 |
65,536 | Text | 0.10 / 0.20 |
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "reka/reka-edge-2603", "messages": [ { "role": "user", "content": "List three common causes of a slow SQL query." } ], "max_tokens": 512 }'from openai import OpenAI
client = OpenAI(base_url="https://llmtr.com/v1", api_key="llmtr-your_key")
response = client.chat.completions.create( model="reka/reka-flash-3", messages=[{"role": "user", "content": "A train travels 180 km in 2.5 hours. What is its average speed in km/h?"}], max_tokens=8192,)print(response.choices[0].message.content)Both models work best with English prompts.
Image and video input
Section titled “Image and video input”Reka Edge 2603 reads images and video.
- Send an image as an
image_urlpart, either as a base64 data URL (data:image/png;base64,...) or as a publichttpsaddress. - A request can carry at most 3 images. The count is summed over every message in the conversation; a request with a fourth image is refused with
400 invalid_requestbefore it is sent. Split the images over separate requests to send more. - Send a video as a
video_urlpart, either as a publichttpsaddress or as a base64 data URL (data:video/mp4;base64,...). Videos do not count toward the 3-image limit. - If the model cannot reach an address, the request can fail; a base64 data URL avoids that.
Reka Flash 3 reads text only; a request with an image, video or audio is refused with 400. Neither model supports audio input, file_url or input_file parts; send documents as text.
{ "model": "reka/reka-edge-2603", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe each image in one sentence." }, { "type": "image_url", "image_url": { "url": "data:image/png;base64,<base64>" } }, { "type": "image_url", "image_url": { "url": "https://example.com/shelf.jpg" } } ] } ], "max_tokens": 512}Tool calling
Section titled “Tool calling”Reka Edge 2603 supports the standard OpenAI tools field. tool_choice accepts auto, required, a named function and none. The model can return more than one tool call in a turn; answer each call with its own tool message. You can send parallel_tool_calls: false, but your client should still handle more than one call. See Tool Calling for details.
Reka Flash 3 does not call tools. The tools, tool_choice and parallel_tool_calls fields sent to it are removed from the body and reported in the response's llmtr_dropped_parameters field; the request is answered without tools.
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "reka/reka-edge-2603", "messages": [{ "role": "user", "content": "What is the weather in Istanbul and Ankara?" }], "tools": [{ "type": "function", "function": { "name": "get_weather", "description": "Returns the current weather for a city", "parameters": { "type": "object", "properties": { "city": { "type": "string" } }, "required": ["city"] } } }], "tool_choice": "auto" }'Reasoning
Section titled “Reasoning”Reka Flash 3 reasons before every answer, and this cannot be turned off.
- The reasoning text comes in the response's
message.reasoning_contentfield (delta.reasoning_contentwhen streaming). The answer is incontent. - Reasoning tokens are counted in
completion_tokens, billed at the output price, and count towardmax_tokens. - Even simple questions can take several thousand reasoning tokens. Keep
max_tokenshigh. A response with an emptycontentmeans the model stopped before it finished reasoning; itsfinish_reasoncan be"length"or"stop". If it is"length", raisemax_tokens; if it is"stop", send the request again. - The reasoning level cannot be set: the
reasoning_effortfield and areasoning: { "effort": ... }object are refused with400 invalid_request. "reasoning": falseandreasoning: { "enabled": false }are refused with400 invalid_request. A suffix on the model id (:high,:think,:fast) is refused with400too.- The other fields the model does not apply (
"reasoning": true,reasoning: { "exclude": true },thinking,enable_thinking,include_reasoning,chat_template_kwargs.enable_thinking) are removed from the body and reported inllmtr_dropped_parameters.
Reka Edge 2603 does not reason. The reasoning_effort field and a suffix on the model id are refused with 400 invalid_request.
JSON output
Section titled “JSON output”Both models support json_object and strict json_schema through response_format. You do not need to ask for JSON in the prompt; the schema sets the shape of the answer. A field value can run long, so set max_tokens and check that finish_reason is "stop". In JSON mode Reka Flash 3 answers without reasoning; no reasoning text comes back.
Sampling fields
Section titled “Sampling fields”On Reka Edge 2603, temperature, top_p, seed and stop are applied.
The response always carries one choice. An n other than 1 is removed from the body and reported in the response's llmtr_dropped_parameters field; the request is answered once and billed once.
Streaming
Section titled “Streaming”stream: true is supported. The answer arrives in delta.content and reasoning in delta.reasoning_content. If you send stream_options: { "include_usage": true }, the last chunk carries a usage field.
When you send Reka Edge 2603 a streamed request that carries tools, the response is sent in chunks after the model finishes; tool calls arrive in a single delta.tool_calls chunk.
Limits
Section titled “Limits”- Input and output share one window. A prompt longer than the window returns
400 invalid_requestand is not billed. Shorten the conversation or send fewer images. - When
max_tokensandmax_completion_tokensare both sent,max_tokensapplies.max_completion_tokensis removed from the body and, if its value differs, reported inllmtr_dropped_parameters. - A
max_tokenslarger than the window is lowered to the window. The request is not refused, and your balance is checked against the lowered value. The answer cannot be longer than the room the prompt leaves in the window; checkfinish_reasonon long answers. - A request without
max_tokensis checked against your balance as if the answer were long. If your balance is low, setmax_tokens. - There is no cache discount. Every input token, repeated prompt prefixes included, is billed at the input price.
These models are served through a third-party provider; request and response content is not used for model training.