How @ Mentions Work
Bonsai’s @ mention system lets you seamlessly switch between different AI models within the same conversation. Simply type@
followed by the model alias anywhere in your prompt, and Bonsai will route your request to that specific model.
In Claude Code, you can also use /model @model-alias
to update the default model.
@ mentions in prompts are sticky until the next user message is encountered in the conversation. Any tool call responses until the next user message will continue to use the model from the last user message. Any user messages, including tool use rejections with a reason, will reset the routing. If you would like to continue using the same model through multiple user messages, you should set the model with /model @model-alias
.
You can also use
@@model
to refer to a model. This can be useful if your agent already uses @ for file references.Available Model Aliases
Model | Aliases |
---|---|
anthropic/claude-sonnet-4 | @sonnet |
anthropic/claude-opus-4.1 | @opus |
deepseek/deepseek-chat-v3.1 | @deepseek @ds |
google/gemini-2.5-flash | @gflash @gemini-flash |
google/gemini-2.5-pro | @gpro @gemini-pro |
openai/gpt-5-codex | @gpt5 @gpt5-high @gpt5-medium @gpt5-low |
qwen/qwen3-coder | @qwen |
x-ai/grok-code-fast-1 | @grok |
z-ai/glm-4.5 | @glm |
z-ai/glm-4.5-air | @glm-air |
Tips
- Match model to task complexity - Don’t use expensive models for simple tasks
- Use specialized models - Each model has strengths; leverage them
- Iterate with different models - Start with fast models, refine with powerful ones
- Consider cost-efficiency - Check the pricing page to optimize your usage