BYOAIK (Bring Your Own AI Key) is a directory of AI tools that run on your own API key.
DSPy
Stanford framework for programming prompts rather than hand-tuning them, against any model on your own key.
- Category:
- Prompt Engineering Tools
- Maintenance:
- Actively developed (last commit 3 days ago)
- Pricing:
- Open Source
- Open source:
- Yes (MIT)
- Self-hostable:
- Yes
- Local-first:
- Yes
- Platforms:
- Library/SDK, CLI, Self-hosted, Docker
- AI providers (bring your own key):
- OpenAI, Anthropic, Google Gemini, Groq, Together AI, Mistral, DeepSeek, Ollama, Custom / OpenAI-compatible
- API key storage:
- Configured by environment variable
- Key risk level:
- LOW
- Trust score:
- 84/100
DSPy is a framework from Stanford NLP for building and optimising LLM pipelines programmatically, compiling declarative modules into effective prompts instead of manual tweaking. You configure a model with your own key directly in code or through provider environment variables, and all calls run from your environment through LiteLLM with no DSPy-hosted proxy. Distributed as a Python library. MIT licensed, 37,229 stars, last commit the day of review.
How this tool was scored
Key handling 88/100 (where your key rests and who sees it, comparable across any licence) and verifiability 70/100 (how much of that BYOAIK could confirm, lower for closed source). Neither contains a popularity signal.
- Key Safety 22/25: The key is supplied by an environment variable or local config file you control.
- Request Routing 17/20: Requests go straight from you to the AI provider.
- Transparency 20/20: Source is public under MIT, so anyone can check how the key is handled.
- Privacy 14/15: Local-first: it works without sending your data anywhere. Can be self-hosted, so the data path stays inside infrastructure you control.
- Maintenance 10/10: Actively developed, with commits within the last three months.
- Verification Confidence 1/10: Compiled from public documentation by an AI-assisted pass, not independently confirmed.
What was checked
Verification tier RESEARCH_ASSISTED, derived from the evidence below and not set by hand.
- [CONFIRMED ยท SOURCE_SCAN] Most recent commit 2026-09-27, about 0 month(s) ago. source
How your API key is handled
Your API key is supplied via an environment variable or local config file. Requests are sent directly to the AI provider. Because it can be self-hosted, your key never has to touch a third-party backend.
Setup
Install the tool, set your provider API key as an environment variable (or in its config file), and pick a model.