TokenPriceDB

GPT-6 Luna API pricing

OpenAI · checked 2026-11-21 · source

Input / 1M tokens
$0.1
Output / 1M tokens
$0.5
Cached input / 1M tokens
$0.01
Context window
1,050,000
Provider
OpenAI

Cost per typical task

Computed from the prices above. The token counts are illustrative task sizes, not measurements.

TaskTokensArithmeticCost
Chat reply1,000 input + 300 output1,000 ÷ 1,000,000 × $0.1 + 300 ÷ 1,000,000 × $0.5 = $0.000250$0.000250
Summarize a long document20,000 input + 1,000 output20,000 ÷ 1,000,000 × $0.1 + 1,000 ÷ 1,000,000 × $0.5 = $0.002500$0.002500
Coding agent step (cached context)5,000 input + 40,000 cached input + 2,000 output5,000 ÷ 1,000,000 × $0.1 + 40,000 ÷ 1,000,000 × $0.01 + 2,000 ÷ 1,000,000 × $0.5 = $0.001900$0.001900

← Calculate the cost of your own prompt · Compare with the cheapest LLM APIs