Skip to main content

Deploy to Railway (Fastest)

1

Click Deploy

Click the button below to start deployment:Deploy on Railway
Railway deployment

Railway deployment screen

2

Add Your API Key

Bring your own OpenAI, Anthropic, Gemini, or z.ai API key. You’ll be prompted to enter environment variables:
VariableDescriptionExample
LLM_PROVIDERAI provider to useopenai, anthropic, gemini, or zai
LLM_API_KEYYour API keysk-...
LLM_MODELModel to usegpt-4o, claude-sonnet-4-20250514
3

Deploy

Click deploy and wait for your instance to spin up (~2-3 minutes).
Deployment success

Successful deployment

4

Start Building

Visit your Railway URL and navigate to /tinykit to access the builder.
First launch

Your new tinykit instance

Each deployment is yours alone. Your API key, your costs, your data.

Local Development

1

Clone the Repository

git clone https://github.com/tinykit-studio/tinykit.git
cd tinykit
2

Install Dependencies

npm install
3

Configure Environment

cp .env.example .env
Edit .env with your settings:
# Choose your provider: openai, anthropic, gemini, or zai
LLM_PROVIDER=anthropic
LLM_API_KEY=sk-ant-your-key-here
LLM_MODEL=claude-sonnet-4-20250514

# Optional: Custom base URL for OpenAI-compatible providers
# LLM_BASE_URL=https://api.example.com/v1
4

Download PocketBase

npm run pocketbase:download
5

Start Development Server

npm run dev
Visit http://localhost:5173/tinykit to access the builder.

Environment Variables

VariableRequiredDescription
LLM_PROVIDERYesopenai, anthropic, gemini, or zai
LLM_API_KEYYesYour provider’s API key
LLM_MODELYesModel name (e.g., gpt-4o, claude-sonnet-4-20250514)
LLM_BASE_URLNoCustom API endpoint for OpenAI-compatible providers

Cost Breakdown

Your Monthly Costs (you bring your own API keys):
ServiceCost
Railway Hobby Plan~$5/month
OpenAI/Anthropic API (casual use)~$3-5/month
Total~$10/month
Compare to alternatives:
PlatformMonthly Cost
tinykit~$10
Lovable$20-50 + deployment
Replit$20
Cursor + Vercel + Supabase$30+
No subscription fees. No markup on AI usage. You control your costs.

Next Steps