docs/0-START-HERE/quick-start-cloud.md
Get Open Notebook running with Anthropic, Google, Groq, or other cloud providers. Same simplicity as OpenAI, with more choices.
Docker Desktop installed
API Key from your chosen provider:
Create a new folder open-notebook and add this file:
docker-compose.yml:
services:
surrealdb:
image: surrealdb/surrealdb:v2
command: start --user root --pass password --bind 0.0.0.0:8000 rocksdb:/mydata/mydatabase.db
ports:
- "8000:8000"
volumes:
- ./surreal_data:/mydata
# Removed the healthcheck because the v2 image is too minimal to run wget/curl
restart: always
open_notebook:
image: lfnovo/open_notebook:v1-latest
pull_policy: always
ports:
- "8502:8502" # Web UI
- "5055:5055" # API
environment:
- OPEN_NOTEBOOK_ENCRYPTION_KEY=change-me-to-a-secret-string
- SURREAL_URL=ws://surrealdb:8000/rpc
- SURREAL_USER=root
- SURREAL_PASSWORD=password
- SURREAL_NAMESPACE=open_notebook
- SURREAL_DATABASE=open_notebook
volumes:
- ./notebook_data:/app/data
depends_on:
- surrealdb
restart: always
Edit the file:
change-me-to-a-secret-string with your own secret (any string works)Open terminal in your open-notebook folder:
docker compose up -d
Wait 15-20 seconds for services to start.
Open your browser:
http://localhost:8502
You should see the Open Notebook interface!
Your provider's models are now available!
Multiple providers: You can add credentials for as many providers as you want. Just repeat this step for each provider.
| Provider | Recommended Model | Notes |
|---|---|---|
| OpenRouter | anthropic/claude-3.5-sonnet | Access 100+ models |
| Anthropic | claude-3-5-sonnet-latest | Best reasoning |
gemini-2.0-flash | Large context, fast | |
| Groq | llama-3.3-70b-versatile | Ultra-fast |
| Mistral | mistral-large-latest | Strong European option |
http://localhost:8502All checked? You're ready to research!
| Provider | Speed | Quality | Context | Cost |
|---|---|---|---|---|
| OpenRouter | Varies | Varies | Varies | Varies (100+ models) |
| Anthropic | Medium | Excellent | 200K | $$$ |
| Fast | Very Good | 1M+ | $$ | |
| Groq | Ultra-fast | Good | 128K | $ (free tier) |
| Mistral | Fast | Good | 128K | $$ |
| DeepSeek | Medium | Very Good | 64K | $ |
docker ps # Check all services running
docker compose logs # View logs
docker compose restart # Restart everything
Anthropic: Ensure key starts with sk-ant-
Google: Use AI Studio key, not Cloud Console
Groq: Free tier has rate limits; upgrade if needed
Approximate costs per 1K tokens:
| Provider | Input | Output |
|---|---|---|
| Anthropic (Sonnet) | $0.003 | $0.015 |
| Google (Flash) | $0.0001 | $0.0004 |
| Groq (Llama 70B) | Free tier available | - |
| Mistral (Large) | $0.002 | $0.006 |
Check provider websites for current pricing.
Need help? Join our Discord community!