Pricing

Bonsai doesn’t charge any markup for credits purchased - we charge exactly what the providers charge.
All prices are per 1 million tokens. Cache costs apply only to Anthropic models when using prompt caching.
ModelInputOutputCache ReadCache Write
anthropic/claude-sonnet-4$3.00$15.00$0.30$3.75
anthropic/claude-opus-4.1$15.00$75.00$1.50$18.75
deepseek/deepseek-chat-v3.1$0.56$1.68$0.07
google/gemini-2.5-flash$0.30$2.50$0.075
google/gemini-2.5-pro$1.25$10.00$0.31
openai/gpt-5-codex$1.25$10.00$0.125
qwen/qwen3-coder$2.00$2.00
x-ai/grok-code-fast-1$0.20$1.50$0.02
z-ai/glm-4.5$0.60$2.20
z-ai/glm-4.5-air$0.20$1.10