Skip to content
BYOK Tools

Chat2DB

SQL client with AI query generation that can use your own model keys.

3.7 editor score•Productivity•Free community edition; paid Pro

Overview

Chat2DB is a cross-platform database client supporting MySQL, PostgreSQL, Oracle and many others, with natural language to SQL and query explanation. The community edition lets you configure your own OpenAI, Azure or custom LLM endpoint.

  • Natural language to SQL
  • SQL explanation
  • Many databases
  • Reports and charts

Our verdict

What we like

  • Open-source edition
  • Broad database support

Watch out for

  • Pro version is the focus now

Works with these providers

Keys from these providers work in this app. Usage is billed by the provider at its list price.

BYOK Key Safety Score

Key handling in Chat2DB

How we score
86/ 100

Grade A

Your key is stored on your device and requests go directly to the provider.

  • Key storage

    Key stays on your device; requests go direct to the provider.

    40/40
  • Auditable code

    Open source: anyone can verify how keys are handled.

    25/25
  • Self-hosting

    Can run entirely on your own infrastructure.

    15/15
  • Offline option

    Cloud providers only.

    0/10
  • Provider choice

    3 provider options, which lets you pick the provider whose data terms you trust.

    6/10

Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.

Chat2DB FAQ

Does Chat2DB support bring your own key?
Yes. Chat2DB accepts your own API key from OpenAI, Azure OpenAI and OpenAI-compatible. Usage is billed by the provider at its API rates.
Where does Chat2DB store my API key?
On your device. Requests go directly from Chat2DB to the provider. Its BYOK Tools Key Safety Score is 86/100.
Is Chat2DB free?
Freemium: Free community edition; paid Pro. API usage is billed separately by your model provider.
Is Chat2DB open source?
Yes. The source code is at https://github.com/CodePhiliaX/Chat2DB. It can also be self-hosted.
Can Chat2DB run local models?
No. Chat2DB works with cloud providers only.
Which platforms does Chat2DB support?
macOS, Windows, Linux, Self-hosted.

Community reviews

No reviews yet.