Get $0.50 free credit on sign up

One API, every AI model

Unified OpenAI-compatible API for GPT-4o, Claude, Gemini, DeepSeek and 30+ models. Pay per token, transparent pricing, no hidden fees.

curl
curl https://api.anytokens.com/v1/chat/completions \
  -H "Authorization: Bearer sk-any-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}]}'
30+

Models

1,200+

Active Users

99.9%

Uptime

Unified API

OpenAI-compatible format. Change one line of base_url to migrate. Streaming SSE supported.

Smart Routing

Auto-switch providers by price, speed and availability. 99.9% uptime guaranteed.

Transparent Billing

Real-time per-token billing, detailed usage logs, balance alerts.

Supported Models

30+ mainstream AI models, one unified API

Gemini 1.5 Flash
Fast
Google
Free
DeepSeek V3
Flagship
DeepSeek
Free
Llama 3.3 70B
Open
Meta
Free
GLM-4 Flash
Free
Zhipu
Free
Gemini 1.5 Pro
Long ctx
Google
$1.25/M
DeepSeek R1
Reasoning
DeepSeek
$0.55/M
Llama3 70B
Fast
Groq
$0.59/M
Mixtral 8x7B
MoE
Groq
$0.24/M
Qwen Max
Flagship
Alibaba
$1.60/M
GPT-4o
Multimodal
OpenAI
$2.50/M
Claude Sonnet 4
Balanced
Anthropic
$3.00/M
Claude Opus 4
Strongest
Anthropic
$15.0/M
Grok 3
New
xAI
$3.00/M

Prices per million tokens · Updated regularly · Free

Simple, Transparent Pricing

Pay per token usage. No subscriptions. No minimums.

Free Trial

$0

$0.50 credit on sign up

  • Unlimited free models
  • Gemini / DeepSeek / Llama
  • 20 requests/min
  • 7-day validity
Recommended

Pay as you go

$5+

Per-token billing, pay only for what you use

  • All 30+ models
  • Per-token billing
  • 60 requests/min
  • Detailed usage reports

Enterprise

Custom

Volume discounts + dedicated support

  • Dedicated API channel
  • Custom rate limits
  • Team management
  • Priority support

Developer Quick Start

Three steps to integrate, OpenAI SDK compatible

1. Sign up and get your API Key
2. Replace base_url with Anytokens endpoint
3. Call any model with a single request
Python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.anytokens.com/v1",
    api_key="sk-any-...",
)

response = client.chat.completions.create(
    model="deepseek-v3",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Payment Methods

Visa / MasterCard|Stripe|USDT (TRC20 / ERC20)|BTC / ETH

Settlement: USD / MYR / USDT