Cost, Complexity, and Efficacy of Prompt Engineering Techniques for Large Language Models

This research investigates the impact of various prompt engineering techniques on the length, cost, complexity, and accuracy of responses from large language models (LLMs). By comparing direct prompting with zero-shot, few-shot, and chain-of-thought (CoT) methods on tasks like GSM8K and creative writing, I analyze the trade-offs between token usage and response quality. Results show that while zero-shot CoT prompting is highly effective and cost-efficient, other methods like Least-to-Most and Tree-of-Thought add significant length and complexity without proportional accuracy gains. Additionally, I discuss the financial implications, finding that GPT-4’s unique pricing structure narrows the cost difference between manual/few-shot and zero-shot methods. Complexity analysis reveals that more intricate prompts often lead to convoluted outputs, challenging human review and implementation. Our findings guide the selection of prompt engineering strategies to optimize both performance and resource utilization

Authors

Publication Details

Journal
International Journal on Science and Technology
Published
2025-04-29
DOI
https://doi.org/10.71097/ijsat.v16.i2.2584
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cost, Complexity, and Efficacy of Prompt Engineering Techniques for Large Language Models

Milind Cherukuri -
International Journal on Science and Technology
Natural Language Processing Techniques
article

Cost, Complexity, and Efficacy of Prompt Engineering Techniques for Large Language Models

Milind Cherukuri -
article en

Abstract

This research investigates the impact of various prompt engineering techniques on the length, cost, complexity, and accuracy of responses from large language models (LLMs). By comparing direct prompting with zero-shot, few-shot, and chain-of-thought (CoT) methods on tasks like GSM8K and creative writing, I analyze the trade-offs between token usage and response quality. Results show that while zero-shot CoT prompting is highly effective and cost-efficient, other methods like Least-to-Most and Tree-of-Thought add significant length and complexity without proportional accuracy gains. Additionally, I discuss the financial implications, finding that GPT-4’s unique pricing structure narrows the cost difference between manual/few-shot and zero-shot methods. Complexity analysis reveals that more intricate prompts often lead to convoluted outputs, challenging human review and implementation. Our findings guide the selection of prompt engineering strategies to optimize both performance and resource utilization

International Journal on Science and TechnologyVol. 16(2)
Openalex Percentile: Top 96%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Cost, Complexity, and Efficacy of Prompt Engineering Techniques for Large Language Models — Milind Cherukuri - · International Journal on Science and Technology (2025) | TGRS Research Map | TGRS