Haimaker.ai Logo

reka flash 3

rekaai/reka-flash-3
Chatapache-2.0
Rekaai|
Reasoning
|Released Mar 2025 · Updated Mar 2025

reka flash 3 (rekaai/reka-flash-3) is a llama 20.9B-parameter model from Rekaai with a 65,536-token context window and 65,536 max output tokens, priced at $0.10/1M input and $0.20/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.

Parameters
20.9B
Context Window
66K
tokens
Max Output
66K
tokens
Input Price
$0.10
/1M tokens
Output Price
$0.20
/1M tokens

Overview

Reka Flash 3 is a 21B general-purpose reasoning model that was trained from scratch. It was trained in synthetic and public datasets for supervised finetuning, followed by RLOO with model-based and rule-based rewards. It performs competitively with proprietary models such as OpenAI o1-mini, making it a good foundation to build applications that require low latency or on-device deployment. It is currently the best open model in its size category.

Model Card

Reka Flash 3

Reka Flash 3 is a 21B general-purpose reasoning model that was trained from scratch. It was trained in synthetic and public datasets for supervised finetuning, followed by RLOO with model-based and rule-based rewards. It performs competitively with proprietary models such as OpenAI o1-mini, making it a good foundation to build applications that require low latency or on-device deployment. It is currently the best open model in its size category.

Try it out at Reka Space.

Reka Flash 3 powers Nexus, our new platform for organizations to create and manage AI workers. Nexus workers have native deep research capabilities and can browse the web, execute code, and analyse internal files including documents, images, videos and audio. Learn more about Nexus at getnexus.reka.ai.

Performance

Quickstart

For ease of deployment, the model is released in a Llama-compatible format. You may use any library compatible with Llama to run the model.

Via Hugging Face

import transformers

tokenizer = transformers.AutoTokenizer.from_pretrained("RekaAI/reka-flash-3")
model = transformers.AutoModelForCausalLM.from_pretrained("RekaAI/reka-flash-3", torch_dtype='auto', device_map='auto')

prompt = {"role": "human", "content": "Write a poem about large language model."}
text = tokenizer.apply_chat_template([prompt], tokenize=False, add_generation_prompt=True)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(**model_inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Via vLLM

docker run --rm -it --network=host --gpus '"device=0"' -v  --shm-size=10.24gb vllm/vllm-openai:latest serve RekaAI/reka-flash-3 --dtype auto -tp 1

Model Details

Prompt Format

Reka Flash 3 uses cl100k_base tokenizer and adds no additional special tokens. Its prompt format is as follows:

human: this is round 1 prompt <sep> assistant: this is round 1 response <sep> ...

Generation should stop on seeing the string or seeing the special token <|endoftext|>.

System prompt can be added by prepending to the first user round.

human: You are a friendly assistant blah ... this is round 1 user prompt <sep> assistant: this is round 1 response <sep> ...

For multi-round conversations, it is recommended to drop the reasoning traces in the previous assistant round to save tokens for the model to think.

If you are using HF or vLLM, the built-in chat_template shall handle prompt formatting automatically.

Budget Forcing

Reka Flash thinks before it produces an output. We use tags to indicate the beginning and the end of its thinking process. For some problems, the model might think for a long time. You can make the model to stop its thinking process by forcing it to output after a certain number of steps. We observe such a budget forcing mechanism will still produce a reasonable output. We show performance on AIME-2024 (cons@16) for various budgets below.

AIME'24

Language Support

This model is primarily built for the English language, and you should consider this an English only model. However, the model is able to converse and understand other languages to some degree.

Release Notes

  • As a smaller model, it is not the best model for knowledge-intensive tasks. We recommend coupling Reka Flash 3 with web search for knowledge-related tasks.
  • The model often thinks in English when prompted with questions in non-English languages. We observe that this sometimes affects the output quality in non-English languages.
  • The model has not undergone extensive alignment or persona training.

Features & Capabilities

Modechat
Context Window65,536 tokens
Max Output65,536 tokens
Function Calling-
Vision-
ReasoningSupported
Web Search-
Url Context-

Technical Details

ArchitectureLlamaForCausalLM
Model Typellama

API Usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="rekaai/reka-flash-3",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Frequently Asked Questions

What is the context window of reka flash 3?

reka flash 3 (rekaai/reka-flash-3) has a 65,536-token context window and supports up to 65,536 output tokens per request.

How much does reka flash 3 cost?

reka flash 3 is priced at $0.10 per 1M input tokens and $0.20 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.

What features does reka flash 3 support?

reka flash 3 supports reasoning.

How do I use reka flash 3 via API?

Send requests to https://api.haimaker.ai/v1/chat/completions with model "rekaai/reka-flash-3" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.

Use reka flash 3 with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Rekaai