Bring Your Own Key (BYOK) · Direct Provider Calls · Zero Token Markup

Generate MySQL queries from plain language with your own AI key

Turn plain language into MySQL queries with your own OpenAI, Claude, Gemini, or DeepSeek key.

Scan on Android / Tablet Opens official Google Play listing
Real HiSQL SQL editor screenshot showing the sparkle AI SQL assistant button on the editor toolbar
Real app screen: launch the AI assistant directly from the SQL editor toolbar

7 built-in providers + any OpenAI-compatible endpoint

No stale hardcoded model lists. Enter your API key, tap Fetch Latest Models to pull live options straight from your provider, test the connection, and start generating SQL inside the editor.

OpenAI

api.openai.com/v1

GPT series & reasoning models

Anthropic

api.anthropic.com/v1

Claude family native API

Gemini

generativelanguage.googleapis.com

Google Gemini models

DeepSeek

api.deepseek.com

Fast, low-cost SQL reasoning

GLM

api.z.ai/api/paas/v4

Zhipu GLM models

MiniMax

api.minimax.io/v1

MiniMax LLM API

SiliconFlow

api.siliconflow.cn/v1

Multi-model hosting in CN

Custom OpenAI-Compatible

https://your-gateway/v1

Ollama, OpenRouter, vLLM, LiteLLM, enterprise gateways

Why HiSQL uses BYOK instead of selling an AI proxy subscription

Pay standard API rates with zero markup

Reuse the OpenAI, Anthropic, Gemini, or DeepSeek credits you already have instead of paying a second monthly AI fee just for mobile queries.

Direct requests with no HiSQL AI proxy

Your API key is stored locally and requests go straight from your device to the Base URL you configure — never relayed through a HiSQL server.

Ready for self-hosted & enterprise gateways

Point the Custom provider at OpenRouter, LiteLLM, vLLM, or an internal corporate OpenAI-compatible gateway whenever compliance requires it.

Example workflow in the SQL editor

Prompt: Show paid order count and average order value per day for the last 7 days, newest first

SELECT
  DATE(created_at) AS order_day,
  COUNT(*) AS paid_orders,
  ROUND(AVG(total_amount), 2) AS avg_order_value
FROM orders
WHERE status = 'paid'
  AND created_at >= DATE_SUB(CURDATE(), INTERVAL 7 DAY)
GROUP BY DATE(created_at)
ORDER BY order_day DESC;

AI SQL Assistant FAQ

Does the AI assistant automatically execute generated SQL against my database?
No. HiSQL inserts the generated query into the SQL editor so you can inspect, edit, or run EXPLAIN before executing — especially important when connected to production databases.
What if my custom endpoint does not expose a /models list?
If live model discovery returns empty for a custom proxy, HiSQL lets you type the model name manually and verify it immediately with the built-in Test Connection action.
Is the AI SQL Assistant part of Free or Pro?
The AI SQL Assistant is included in HiSQL Pro (Monthly, Annual, or one-time Lifetime unlock). Once unlocked, you pay only your own LLM provider directly.

Stop typing complex JOINs on a phone keyboard

Download HiSQL and connect your preferred OpenAI, Claude, Gemini, or DeepSeek API key in seconds.

Get HiSQL Free on Google Play