GitHub Docs

Reflection AI is a U.S. lab releasing open-weight frontier models. VibeCody talks to its OpenAI-compatible API at https://api.reflection.ai/openai/v1. Its first model, Beam 1.0, has open weights on Hugging Face (reflection/Beam-1.0-501B-A23B).

Get an API Key

  1. Go to developers.reflection.ai and sign in
  2. Create an API key and copy it

Configure VibeCody

Option 1: Environment variable (recommended)

export REFLECTION_API_KEY="..."
vibecli --provider reflection

Option 2: Encrypted store

vibecli set-key reflection "..."
vibecli --provider reflection

Option 3: Config file (~/.vibecli/config.toml)

[reflection]
enabled = true
model = "Beam-1.0-501B-A23B"
api_url = "https://api.reflection.ai/openai/v1"   # optional, default shown

The key belongs in the encrypted store or REFLECTION_API_KEY, not in this file.

In VibeCoder, the key field is under Settings → Reflection AI, and Reflection appears in the toolbar model dropdown once a key is set.

Model Selection

Model Context Notes
Beam-1.0-501B-A23B 1M tokens in, 128K out (per the vendor’s model page) Default. U.S. open-weight model

The model id is bare. Pass it exactly as listed; do not add a reflection/ prefix.

Override from the CLI:

vibecli --provider reflection --model Beam-1.0-501B-A23B

Best For

  • U.S.-origin open weights – a non-Chinese open-weight option alongside the hosted models
  • Long context – the vendor lists a 1M-token window for Beam

Pricing and Limits

Pricing and any free tier are not verified for this page. Check the Reflection model page for current terms. VibeCody ships no per-token price for this provider, so cost figures for Reflection calls are not reported.

Verify Connection

vibecli --provider reflection -c "Write a Python async web scraper"

Troubleshooting

Reflection API key not set (REFLECTION_API_KEY)

No key reached the provider. Check that vibecli list-keys shows reflection, or that REFLECTION_API_KEY is exported in the shell that launched VibeCody.

401 Unauthorized

The key is present but rejected. Confirm it is active in the Reflection developer console.

Model not found

Use the exact id Beam-1.0-501B-A23B. Check the model list, since the models available to a key can differ by organization and plan.