Skip to main content

Beam 1.0 API

reflection/beam-1.0/chat

Beam 1.0 from Reflection supports coding and long-running tool workflows. This chat API accepts text, provides a 1,048,576-token input budget and accepts max_tokens up to 943,718. Stream Beam 1.0’s text as it arrives, or let a function-call result supply the evidence for the next step in long coding sessions with Beam 1.0.

Input $1Output $3per 1 million tokensCached input $0.10

Workbench

Beam 1.0

What can Beam 1.0 help with?

Missing the model you need?

Tell us what to add and where you would use it. Requests go to the people who decide what gets onboarded next.

OPEN-WEIGHT 1M-CONTEXT CODING CHAT API

Beam 1.0 API at a glance

An open-weight model built for coding and agent loops, with a million-token window and a lean token appetite.

Context window
1M
1,048,576 tokens of input budget for repositories, logs and long transcripts.
Max output
943K
max_tokens accepts up to 943,718, reasoning included.
Total parameters
501B
Sparse mixture-of-experts, as published by Reflection AI.
Active per token
23B
Only a fraction of the network runs for each token, per Reflection AI.
SWE-Bench Verified
81.6%
Score published by Reflection AI, not measured by us.
Reasoning levels
5
low, medium, high, xhigh and max, with medium as the default.

Results

What Beam 1.0 is good at

  • Open model

    Open weights, hosted as an API

    Beam's weights are publicly released, so the model you call here is one you could also run or fine-tune yourself if your needs change. Reflection AI describes it as an open model for commercial and research use. This endpoint is the quick route: no GPUs to provision, usage billed by the token, and the same chat completions request you already write.

  • Coding

    Aimed at real repositories

    Reflection AI's model card focuses on resolving real GitHub issues, working in command-line and DevOps settings, and plugging into agentic coding harnesses. It publishes a SWE-Bench Verified score of 81.6% and a Terminal Bench v2.1 score of 80.1%. Those are the publisher's own numbers on its own setup, so treat them as a reason to test it on your repository, not as a guarantee.

  • Agents

    Tool calls and long-horizon tasks

    The model returns function calls that your application validates and runs, then continues from the tool messages you send back. tool_choice accepts a string or an object here, and parallel_tool_calls is on by default. Reflection AI highlights MCP-style tool use and multi-step tasks, which fits agent loops that read files, run tests and iterate.

  • Token economy

    Fewer reasoning tokens by design

    Reflection AI says Beam reaches comparable solution quality with about three times fewer reasoning tokens than leading open models. If that holds for your workload, it shows up directly as lower output cost, since reasoning is billed as output. It is a publisher claim, so measure token counts on your own prompts at medium and high effort.

Before you run it

What to know before you run Beam 1.0

Chat
Text only. Messages accept text parts, and image, audio and video parts are not accepted by this endpoint.
Chat
The input budget is 1,048,576 tokens and max_tokens tops out at 943,718. Reasoning tokens count inside max_tokens, so size the cap with the effort level in mind.
Chat
Up to 128 tools, 4 stop sequences and 256 messages per request. There is no minimal reasoning level; the lowest is low.
Chat
Beam 1.0’s own content decisions still apply during long coding sessions with Beam 1.0; NSFW responses may change with the request or model version, so unrestricted output is not promised.

Use cases

What to build with the Beam 1.0 API

  • Resolve an issue across a repository

    Give the model the issue text, the relevant files and the failing test output, and ask for a minimal patch plus the command that proves it works. The 1,048,576-token window lets you include whole modules instead of excerpts. Review the diff and run the tests yourself before merging.

  • Agent loops in the terminal

    Wire the model to shell, file and test tools and let it iterate: inspect, edit, run, read the output. Keep the history in the message list, cap the number of turns, and log every tool call so a run can be replayed when something goes wrong.

  • Cost-sensitive batch coding work

    For bulk jobs such as adding type annotations, writing tests for many modules or migrating a deprecated API, a model that spends fewer reasoning tokens helps. Start at low or medium effort, sample a few results by hand, and raise the setting only for the cases that fail.

  • Reasoning and math problem sets

    Reflection AI publishes results on AIME 2026 and GPQA Diamond, so it is a reasonable candidate for structured reasoning tasks. Ask for the answer and the key steps separately, and verify final numbers with code when a wrong answer is costly.

Prompts

Beam 1.0 prompt examples you can copy

Paste one into the playground as it is, then change one thing at a time.

  • Chat

    Investigate a concrete case

    Plan a repository migration with ordered edits, acceptance checks and rollback points. Work from the material I provide. Cite relevant evidence, distinguish facts from assumptions, and identify missing information before proposing changes.

    Why it works. Use this evidence-based request to judge long coding sessions with Beam 1.0: check that Beam 1.0 answers the stated question and separates supporting material from assumptions.

    Try this prompt

Pricing

Beam 1.0 API pricing

From $1 per million input tokens and $3 per million output tokens.

The playground shows the exact price for your settings before you run. Failed or timed-out tasks are usually not charged. Some models charge for content refusals as stated on their model page; check those billing terms before submitting.

See every price tier

Get started

How to use the Beam 1.0 API in three steps

  1. Step 1

    Send a chat request

    Use the chat completions endpoint with a model name and a messages array of plain text. This model is text-only, so convert images or documents to text before sending. Set stream to true when you expect long replies.

  2. Step 2

    Pick effort and a max_tokens cap

    The default effort is medium. Move to high or above for hard multi-step bugs, and down to low for routine edits. Reasoning counts toward max_tokens, so leave headroom or the cap can end the reply before the visible answer.

  3. Step 3

    Define tools and return results

    Pass JSON-schema tools, let the model choose, and answer each tool call with a tool message that carries the same tool_call_id. Keep reasoning_content from earlier assistant turns in the history when you continue a tool conversation.

Parameter reference and code samples are in the API and Readme tabs at the top of this page.

Why SpicyAPI

Why run Beam 1.0 on SpicyAPI

  • No filter from us

    We add no content filter of our own. What the model renders is what you get back.

  • Tested, not guessed

    Content labels come from real generations we ran and checked, with the test date on the page.

  • Pay per result, in dollars

    No subscription and no credits. Failed or timed-out tasks are usually not charged. Some models charge for content refusals as stated on their model page; check those billing terms before submitting.

  • One key for every model

    One API key and balance cover image, video, audio and chat models, so you can explore more models from the same account.

FAQ

Beam 1.0 API FAQ

About Beam 1.0

Beam 1.0 is a pragmatic pick when you want a capable coding model whose weights are open and whose reasoning habits are frugal. The 1,048,576-token window handles whole repositories and long tool transcripts, five reasoning levels let you tune depth per task, and streaming and function calls cover the usual agent plumbing. Be realistic about the edges: it is text-only, it does not claim to top every leaderboard, and the headline benchmark scores are the publisher's own. The sensible route is to pick ten tasks from your real backlog, run them at medium effort, compare pass rate and token count with your current model, and move only the work where Beam holds up.

Related models and next tasks