OpenAI

text davinci 002 API Pricing 2026

Compare pricing, benchmarks, and providers for text davinci 002. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

text davinci 002. Pricing starts at $20.00 per million input tokens and $20.00 per million output tokens. The model supports a context window of up to 4K tokens. API access is available through OpenAI.

Context Window
4K
tokens
Pricing
Input$20.00
Output$20.00
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
Text only

text davinci 002 is priced at $20.00 per million input tokens and $20.00 per million output tokens. It has a context window of 4,097 tokens. It is available from 2 providers, with OpenAI the cheapest at $20.00 per million input tokens. Over the past ~90 days its cheapest input price has risen 100%, from $10.00 to $20.00 per million tokens.

Pricing Comparison

Compare text davinci 002 with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$20.000
$20.000
—
—
—
4,097
Try
$11.000
$55.000
—
—
—
-
Try
$12.500
$12.500
—
—
—
-
Try
$15.000
$120.000
—
—
—
400,000
Try
$15.000
$75.000
—
—
—
200,000
Try
$15.000
$75.000
—
—
—
200,000
Try
$15.000
$60.000
—
—
—
200,000
Try
$15.000
$75.000
—
—
—
200,000
Try
$18.800
$18.800
—
—
—
-
Try
$20.000
$80.000
—
—
—
200,000
Try
$20.000
$20.000
—
—
—
4,097
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

text davinci 002 is available from multiple providers with different pricing and availability.

2
Providers
$20.000
Cheapest Input/M
$20.000
Cheapest Output/M
OpenAI
Best Price

Provider Pricing

2 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Input $/M
Output $/M
Cache Read $/M
Cache Write $/M
Uptime
OpenAI
OpenAI
Best Price
$20.000
$20.000
-
-
-
Azure
Azure
Best Price
$20.000
$20.000
-
-
-
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does text davinci 002 perform? Vote based on your experience.

Cost vs. Quality

Compare text davinci 002's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try text davinci 002

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test text davinci 002 directly in your browser.

Open Playground

Frequently Asked Questions

text davinci 002 costs $0.020000 per 1,000 input tokens and $0.020000 per 1,000 output tokens.
text davinci 002 is available from 2 providers. OpenAI offers the best price.
OpenAI offers text davinci 002 at $20.00 per million input tokens.
Yes. Over the past ~90 days, the cheapest input price for text davinci 002 has increased 100%, from $10.00 to $20.00 per million tokens.
We compare text davinci 002 with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All OpenAI Models

See pricing for all OpenAI models.

View all OpenAI models →