Skip to content

API Overview

http://127.0.0.1:8787

No authentication required for the local proxy. Provider keys are configured in ~/.config/fastlane/settings.toml.

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)

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
  • fastlane-auto - Routes through the ONNX ranking model
  • Any provider model ID - Routes directly to that provider