What is bolt.diy?
bolt.diy is the open-source version of Bolt — an in-browser AI app builder that scaffolds, edits and runs full-stack apps from a prompt. It supports many providers, including a generic OpenAILike provider for any OpenAI-compatible endpoint.
- Generates and runs full-stack apps in a browser sandbox (WebContainers).
- Ships an OpenAILike provider configured by two environment variables.
- Pick the Tokonomix model from the provider’s model dropdown in the UI.
- Open source; self-host with Docker or run locally.
Why route bolt.diy through Tokonomix?
- One key, 130+ models in the OpenAILike model list — including
tokonomix-consensus. - Reach for consensus when scaffolding architecture; a fast model for iterative edits.
- Per-call spend caps keep an app-generating session within budget.
- Region / origin routing applies to every generation call.
Connect Tokonomix to bolt.diy
Set the OpenAILike environment variables (in .env.local or your Docker env), then choose the OpenAILike provider and a Tokonomix model in the UI.
# .env.local
OPENAI_LIKE_API_BASE_URL=https://tokonomix.ai/api/v1
OPENAI_LIKE_API_KEY=tok_live_your-key
# Then in the bolt.diy UI:
# Provider → OpenAILike
# Model → tokonomix-consensus (or any slug)Verify it works
- Set the env vars and restart bolt.diy (or its Docker container).
- Select the OpenAILike provider and a Tokonomix model, then generate an app.
- Confirm the call and token usage in your Tokonomix dashboard.
