Skip to content

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
Terminal window
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.

Reka Edge 2603 reads images and video.

  • Send an image as an image_url part, either as a base64 data URL (data:image/png;base64,...) or as a public https address.
  • 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_request before it is sent. Split the images over separate requests to send more.
  • Send a video as a video_url part, either as a public https address 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
}

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.

Terminal window
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"
}'

Reka Flash 3 reasons before every answer, and this cannot be turned off.

  • The reasoning text comes in the response's message.reasoning_content field (delta.reasoning_content when streaming). The answer is in content.
  • Reasoning tokens are counted in completion_tokens, billed at the output price, and count toward max_tokens.
  • Even simple questions can take several thousand reasoning tokens. Keep max_tokens high. A response with an empty content means the model stopped before it finished reasoning; its finish_reason can be "length" or "stop". If it is "length", raise max_tokens; if it is "stop", send the request again.
  • The reasoning level cannot be set: the reasoning_effort field and a reasoning: { "effort": ... } object are refused with 400 invalid_request.
  • "reasoning": false and reasoning: { "enabled": false } are refused with 400 invalid_request. A suffix on the model id (:high, :think, :fast) is refused with 400 too.
  • 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 in llmtr_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.

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.

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.

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.

  • Input and output share one window. A prompt longer than the window returns 400 invalid_request and is not billed. Shorten the conversation or send fewer images.
  • When max_tokens and max_completion_tokens are both sent, max_tokens applies. max_completion_tokens is removed from the body and, if its value differs, reported in llmtr_dropped_parameters.
  • A max_tokens larger 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; check finish_reason on long answers.
  • A request without max_tokens is checked against your balance as if the answer were long. If your balance is low, set max_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.