ModelInfo
English
All models

davinci-002

Replacement for the GPT-3 curie and davinci base models

OpenAIdavinci-002Report incorrect data

Specs

Context
—
Max output
16.4K
Input price
$2/ 1M tokens
Output price
$2/ 1M tokens
Released
—

Context

Context window
—
Max input
—
Max output
16.4K

Pricing · USD / 1M tokens

Input
$2
Output
$2
Cache read
—
Cache write
—

Modalities

Input
Text
Output
Text

API

API types
completions

Reasoning

Not published

Info

Status
Retired
Released
—
Knowledge cutoff
2021-09-01

Features

Not published
Source · official docsVerified 2026-10-11

How to call

1 provider

openaimodel = davinci-002

completions
POSThttps://api.openai.com/v1/completions

JSON

Standard format
davinci-002.json
{
  "id": "davinci-002",
  "object": "model",
  "created": null,
  "owned_by": "openai",
  "name": "davinci-002",
  "api": {
    "types": [
      "completions"
    ]
  },
  "limits": {
    "context": null,
    "input": null,
    "output": 16384
  },
  "modalities": {
    "input": [
      "text"
    ],
    "output": [
      "text"
    ]
  },
  "reasoning": {
    "supported": null,
    "efforts": []
  },
  "pricing": {
    "currency": "USD",
    "unit": "1M_tokens",
    "input": 2,
    "output": 2,
    "cache_read": null,
    "cache_write": null
  },
  "features": [],
  "info": {
    "status": "retired",
    "release_date": null,
    "knowledge_cutoff": "2021-09-01",
    "description": "Replacement for the GPT-3 curie and davinci base models",
    "docs": "https://developers.openai.com/api/docs/models/davinci-002",
    "verified_at": "2026-10-11"
  }
}

Official sources

2