OpenAI Anthropic Google OpenRouter · 300+ models

One line change.
Half the cost.

TokenSurf routes your ChatGPT, Claude, and Gemini calls to cheaper models when the query is simple. No SDK. No lock-in.

70+
Models
4
Providers
3
Regions
40-94%
Savings

Integration in 1 Line

Same OpenAI SDK. Works with GPT, Claude, and Gemini. Just change the URL.

from openai import OpenAI

client = OpenAI(
    api_key="ts_your_tokensurf_key",
    base_url="https://api.tokensurf.io/v1"   # That's it)

# OpenAI — gpt-4o routed to gpt-4o-mini (94% savings)
response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "What is 2+2?"}]
)

# Anthropic — claude-opus-4 routed to claude-haiku-3.5 (94% savings)
response = client.chat.completions.create(
    model="claude-opus-4",
    messages=[{"role": "user", "content": "Translate hello to French"}]
)

# Google — gemini-2.5-pro routed to gemini-2.5-flash (72% savings)
response = client.chat.completions.create(
    model="gemini-2.5-pro",
    messages=[{"role": "user", "content": "Define photosynthesis"}]
)

How It Works

One proxy between you and the providers. Change one URL.

code Step 1

Swap one URL

Point your SDK at TokenSurf. Same code, same models. One line change.

classify Step 2

We classify & route

"What is 2+2?" goes to a cheap model. "Write me a React app" keeps yours.

savings Step 3

Cut your bill in half

Save 50-99% on simple calls. Same quality. Your keys, your providers.

Works with OpenAI, Anthropic, Google, and 300+ models via OpenRouter. Read the full architecture →

Real Pricing, Real Savings

When a query is simple, we route it to a cheaper model. Here's exactly what you pay and save.

You RequestCost per 1M tokensWe Route ToCost per 1M tokensYou Save
gpt-4$30 / $60gpt-4o-mini$0.15 / $0.6099%
gpt-4-turbo$5 / $15gpt-4o-mini$0.15 / $0.6097%
gpt-4o$2.50 / $10gpt-4o-mini$0.15 / $0.6094%
claude-opus-4$15 / $75claude-haiku-3.5$0.80 / $495%
claude-sonnet-4$3 / $15claude-haiku-3.5$0.80 / $473%
gemini-2.5-pro$1.25 / $10gemini-2.5-flash$0.30 / $2.5076%

Prices shown as input / output per 1M tokens. Already on a cheap model? We pass through unchanged. 300+ models available via OpenRouter.

Pay As You Go

Bring your own API keys. We route smarter. No subscriptions.

Free to Start

1,000 credits
  • Free on signup, no card required
  • OpenAI, Anthropic, Google + OpenRouter
  • AI-powered routing included
  • Full analytics dashboard

Get Free Credits

The Math

You save 40-94%
  • Our fee: $0.001 per routed request
  • Your savings: $0.005-$0.03 per request
  • ROI: 5x to 30x what you pay us
  • Dashboard shows exact savings

See How It Works

Ready to Start?

Sign up in 30 seconds. Get 1,000 free credits. No credit card required.

from openai import OpenAI

client = OpenAI(
    api_key="ts_your_key",
    base_url="https://api.tokensurf.io/v1"
)  # That's it. You're saving money.