TokenSail Get Started

GPT-4o API

OPENAI · Chat, Vision · 128K context

from $1.875 / 1M input tokens -25% vs OpenRouter

GPT-4o is OpenAI's flagship multimodal model with 128K context, supporting chat and vision. TokenSail offers GPT-4o API access at $1.875/1M input tokens — 25% cheaper than the official $2.50. Drop-in compatible: just change base_url to api.tokensail.ai and keep using model name gpt-4o.

Pricing Comparison

Provider Input / 1M tokens Output / 1M tokens Savings
TokenSail $1.875 $7.50
OpenRouter $2.50 $10.00 -25%
Official $2.50 $10.00 -25%

Quick Start

from openai import OpenAI

client = OpenAI(
    base_url="https://api.tokensail.ai/v1",
    api_key="YOUR_TOKENSAIL_API_KEY"
)

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

Specifications

Start using GPT-4o at $1.875/1M tokens

Get Started Free