Overview

RedPill uses pay-as-you-go pricing based on token usage. Pay only for what you use, with no monthly minimums or subscriptions required.
All 218+ models are TEE-protected at no extra cost. Privacy is included by default.

How Pricing Works

Token-Based Billing

You’re charged based on the number of tokens processed:
Cost = (Prompt Tokens × Prompt Price) + (Completion Tokens × Completion Price)
Example:
# Request with GPT-4
Prompt: "Explain quantum computing" (4 tokens)
Response: 150 tokens

Cost = (4 × $0.03/1K) + (150 × $0.06/1K)
     = $0.00012 + $0.009
     = $0.00912

What is a Token?

Tokens are pieces of words. On average:
  • 1 token ≈ 4 characters in English
  • 1 token ≈ ¾ of a word
  • 100 tokens ≈ 75 words

Tokenizer Tool

Calculate tokens for your text →

Pricing Tiers

Free Tier

Perfect for testing and experimentation:
FeatureFree Tier
Credit$5 free on signup
Rate Limit60 requests/min
Token Limit100K tokens/min
ModelsAll 218+ models
TEE Protection✅ Included

Pay-As-You-Go

No monthly commitment:
FeaturePay-As-You-Go
CreditPurchase as needed
Minimum$10 minimum purchase
Rate Limit600 requests/min
Token Limit1M tokens/min
ModelsAll 218+ models
TEE Protection✅ Included
Priority Support✅ Yes

Enterprise

Custom solutions for large organizations:
FeatureEnterprise
CreditCustom pricing
Rate LimitCustom
Token LimitCustom
ModelsAll models + custom
TEE Protection✅ Included
Dedicated Support✅ 24/7
SLA99.9% uptime
Custom ModelsAvailable

Contact Sales

Get enterprise pricing →

Model Pricing

OpenAI Models

ModelPrompt (per 1K tokens)Completion (per 1K tokens)
GPT-4 Turbo$0.01$0.03
GPT-4$0.03$0.06
GPT-3.5 Turbo$0.0005$0.0015
o1-preview$0.015$0.06
o1-mini$0.003$0.012

Anthropic Models

ModelPrompt (per 1K tokens)Completion (per 1K tokens)
Claude 3.5 Sonnet$0.003$0.015
Claude 3 Opus$0.015$0.075
Claude 3 Sonnet$0.003$0.015
Claude 3 Haiku$0.00025$0.00125

Google Models

ModelPrompt (per 1K tokens)Completion (per 1K tokens)
Gemini 1.5 Pro$0.00125$0.005
Gemini 1.5 Flash$0.000075$0.0003
Gemini Flash 8B$0.0000375$0.00015

Phala Confidential AI

ModelPrompt (per 1K tokens)Completion (per 1K tokens)
DeepSeek V3 (TEE)$0.00049$0.00114
GPT-OSS 120B (TEE)$0.0001$0.00049
Qwen 2.5 VL 72B (TEE)$0.00059$0.00059
Qwen 2.5 7B (TEE)$0.00004$0.0001

View All Models

See pricing for all 218+ models →

Cost Examples

Chatbot (1M messages/month)

Scenario: Customer support chatbot
  • Average prompt: 50 tokens
  • Average response: 150 tokens
  • Model: GPT-3.5 Turbo
Monthly cost = 1M × [(50 × $0.0005/1K) + (150 × $0.0015/1K)]
             = 1M × [$0.000025 + $0.000225]
             = 1M × $0.00025
             = $250/month

Document Analysis (10K documents)

Scenario: Legal document review
  • Average document: 2K tokens
  • Average analysis: 500 tokens
  • Model: Claude 3.5 Sonnet
Total cost = 10K × [(2K × $0.003/1K) + (500 × $0.015/1K)]
           = 10K × [$0.006 + $0.0075]
           = 10K × $0.0135
           = $135

Code Generation (100K generations)

Scenario: AI coding assistant
  • Average prompt: 100 tokens
  • Average code: 300 tokens
  • Model: GPT-4 Turbo
Total cost = 100K × [(100 × $0.01/1K) + (300 × $0.03/1K)]
           = 100K × [$0.001 + $0.009]
           = 100K × $0.01
           = $1,000

Rate Limits

Free Tier

LimitValue
Requests per minute60
Tokens per minute100,000
Tokens per day2,000,000

Pay-As-You-Go

LimitValue
Requests per minute600
Tokens per minute1,000,000
Tokens per day20,000,000

Enterprise

Custom rate limits based on your needs.

Billing & Credits

Adding Credits

  1. Go to Dashboard
  2. Click “Add Credits”
  3. Choose amount ($10 minimum)
  4. Pay with credit card or crypto
  5. Credits available immediately

Credit Expiration

  • Free credits: Expire after 90 days
  • Purchased credits: Never expire

Usage Tracking

Monitor your usage in real-time:
curl https://api.redpill.ai/v1/usage \
  -H "Authorization: Bearer YOUR_API_KEY"
Response:
{
  "credits_remaining": "25.50",
  "credits_used_today": "4.50",
  "requests_today": 142,
  "tokens_used_today": 45230,
  "estimated_cost_today": "$0.68"
}

Billing Alerts

Set up alerts in your dashboard:
  • Low balance warning (e.g., less than $5)
  • Daily spend limit (e.g., more than $100/day)
  • Unusual usage spike detection

Pricing vs Competitors

vs Direct Provider APIs

ProviderModelTheir PriceRedPill PriceDifference
OpenAIGPT-4 Turbo0.01/0.01/0.030.01/0.01/0.03Same
AnthropicClaude 3.5 Sonnet0.003/0.003/0.0150.003/0.003/0.015Same
GoogleGemini 1.5 Pro0.00125/0.00125/0.0050.00125/0.00125/0.005Same
RedPill pricing matches provider pricing, but adds TEE protection at no extra cost!

vs Tinfoil

FeatureTinfoilRedPill
Confidential models✅ Yes✅ Yes
Multi-provider❌ Limited✅ 218+ models
TEE gateway❌ No✅ Yes
Price premium~20% markupSame as providers

vs OpenRouter

FeatureOpenRouterRedPill
Multi-provider✅ Yes✅ Yes
TEE protection❌ No✅ Yes
PricingCompetitiveSame + TEE

Cost Optimization Tips

Don’t use GPT-4 when GPT-3.5 suffices:
  • GPT-4: $0.03/1K → Complex reasoning
  • GPT-3.5: $0.0005/1K → Simple tasks
  • Savings: Up to 60x cheaper!
Shorter prompts = lower cost:
# ❌ Expensive (100 tokens)
"Please analyze the following text and provide a detailed..."

# ✅ Cheaper (10 tokens)
"Analyze: [text]"
Stop generation early when you have enough:
stream = client.chat.completions.create(
    model="openai/gpt-4o",
    messages=[...],
    stream=True,
    max_tokens=100  # Limit output
)
Avoid redundant API calls:
# Cache common queries
cache = {}
key = hash(prompt)
if key in cache:
    return cache[key]
response = client.chat.completions.create(...)
cache[key] = response
Process multiple items in one request:
# ✅ Efficient
response = client.chat.completions.create(
    messages=[{
        "role": "user",
        "content": "Translate these 10 phrases: ..."
    }]
)
Start with cheaper models:
  1. Try mistralai/ministral-8b ($0.0000001/1K)
  2. If quality insufficient, upgrade to GPT-3.5
  3. Use GPT-4 only when necessary

Payment Methods

Supported Methods

  • Credit/Debit Cards - Visa, Mastercard, Amex
  • Cryptocurrency - BTC, ETH, USDC (coming soon)
  • Wire Transfer - Enterprise only ($10K minimum)
  • ACH - US enterprise only

Security

  • PCI DSS compliant payment processing
  • No card details stored on RedPill servers
  • Secure payment via Stripe
  • All transactions encrypted

Refund Policy

  • Unused credits: Refundable within 30 days
  • Used credits: Non-refundable
  • Bulk purchases: Custom terms
  • Enterprise contracts: Per agreement

FAQs

No! All requests are TEE-protected at no additional cost. Privacy is included in standard pricing.
  • Free credits: 90 days
  • Purchased credits: Never
Yes! Contact sales@redpill.ai for enterprise pricing.
API requests will fail with “insufficient credits” error. Add credits to resume.
Yes, set daily/monthly limits in your dashboard to prevent unexpected charges.
We use the same tokenizer as the provider (e.g., OpenAI’s tokenizer for GPT models). Check your dashboard for exact counts.

Next Steps