OpenAI · LLM API Modelretiring

davinci-002

davinci-002 costs $2.00 per 1M input tokens and $2.00 per 1M output tokens. Batch API: $1.00 input, $1.00 output.

Updated September 21, 2026
Input / 1M
$2.00
Output / 1M
$2.00
Cached Input
—
Context Window
16K
Standard Input
$2.00 / 1M
Base prompt input rate
Standard Output
$2.00 / 1M
Completion output rate
Prompt Caching -50%
50% Off
Cached prompt context
Batch API -50%
$1.00 / 1M
Asynchronous 24h batch

Save up to 50% on OpenAI API token spend

Connect your OpenAI account — we'll optimize Batch API workflows and prompt caching efficiency.

OpenAI retires davinci-002 on 28 Sep 2026. Successor: gpt-5.6-terra.

Flagship models

All rates listed in USD per 1 Million (1M) tokens unless noted

StandardBatch
Pricing Metric / Parameter
Standard RATE
(per 1M)
Batch RATE
(per 1M)
Short context input$2.00$1.00
Short context cached input--
Short context cache writes--
Short context output$2.00$1.00
Long context input--
Long context cached input--
Long context cache writes--
Long context output--

Finetuning

All rates listed in USD per 1 Million (1M) tokens unless noted

StandardBatch
Pricing Metric / Parameter
Standard RATE
(per 1M)
Batch RATE
(per 1M)
Training$6.00$6.00
Input$12.00$6.00
Cached input--
Output$12.00$6.00

Source: OpenAI official pricing page, verified 2026-09-21. Prices in USD per 1M tokens.

AI / LLM
LLM API Cost Comparison

Compare OpenAI model costs against Anthropic & Gemini

Use our free LLM Cost Calculator to benchmark davinci-002 token rates, Batch API discounts, and monthly estimated spend side-by-side with leading AI models.

Open LLM Cost Calculator →