Patent Pending · Universal AI

The API for structured AI communication.

GALEN converts natural language into compact structured tokens — reducing AI input overhead by 30–70% while improving consistency, speed and downstream AI accuracy. Built for platforms where every AI request matters.

POST /v1/convert
const result = await fetch('https://api.galenapi.com/v1/convert', {
  method: 'POST',
  headers: { 'X-GALEN-Key': 'gk_live_...' },
  body: JSON.stringify({
    text: 'Female patient 45 BMI 42 T2DM awaiting bypass',
    domain: 'med'
  })
});

// Compact GALEN token out
// {
//   galen: "D.med: patient | sex=F age=45 BMI=42 | T2DM | bypass+next",
//   reduction: 64,
//   tokens_saved: 28
// }
30–70%Token reduction
<200msAPI response time
250Words per conversion
6Domain packs
API Reference

Endpoints

All endpoints served over HTTPS. Authentication uses the X-GALEN-Key header.

POST
/v1/convert
Convert natural language text to a compact GALEN structured token statement
Live
POST
/v1/expand
Expand any GALEN structured instruction into its canonical natural-language form. Deterministic — one input always produces the same English output. For audit trails, compliance logging and human-readable records.
Live
POST
/v1/voice
Convert any spoken or typed input and return a structured response — summary, key information, and next steps
Live
POST
/v1/audio
Accept base64 audio, transcribe, convert to GALEN, and return structured output in one call
Coming Soon
GET
/v1/domains
List available domain vocabulary packs — MED, FIN, LEG, TECH, BUS, EDU
Coming Soon
POST
/v1/session
Declare a session context [CTX] block — applied automatically to all subsequent calls
Coming Soon
Quickstart

Integrate in minutes.

Three lines of code. Any language. Any platform.

// Install: npm install node-fetch

const response = await fetch('https://api.galenapi.com/v1/convert', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-GALEN-Key': 'gk_live_YOUR_API_KEY'
  },
  body: JSON.stringify({
    text: 'Plan a 3-day itinerary for Tokyo on a budget',
    domain: 'travel'
  })
});

const { galen, reduction, tokens_saved } = await response.json();

// galen        → "C.travel: itinerary Tokyo duration=3d budget=low >list"
// reduction    → 52  (percent)
// tokens_saved → 6
# Install: pip install requests

import requests

response = requests.post(
    'https://api.galenapi.com/v1/convert',
    headers={
        'Content-Type': 'application/json',
        'X-GALEN-Key': 'gk_live_YOUR_API_KEY'
    },
    json={
        'text': 'Plan a 3-day itinerary for Tokyo on a budget',
        'domain': 'travel'
    }
)

data = response.json()
# data['galen']     → "C.travel: itinerary Tokyo duration=3d budget=low >list"
# data['reduction'] → 52
curl -X POST https://api.galenapi.com/v1/convert \
  -H "Content-Type: application/json" \
  -H "X-GALEN-Key: gk_live_YOUR_API_KEY" \
  -d '{
    "text": "Plan a 3-day itinerary for Tokyo on a budget",
    "domain": "travel"
  }'

# Response:
# {
#   "galen": "C.travel: itinerary Tokyo duration=3d budget=low >list",
#   "reduction": 52,
#   "tokens_saved": 6
# }
Use Cases

Built for platforms that talk to AI.

GALEN sits between your users and your AI endpoints — compressing every instruction before it hits your token budget.

🏥
Clinical Documentation

Surgeons and physicians speak naturally. GALEN compresses to structured tokens for AI processing. Compatible with EHR systems.

GALEN-MED
🤖
AI Agent Orchestration

Feed compact structured tokens to your AI agents instead of verbose natural language. Reduce cost and latency across every agent call.

All Domains
💼
Business Automation

Convert business instructions into compact tokens. Automate workflows, generate reports, and draft communications at scale.

GALEN-BUS
⚖️
Legal & Compliance

Compress legal instructions and compliance queries. Reduce overhead on AI legal research and document generation tools.

GALEN-LEG
💰
Financial Services

Structured tokens for financial data entry, reporting, and AI-assisted analysis. Reduce token costs across large-scale workflows.

GALEN-FIN
🌍
Any Domain

Travel, education, technology, creative tasks. GALEN handles any natural language input and compresses it to a structured token.

Universal
Integration targets — contact us for partnership discussions
Suki AI Abridge Nuance Nabla Epic Doximity Oracle Health HealthArc
Pricing

Simple, usage-based pricing.

Start simple. Scale as you grow. Enterprise plans available for platform integrations.

Conversion Unit
One conversion includes up to 250 words of input text or transcript. Longer inputs are billed proportionally. Example: 600 words = 3 conversions.
Starter
£99
per month

For early teams testing structured AI communication in production.

  • 2,000 conversions / month
  • Each conversion includes up to 250 words
  • Basic API access
  • 1 workspace
  • GALEN Core + GALEN-MED
  • Email support
  • Then £0.03 per extra conversion
Get Started
Enterprise
£2,000+
per month · negotiated volume

For AI vendors, healthcare platforms and enterprise systems requiring large-scale structured communication.

  • 100,000+ conversions / month
  • Each conversion includes up to 250 words
  • White-label use
  • Custom vocabulary packs
  • On-premise or private deployment
  • Dedicated support + SLA
  • Enterprise security + audit logging
Talk to Us
Volume Pricing — Declining Unit Cost
VolumePrice per conversion
First 20,000 / month£0.015 per conversion
20,001–100,000 / month£0.010 per conversion
100,001–1,000,000 / month£0.005 per conversion
Over 1,000,000 / monthCustom enterprise pricing
A "conversion" means one submitted request of up to 250 words. If a customer submits 800 words, this is billed as 4 conversions.
ROI-Based Enterprise Pricing

Enterprise customers are priced primarily on the value GALEN creates: lower AI cost, faster responses and more reliable downstream outputs.

Example: if GALEN reduces an AI platform's monthly token spend from £50,000 to £20,000, while improving response consistency and latency, GALEN may charge £2,000–5,000/month — leaving the customer with the majority of the value created.

Start building with GALEN.

Email us to request your API key. Or try the live demo first — no login required.

Request API Key → Live Demo Protocol Docs