ModelRefs / Text Completion — AI Glossary

Text Completion — AI Glossary

A legacy LLM API endpoint accepting a raw text prompt and returning a continuation; superseded by the chat completion format.

Overview

Text completion (POST /v1/completions) was the original GPT-3 API interface. It accepts a plain text prompt and returns a completion string. No role structure—suitable for base model prompting and fine-tuned classification models. Deprecated by OpenAI for most use cases in favor of chat completions. Still used for legacy integrations and raw base model access.

Reference details

Topicecosystem
Last reviewed2026-06-24

Continue your research

Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to Text Completion — AI Glossary.

Frequently asked questions

What is Text Completion?

A legacy LLM API endpoint accepting a raw text prompt and returning a continuation; superseded by the chat completion format.

What concepts are related to Text Completion?

Closely related concepts include chat completion, few shot, prompt template.