Space AI API

Simple AI API. Built-in hallucination check.

Get fast AI answers with a clear signal whenever the model is unsure or making something up. Top up credits with Stripe and pay only for what you use.

Live Demo

See when the AI knows.And when it's guessing.

Most AI models sound equally confident whether they're right or wrong. Space AI checks every reply as it writes and highlights uncertain parts in real time.

HALLUCINATION DETECTOR
Pick a sample above or type any question below to see how confident the model is.
Ready

How it works

Built to be effortless.

01 · Easy Switch

Works with your existing code

Already using OpenAI or Claude? Point your app to spaceresearch.ai/api/v1 and keep everything else the same.

See Code →
02 · Built-In Safety Net

Catch bad answers early

Get a simple reliability score with every reply — or send any answer from any AI to check if it's guessing or making things up.

03 · Private & Predictable

Your data stays yours

We never train on your requests. Set a hard dollar limit on every API key so you never get a surprise bill.

Pricing

Pay as you go.No subscriptions.

Buy credits with Stripe whenever you need them. Credits never expire and you can cap spend per key.

MODEL-BASED RATES
Per-model + $0.002 check

Pay only for the model you pick (per 1M tokens) plus $0.002 per hallucination check on our dedicated GPU.

Model Input / 1M Output / 1M
Claude Haiku 5.5$0.13$0.65
Space Open Model$0.50$0.50
Gemini 3.8 Flash$0.98$4.88
GPT-4.1$2.60$10.40
Claude Sonnet 5.5 / GPT-6.2$2.60$13.00
Gemini 4 Neon$3.90$19.50
Claude Opus 5.5$5.20$26.00
Hallucination check (GPU)$0.002 / check
Space Rank (up to 30 docs)$0.002 / call
ADD CREDITS WITH STRIPE

Choose an amount

One-time top-up powered by Stripe Checkout.

Includes up to ~5,000 hallucination checks
Secured by Stripe. Card, Apple Pay & Google Pay accepted.

Space Rank API

Rank by rigor, surprise & contradictions.

Drop-in Cohere-compatible reranker at POST https://spaceresearch.ai/api/v1/rank. Order-debiased on our dedicated L4 GPU with 8 built-in rubrics (rag_relevance, rigor, surprise, contradiction, legal_risk, code_security, clinical_triage, llm_judge) or any custom criterion — $0.002 per call.

LIVE SPACE RANK DEMO
Pick a preset or paste your own text to rank live on our L4 GPU.
POST /api/v1/rank · CURL

Also available on MCP as the space_rank tool and live inside Research → AI Papers & Space Rank.

Model Context Protocol (MCP)

Plug into Claude, Cursor & agents.

Connect any MCP client directly to https://spaceresearch.ai/mcp to give your coding agent check_hallucinations, ask_and_verify, and list_models tools out of the box.

CLAUDE CODE
claude mcp add --transport http space-ai https://spaceresearch.ai/mcp \
  --header "Authorization: Bearer YOUR_SPACE_API_KEY"

Tool discovery & list_models are free. Calling check_hallucinations ($0.002/check) or ask_and_verify deducts from your prepaid Stripe credits.

CURSOR / WINDSURF (mcp.json)
{
  "mcpServers": {
    "space-ai": {
      "url": "https://spaceresearch.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_SPACE_API_KEY"
      }
    }
  }
}

FAQ

Quick answers.

How do you detect hallucinations?

When a frontier model writes an answer, our dedicated open-source detector checks each claim and highlights what is verified, uncertain, or likely made up.

Is it easy to switch from OpenAI or Claude?

Yes. Just replace your API URL with https://spaceresearch.ai/api/v1 and paste your Space AI key. Your existing code, apps, and coding tools work right away.

How does Stripe billing work?

You add prepaid credits with Stripe — no recurring subscription. Every request deducts only the exact rate for the model you pick plus $0.002 per hallucination check, and keys stop automatically when they hit your spending limit.

Do you train on my data?

Never. Your prompts and responses are private and are never used to train models.