Skip to content
optera

Game Dialogue Writer

NPC dialogue and branching narratives

Write NPC dialogue trees, branching conversation scripts, ambient chatter lines, and narrative text for games — in the voice of specific characters, with emotional state variations and localization-ready string format.

CreativeIntermediate
RecommendedOpenAI

GPT-6.1 Sol

Input / 1M$2.00
Output / 1M$10.00
Context1M
Speed85/100
Coding score
96
Reasoning score
97
Estimated monthly cost

for 600K tokens a month · 35% input / 65% output

$4.3

Why this model

For this workload — 600K tokens a month, 35% of them input — it comes to about $4.3 a month, the lowest of the models suggested here.

Alternative models

Implementation tips

  1. 1

    Create detailed character voice cards in your system prompt: vocabulary level, sentence length, verbal tics, emotional range, and speech patterns — a 100-token character card consistently produces more authentic dialogue than lengthy prose descriptions.

  2. 2

    Output dialogue in your game engine's native format (JSON for branching nodes, CSV for localization strings) from the start — reformatting literary output into data formats introduces errors and doubles the work.

  3. 3

    Use the model to generate 'barks' — short reactive lines for common game events — in sets of 10 variations per trigger, ensuring players don't hear the same line twice and reducing the 'robotic NPC' feeling.

Related use cases