This model was retired on 2026-09-28. The pricing below is the last-known rate, kept for migration reference.

Davinci 002Deprecated

OpenAI
Context
16K
Max output
4K
Serving providers
1
Cheapest input
$2.00 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing by serving provider

last-known · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
OpenAI$2.00$2.001

Price history

input + output $/1M since we started tracking
Input Output
$0.000$0.500$1.00$1.50$2.00Sep 20Jun 22$2.00$2.00

Cost calculator

estimate your monthly spend on this model
$560
estimated / month

Model IDs

copy the exact identifier for your platform
davinci-002

Frequently asked questions

Davinci 002 pricing, context and availability

Is Davinci 002 still available?

Davinci 002 was retired on 2026-09-28. The pricing on this page is the last-known rate, kept for migration reference.

How much did Davinci 002 cost?

Davinci 002's last-known pricing, before it was retired on 2026-09-28, was $2.00 per 1M input tokens and $2.00 per 1M output tokens.

What was the context window of Davinci 002?

Davinci 002 had a 16K token context window and could return up to 4K output tokens.

Other OpenAI models

compare pricing across the OpenAI lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI