Marketplace · Text & chat
arctic-text2sql-r1:7b
Call arctic-text2sql-r1:7b through one OpenAI-compatible API. It's served by 1 host on the Inpherio grid, each at a price it sets — your request goes to the cheapest healthy one, and fails over to the next if it's down.
At a glance.
tools
from openai import OpenAI
client = OpenAI(base_url="https://inpherio.co.uk/v1",
api_key=INPHERIO_API_KEY)
reply = client.chat.completions.create(
model="arctic-text2sql-r1:7b",
messages=[{"role": "user", "content": "Hello"}],
)arctic-text2sql-r1:7b in detail.
Read more in our paper: [Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL](https://arxiv.org/abs/2505.20315).
- Published by
- Snowflake
- Parameters
- 7.6B
- Architecture
- qwen2
- Licence
- Apache 2.0
- Based on
- Qwen/Qwen2.5-Coder-7B-Instruct
- First published
- 22 May 2025
- Last updated
- 29 May 2025
- Downloads (30 days)
- 9,876 on Hugging Face
- Likes
- 83
qwen2
The model card
Published by the model's authors on Hugging Face — shown as they wrote it, unedited by Inpherio.
Overview
Arctic-Text2SQL-R1-7B is a 7-billion-parameter Text-to-SQL model fine-tuned using Group Relative Policy Optimization (GRPO) with a simple execution-based reward signal. It converts natural language questions into executable SQL queries.
Read more in our paper: Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL.
Key Features
- Lightweight RL formulation: Uses only execution correctness and syntax validity as rewards.
- State-of-the-art performance: Achieves 68.9% execution accuracy on BIRD-dev and 68.5% on BIRD-test, with an average of 57.2% across six benchmarks (BIRD, Spider, Spider2.0, Spider-DK, EHRSQL, ScienceBenchmark)
- Efficiency: Outperforms many 70B+ models with only 7B parameters.
Intended Use
This model is designed for:
- Interactive natural language interfaces to relational databases.
- Data analytics tools enabling non-technical users to query databases.
Not intended for:
- Generation of non-SQL text or free-form natural language tasks.
- Production systems without validation, especially in safety-critical domains.
| Benchmark | Dev/Test Accuracy |
|---|---|
| BIRD-dev | 68.9% |
| BIRD-test | 68.5% |
| Spider-test | 88.8% |
| Spider2.0-DK | 15.6% |
| EHRSQL | 36.7% |
| ScienceBenchmark | 51.8% |
| Average | 57.2% |
Ethical Considerations
- Avoid using for private or sensitive data without proper oversight.
- Validate generated SQL to prevent data leakage or unauthorized access.
Sources: Snowflake/Arctic-Text2SQL-R1-7B on Hugging Face. Collected from public sources on 22 Nov 2026; the host serving it may run a different build or quantisation — the marketplace shows each host's own measurements.
Who's serving it.
Every host benchmarked this model on its own hardware before serving it. Prices are set by each host; health is scored by the platform from what it observes.
| Host | Tier | Price | Measured speed | Health | State | Rent |
|---|---|---|---|---|---|---|
| GTX 1080 Ti (11G) | L1 | £0.03 in · £0.06 out | 49 tok/s · 31 ms first token | 85 | loads on request | £0.60/h |
Live data, refreshed on every visit. How billing works.
Room on the grid for your machine.
Right now one machine serves arctic-text2sql-r1:7b. If it drops, so does every request for it — a second host is what turns it into failover, and the grid needs that more than another copy. The router weighs price, measured speed, health and whether the model is already loaded — so a host with a sharper price or quicker hardware wins the next call.
Set your own price — you keep 85% of what it earns, and new hosts start with 12 months fee-free (up to £250 of earnings). A payout fee of £2 + 1% per payout to a UK bank account, £2 + 2% to any other country applies when you're paid. Install the connector, load arctic-text2sql-r1:7b, and the platform benchmarks it on your hardware before your first request.