API Overview
Base URL
Section titled “Base URL”http://127.0.0.1:8787Authentication
Section titled “Authentication”No authentication required for the local proxy. Provider keys are configured in ~/.config/fastlane/settings.toml.
Endpoints
Section titled “Endpoints”| Method | Path | Description |
|---|---|---|
| GET | /health |
Health check |
| GET | /v1/models |
List available models |
| POST | /v1/route |
Preview routing decisions |
| GET | /v1/settings |
Get current settings |
| POST | /v1/settings |
Update settings |
| POST | /v1/chat/completions |
Chat completion (OpenAI-compatible) |
OpenAI Compatibility
Section titled “OpenAI Compatibility”Fastlane implements the OpenAI API format. Any tool that works with OpenAI can work with Fastlane:
- Cursor - Set base URL to
http://127.0.0.1:8787 - Continue - Configure provider URL
- LangChain - Use
OpenAI(base_url="http://127.0.0.1:8787") - curl - Standard OpenAI requests work unchanged
Special Model Names
Section titled “Special Model Names”fastlane-auto- Routes through the ONNX ranking model- Any provider model ID - Routes directly to that provider