Skip to content

When to use completions ​

Choose a direct completion when one model call is the complete workflow and application code already owns the input, output, and control flow.

Good fits ​

  • Summarize one document or record.
  • Rewrite or translate content.
  • Classify one input.
  • Generate a short draft.
  • Verify provider credentials and model behavior.
  • Power a small internal utility without conversation state.

Choose the runtime shape ​

NeedUse
One free-form model responseDirect completion
One schema-validated model responseStructured output
Reusable instructions, tools, memory, or multiple turnsAgent
Repeated typed extraction from existing contentExtractor
Several deterministic and model-driven stagesPipeline

Know the boundary ​

A direct completion makes one provider call. It does not:

  • execute requested tool calls;
  • load or save conversation memory;
  • retrieve dynamic context automatically;
  • repeat model turns;
  • persist runtime events.

Keeping this boundary narrow makes completions easy to test and replace. Move to an agent only when the workflow actually needs orchestration.

Built for Anvia.