cd /news/large-language-models/costs-of-online-llm-usage · home › topics › large-language-models › article
[ARTICLE · art-140123] src=dotnetperls.com ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Costs of Online LLM Usage

Spec-driven development on OpenRouter cut the cost of evaluating a Markdown prompt of up to 180 lines and generating a function to between 1 and 7 cents, according to the author's experiments, far below a coding harness such as OpenCode because less context is required. GPT-6-Sol evaluated a 180-line prompt for 5 cents while Kimi-K3 evaluated a shorter prompt for 32 cents, a gap the author attributes to GPT-6-Sol generating fewer thinking tokens. GLM 5.3 Flash and MiMo-V2.6 Flash were the cheapest options tested, generating output for a tiny fraction of a cent at their per-token prices.

read1 min views1 publishedSep 26, 2026

Over the past few months I have been trying to understand how to use LLMs cost-effectively on OpenRouter. AI bills can quickly become excessive. And with agentic coding, code quality can deteriorate as costs go sky-high.

Using spec-driven development—where one writes a spec, and then has an agent implement it in chat—can lower costs. In many of my experiments, costs were between 1 and 7 cents to evaluate a Markdown prompt (up to 180 lines) and generate a function. This is significantly less expensive than a coding harness like OpenCode—less context is needed. Besides generating code from specifications, using cheaper models (cost per million tokens) is beneficial. For example, GLM 5.3 Flash and MiMo-V2.6 Flash were much cheaper for code generation.

• GPT-6-Sol evaluated a 180-line prompt for 5 cents, while Kimi-K3 evaluated a shorter prompt for 32 cents—the difference is that GPT generated fewer thinking tokens.

• GLM 5.3 Flash and MiMo-V2.6 Flash had such low per-token costs that they could generate output for a tiny fraction of a cent.

• GPT-6-Sol, because it was more frugal with thinking tokens, was cheaper than Kimi-K3; the cheapest options were GLM 5.3 Flash and MiMo-V2.6 Flash.

── more in #large-language-models 4 stories · sorted by recency
── more on @openrouter 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/costs-of-online-llm-…] indexed:0 read:1min 2026-09-26 · —