Tools Web

Máy tính

OpenAI Token Cost Calculator

Estimate OpenAI API spend from input and output tokens. Pick GPT-4o, GPT-4.1, or an o-series model, or enter custom $/1M rates. Cost = tokens ÷ 1,000,000 × price per 1M. Results are estimates; official OpenAI pricing prevails.

Toán chạy trong trình duyệt của bạn. Không có gì được tải lên.

Custom $/1M rates (optional)

Estimated USD cost
—

Input cost
—

Output cost
—

Per 1k input tokens
—

Per 1k output tokens
—

Estimates only; official vendor pricing prevails (2026-10-30). Cost = tokens ÷ 1,000,000 × price per 1M.

Claude Token Cost Calculator · Gemini Token Cost Calculator · Grok Token Cost Calculator · LLM API Cost Calculator · RAG Cost Calculator

Cách nó hoạt động

Có dữ liệu nào được tải lên không?
Không. Những máy tính và mã QR này chạy trong trình duyệt của bạn.
Can these AI prices change?
Yes. Vendors change list prices often. Edit the $/1M or plan fields, and confirm on the official pricing page before you budget.
Is usage data uploaded?
No. Token and subscription math runs in your browser. Nothing is sent to a server.