Skip to content

Quick Start

Terminal window
fastlane --port 8787

Edit ~/.config/fastlane/settings.toml:

[general]
host = "127.0.0.1"
port = 8787
mode = "balanced"
[byok]
openai_key = "sk-your-openai-key"
anthropic_key = "sk-ant-your-anthropic-key"
groq_key = "gsk-your-groq-key"

Restart the proxy after editing.

Point any OpenAI-compatible tool at http://127.0.0.1:8787:

Terminal window
# Using curl
curl http://127.0.0.1:8787/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "fastlane-auto",
"messages": [{"role": "user", "content": "What is 2+2?"}]
}'
# Using with tools like Cursor, Continue, etc.
# Set base URL to: http://127.0.0.1:8787
Terminal window
curl http://127.0.0.1:8787/v1/route \
-H "Content-Type: application/json" \
-d '{"prompt": "What is 2+2?", "mode": "balanced"}'

This shows you which model the ranking system picks for that prompt.