# Beam 1.0 501B A23B

> A large open-weights model from Reflection AI, released October 2026, with a 1M token context window and a low blended price of $0.60 per million tokens. Its benchmark results sit mostly below the registry median.

Use it with Pydantic AI as `openrouter:reflection/beam-1.0-501b-a23b`.

## Spec sheet

- **Family:** Reflection AI
- **Released:** 5 Oct 2026
- **Weights:** open
- **Context window:** 1,048,576 tokens
- **Largest response:** 131,072 tokens
- **Accepts:** text
- **Tool calling:** yes
- **Knowledge cutoff:** 2026-06
- **Intelligence index:** 56 (rank 64)
- **Price:** $0.4 input, $1.2 output, $0.6 blended per 1M tokens
- **Index points per $:** 93.3 (rank 28)
- **Speed:** 417 tokens/sec (rank 2)
- **Popularity:** rank 64 of 194 by usage
- **Pydantic AI Gateway:** not built in; [bring your own key](https://ai.pydantic.dev/gateway/#bring-your-own-key)

## Benchmarks

| Benchmark | Score | Rank among models tested | What it measures | Source |
| --- | --- | --- | --- | --- |
| Intelligence index | 56 | 67 | Our composite of the benchmarks below, 0-100 | Pydantic, from the sources credited below |
| ARC-AGI-2 | 23.5% | 49 | Abstract visual puzzles that test learning a new rule from a few examples | ARC Prize, via Epoch AI (CC BY 4.0) |
| SciCode | 48.5% | 56 | Scientific programming problems written by researchers | SciCode, via Epoch AI (CC BY 4.0) |
| APEX-Agents | 48.8% | 37 | Long professional tasks (banking, consulting, law) passed on the first attempt | Mercor, via Epoch AI (CC BY 4.0) |
| LMArena text | 1423.7 | 73 | Rating from blind human votes between pairs of chat responses | LMArena (CC BY 4.0) |
| Epoch Capabilities Index | 150.8 | 61 | Epoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index | Epoch AI (CC BY 4.0) |

## Providers and prices

US dollars per million tokens.

| Provider | Gateway | Pydantic AI string | Input | Cached input | Output |
| --- | --- | --- | --- | --- | --- |
| OpenRouter | BYOK | `openrouter:reflection/beam-1.0-501b-a23b` | $0.4 | $0.04 | $1.2 |
| Together AI | BYOK | `together:reflection/Beam-1.0-501B-A23B` | $0.4 | $0.04 | $1.2 |

## Example code

### hello.py

Ask Beam 1.0 501B A23B a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['OPENROUTER_API_KEY'] = '...'

agent = Agent('openrouter:reflection/beam-1.0-501b-a23b', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)
```

### structured_output.py

Get validated, typed output from Beam 1.0 501B A23B by giving the agent a Pydantic model. Run it with uv run structured_output.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic import BaseModel
from pydantic_ai import Agent

os.environ['OPENROUTER_API_KEY'] = '...'


class CityLocation(BaseModel):
    city: str
    country: str


agent = Agent('openrouter:reflection/beam-1.0-501b-a23b', output_type=CityLocation)

result = agent.run_sync('Where were the olympics held in 2012?')
print(result.output)
#> city='London' country='United Kingdom'
```

### tools.py

Give Beam 1.0 501B A23B two tools to call, one of which reads the agent's dependencies. Run it with uv run tools.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os
import random

from pydantic_ai import Agent, RunContext

os.environ['OPENROUTER_API_KEY'] = '...'

agent = Agent(
    'openrouter:reflection/beam-1.0-501b-a23b',
    deps_type=str,
    instructions="You're a dice game, roll the die and see if it matches the user's guess.",
)


@agent.tool_plain
def roll_dice() -> str:
    """Roll a six-sided die and return the result."""
    return str(random.randint(1, 6))


@agent.tool
def get_player_name(ctx: RunContext[str]) -> str:
    """Get the player's name."""
    return ctx.deps


result = agent.run_sync('My guess is 4', deps='Anne')
print(result.output)
```

### streaming.py

Stream Beam 1.0 501B A23B's reply to the terminal as it is generated. Run it with uv run streaming.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import asyncio
import os

from pydantic_ai import Agent

os.environ['OPENROUTER_API_KEY'] = '...'

agent = Agent('openrouter:reflection/beam-1.0-501b-a23b')


async def main():
    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:
        async for text in response.stream_text(delta=True):
            print(text, end='', flush=True)


asyncio.run(main())
```

### pax.sh

Chat with Beam 1.0 501B A23B in your terminal using pax, the TUI for pydantic-ai-harness. Coming soon.

```sh
export OPENROUTER_API_KEY='...'

uvx pax --model 'openrouter:reflection/beam-1.0-501b-a23b'
```

### pi.sh

Use Beam 1.0 501B A23B as the model behind the pi coding agent, with your own OpenRouter key.

```sh
# npm install -g @earendil-works/pi-coding-agent
export OPENROUTER_API_KEY='...'

pi --model 'openrouter/reflection/beam-1.0-501b-a23b'
```

### codex.sh

Run OpenAI's Codex CLI on Beam 1.0 501B A23B, which OpenRouter serves over an OpenAI-compatible API.

```sh
# npm install -g @openai/codex
export OPENROUTER_API_KEY='...'

codex --model 'reflection/beam-1.0-501b-a23b' \
  -c model_provider='openrouter' \
  -c model_providers.openrouter.name='OpenRouter' \
  -c model_providers.openrouter.base_url='https://api.openrouter.example/v1' \
  -c model_providers.openrouter.env_key='OPENROUTER_API_KEY'
```

### ai_sdk.ts

Call Beam 1.0 501B A23B from TypeScript with the Vercel AI SDK.

```ts
// npm install ai @ai-sdk/openai-compatible
import { createOpenAICompatible } from '@ai-sdk/openai-compatible'
import { generateText } from 'ai'

process.env.OPENROUTER_API_KEY = '...'

const openrouter = createOpenAICompatible({
  name: 'openrouter',
  baseURL: 'https://api.openrouter.example/v1',
  apiKey: process.env.OPENROUTER_API_KEY,
})

const { text } = await generateText({
  model: openrouter('reflection/beam-1.0-501b-a23b'),
  system: 'Be concise, reply with one sentence.',
  prompt: 'Where does "hello world" come from?',
})
console.log(text)
```

## About Beam 1.0 501B A23B

Beam 1.0 501B A23B is an open-weights text model from Reflection AI, released in October 2026. It accepts text only and supports tool calling, reasoning mode and structured output. Its 1M token context window is among the largest listed here, and responses can run to 131k tokens. Its knowledge cutoff is June 2026.

The model is priced at $0.40 per million input tokens and $1.20 per million output tokens, which gives a blended price of $0.60, below the registry median of about $1.01. Combined with its intelligence score, that places it 28th of 194 for intelligence per dollar, which is the strongest part of its profile.

Its raw benchmark results are mostly below the registry median. It scores 56.0 on the composite intelligence index, 67th of 114, and 23.5% on ARC-AGI-2, 49th of 68. Results on SciCode, APEX-Agents and LMArena are also below the median, and it has no results on some benchmarks. It is served by two providers and is not built into the Gateway.

**Strengths**

- 1M token context window, with responses up to 131k tokens
- Open weights, with tool calling, reasoning mode and structured output
- Blended price of $0.60 per million tokens, below the $1.01 median
- Intelligence per dollar ranks 28th of 194

**Weaknesses**

- Intelligence index of 56.0, 67th of 114 and below the 59.5 median
- ARC-AGI-2 score of 23.5%, 49th of 68 and well below the 61.3% median
- Only two providers, OpenRouter and Together AI, and not on the Gateway

**Best for:** Cost-sensitive agents and workloads that need a very long context window, tool calling and structured output.

Prices come from [genai-prices](https://github.com/pydantic/genai-prices), in US dollars per million tokens. Benchmark scores come from Epoch AI and LMArena (CC BY 4.0); the index and its sources are described at https://models.pydantic.dev/methodology.md. Data built 2026-11-25. Compare with other models: https://models.pydantic.dev/models.md
