UsageRun recipes
5. Full gateway path (Anthropic / OpenAI / any provider via LiteLLM)
5. Full gateway path (Anthropic / OpenAI / any provider via LiteLLM): a Cyberine usage recipe.
cp .env.example .env
# In .env set the keys you have: ANTHROPIC_API_KEY / OPENAI_API_KEY / DEEPSEEK_API_KEY
# and point LOOP_MODEL_A / LOOP_MODEL_B at aliases declared in litellm.config.yaml.
docker compose up -d # LiteLLM gateway on :41400 (health: http://localhost:41400/health)
npm run demo # the table now ALSO includes loop-gateway-a / loop-gateway-b
docker compose down # stop the gateway when done4. Switch the OpenRouter loop model (config only)
Mind the date suffix — the two DeepSeek routes are inverted. On OpenRouter the DATED ids (deepseek/deepseek-v4-pro-0813, deepseek/deepseek-v4-flash-0731) are the current GAs and the UNDATED...
Global credentials (cyberine from any directory)
Credentials load with precedence shell env > ~/.cyberine/.env (global, trusted) > ./.env (cwd); a key already set is never overridden. The global ~/.cyberine/.env is what lets the installed cyberine