Quick Start
1. Start the Proxy
Section titled “1. Start the Proxy”fastlane --port 87872. Add Your API Keys
Section titled “2. Add Your API Keys”Edit ~/.config/fastlane/settings.toml:
[general]host = "127.0.0.1"port = 8787mode = "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.
3. Use It
Section titled “3. Use It”Point any OpenAI-compatible tool at http://127.0.0.1:8787:
# Using curlcurl 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:87874. See the Routing
Section titled “4. See the Routing”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.