Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.51 KB

File metadata and controls

51 lines (33 loc) · 1.51 KB

DataPilot API Keys Guide

DataPilot uses large language models to convert natural language into Pandas code or SQL. You need at least one API key from a supported provider.

Recommended Provider: Groq

Groq offers extremely fast inference and a generous free tier.

  1. Sign up at console.groq.com
  2. Create a new API key
  3. Add it to your .env:
GROQ_API_KEY=gsk_xxxxxxxxxxxxxxxxxxxxxxxx

Groq keys always start with gsk_.


Alternative Providers

DataPilot automatically detects your provider from the key prefix.

Together AI

  • Website: api.together.xyz
  • Model: meta-llama/Llama-3.3-70B-Instruct-Turbo
  • No standard prefix — DataPilot defaults to Together for unrecognized keys

OpenRouter

  • Website: openrouter.ai
  • Model: meta-llama/llama-3.3-70b-instruct:free
  • Key prefix: sk-or-

How Provider Detection Works

Key Prefix Provider
gsk_ Groq
sk-or- OpenRouter
anything else Together AI

You only need one working key. There is no fallback chain in the current release; if your chosen provider is down, switch keys manually in Settings.


Privacy Note

Your API key is never sent to our servers. In the web UI, it is stored in your browser's localStorage and sent directly from your browser to the LLM provider's API via the DataPilot backend. If you self-host DataPilot, you fully control this flow.