How to Use Reka Flash 3 in opencode
Reka Flash 3 is a 21B reasoning model for English chat, coding, and tasks with explicit instructions. It also supports function calling; Reka recommends pairing it with web search for knowledge-heavy questions.
Prompts to try with Reka Flash 3 in opencode
Copy an example into opencode, or ask in your own words.
Use Reka Flash 3 to inspect the request validation code in this project. Explain which inputs it rejects, identify inconsistent rules, and propose focused tests. Keep your reasoning concise.
Use Reka Flash 3 to investigate the current failing test using its output and the relevant source files. Propose the smallest justified fix and a regression test, then run the test.
Use Reka Flash 3 to review this project's retry logic. Check the implementation against the documented requirements and report mismatches with file references.
Use Reka Flash 3 to draft unit tests for the parser in this project. Cover empty input, malformed input, and boundary cases supported by the implementation; explain what each test checks.
Use Reka Flash 3 to compare the function definitions in this project with their call sites. Identify argument mismatches and missing validation, then propose corrections.
How to set up Reka Flash 3 in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Reka Flash 3
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openrouter", "model": "rekaai/reka-flash-3", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: opencode finds Reka Flash 3 on Spiral, shows the price and runs it.
Reka Flash 3 providers and prices
Spiral runs Reka Flash 3 through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.00107 per run at the default inputs. $0.13 per 1M input tokens, $0.26 per 1M output tokens.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Logprobs | on or off | ||
| Max tokens | 1 to 58982 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 |
Every API field of Reka Flash 3 is on its tool page: open its card above.
What can you do with Reka Flash 3 in opencode?
Reka Flash 3 can help explain project code, investigate failures, and draft changes from explicit requirements. Give it the relevant files, expected behavior, and failure evidence to make the task concrete.
Explain unfamiliar code
Ask Reka Flash 3 to explain a function's inputs, branches, and return values, then suggest examples that exercise each branch.
Investigate a failing test
Give Reka Flash 3 the relevant code, failure message, and expected behavior. Request a proposed fix and a test that distinguishes it from the current behavior.
Draft support replies from policy text
Provide the customer's question and the applicable English policy. Ask Reka Flash 3 to draft a reply and identify any missing information.
Classify incoming requests
Give Reka Flash 3 explicit category definitions and examples. Request one category per request, with an uncertain category for cases the rules do not cover.
Turn notes into action lists
Ask Reka Flash 3 to organize English meeting notes into decisions, owners, and deadlines. Require it to mark missing owners or dates as unspecified.
Answer questions from retrieved evidence
Supply search excerpts with source labels, then ask Reka Flash 3 to answer using those excerpts and cite the supporting labels.
Plan function calls
Give Reka Flash 3 function descriptions and a user request. Ask it to select the appropriate function and identify any missing arguments before proceeding.
More on Reka Flash 3 and opencode
Overview
Reka Flash 3 in other agents
More opencode guides
Questions about Reka Flash 3 in opencode
Can opencode use Reka Flash 3?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Reka Flash 3 like any built-in tool.
How much does Reka Flash 3 cost in opencode?
Up to $0.00107 per run at the default inputs. $0.13 per 1M input tokens, $0.26 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an OpenRouter account to use Reka Flash 3 in opencode?
No. Spiral runs Reka Flash 3 on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Reka Flash 3 in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Reka Flash 3 runs?
Reka Flash 3 runs in the background. opencode starts the run, checks on it and gives you the text, json when it's ready.
What is Reka Flash 3 good at?
Reka highlights English chat, coding, instruction following, and function calling. Suggested uses include explaining code, applying written classification rules, and drafting answers from supplied reference text.
Can I turn off reasoning in Reka Flash 3?
No. Reka says it always reasons, and the reasoning effort setting has no effect. Ask it to keep its reasoning concise when the task is straightforward.
Why might Reka Flash 3 return no final answer?
A small generation budget can run out during reasoning. Allow room for both reasoning and the final response, and request concise reasoning for simple tasks.
Is Reka Flash 3 suitable for multilingual work?
Reka recommends treating it as an English-only model. It understands other languages to some degree, but English is the better-supported choice.
Should I trust Reka Flash 3 for factual research?
Reka flags knowledge-heavy tasks as a weakness and recommends pairing the model with web search. For research, supply retrieved passages and ask for citations to those passages.
Start using Reka Flash 3 in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


