Skip to content

NewHappyHorse & Kling now available

Frontier image & video models, without the price tag

TokPort is a developer-first gateway to the world's best generation models. One OpenAI-compatible API, transparent pay-as-you-go pricing, and one balance for image and video generation.

generate.tsPOST /v1/images/generations
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.tokport.io/v1",
  apiKey: process.env.TOKPORT_API_KEY,
});

const result = await client.images.generate({
  model: "gpt-image-2",
  prompt: "a neon koi swimming through clouds, cinematic",
  size: "1024x1024",
});

console.log(result.data[0].url);
200 OK · 1 image · 1024 × 1024billed $0.10
32
Frontier models
41%
Below list rates
$0.025
Lowest per image
1
OpenAI-compatible API

01/Why the gateway

Everything the first-party APIs give you, minus the friction

01

One OpenAI-compatible API

Point your existing OpenAI SDK at our base URL and swap the model name. No new client code, no webhooks to learn.

02

Transparent model pricing

Pay per generated image, per second of video or per clip, depending on the model — no token math, no surprise line items. Balance upfront, spend as you go.

03

Stable global access

Deployed on global infrastructure with healthy upstream routing and automatic failover between channels.

04

Usage analytics built in

Per-key spending caps, real-time usage logs and daily spend charts in your dashboard.

02/Model manifest

One gateway, every frontier model

GPT Image 2

OpenAI

image
−41%

$0.10per image

GPT Image 2.5 Flare

OpenAI

image
—

$0.13per image

GPT Image 2.5 Sunburst

OpenAI

image
—

$0.13per image

Qwen Image 2.1 (Unrestricted)

Alibaba

image
—

$0.085per image

Seedream 5 Pro (Unrestricted)

BytePlus (Volcengine)

image
—

$0.255per image

NovelAI V5 (Unrestricted)

NovelAI

image
—

$0.065per image

NovelAI V4.5 (Unrestricted)

NovelAI

image
—

$0.025per image

GPT Image 2 HD

OpenAI

image
—

$0.035per image

Nano Banana 2.1

Google

image
—

$0.065per image

Nano Banana 3 Pro

Google

image
—

$0.065per image

Nano Banana 3.1 Flash

Google

image
—

$0.065per image

Grok Image 2.0

xAI

image
—

$0.085per image

Seedream 5 Pro

BytePlus (Volcengine)

image
—

$0.070per image

Qwen Image 2.0

Alibaba

image
—

$0.065per image

Qwen Image 2.0 Pro

Alibaba

image
—

$0.165per image

Qwen Image 3.0

Alibaba

image
—

$0.060per image

Qwen Image 3.0 Pro

Alibaba

image
—

$0.085per image

Wan 2.7 Image

Alibaba

image
—

$0.065per image

Kling 3.0 Image

Kuaishou

image
—

$0.065per image

Z-Image Turbo

Alibaba

image
—

$0.035per image

Seedance 2.0

BytePlus (Volcengine)

video
—

$0.635per clip

Seedance 2.0 4K

BytePlus (Volcengine)

video
—

$0.38per second

Seedance 2.0 Fast

BytePlus (Volcengine)

video
—

$0.25per second

Seedance 2.0 Mini

BytePlus (Volcengine)

video
—

$0.085per second

Seedance 2.5

BytePlus (Volcengine)

video
—

$0.545per second

HappyHorse 1.1

Alibaba

video
—

$0.31per second

HappyHorse 1.0

Alibaba

video
—

$0.48per second

Wan 3.0 Video

Alibaba

video
—

$0.62per second

Kling 3.0

Kuaishou

video
—

$0.565per second

Kling 3.0 Omni

Kuaishou

video
—

$0.255per second

Kling O1

Kuaishou

video
—

$0.175per second

MiniMax H3 (768p)

MiniMax

video
—

$0.030per second

03/Quickstart

Up and running in minutes

  1. Create an account

    Sign up with email — no credit check, no minimum deposit to start.

  2. Top up your balance

    Add credits in USD. Start with as little as $1 and top up any time.

  3. Call the API

    Create a key and use the OpenAI-compatible endpoints from any language or SDK.

05/FAQ

Frequently asked questions

Anything else? Write to [email protected].

Which models are available?

We relay the latest image and video generation models from leading providers — including GPT Image, Nano Banana, Seedream and Seedance — behind one stable API. The live list is on the pricing page.

Is the API really OpenAI-compatible?

Yes. Image generation follows the /v1/images/generations schema, so the official OpenAI SDKs work out of the box: just change the base URL, API key and model name.

How does billing work?

Each request is billed per generated image, per second of video or per clip, depending on the model, at the published rate. Your balance is deducted in real time, and every call is itemized in your usage log.

How do I pay?

Top up by card through Stripe when available, or redeem a code. Sign in and open Billing to see the payment options currently available to you. Card payments are credited once Stripe confirms payment.

Do generated images expire?

Result URLs are stable CDN links. We recommend downloading or mirroring outputs you want to keep permanently, as with any generation API.

Five minutes to first image

Ready to build?

Create an account, grab a key, and generate your first image in under five minutes.