Back to feed
Dev.to
Dev.to
7/1/2026
The original title is 13 words: "The AI Cost-Modeling Handbook: I let Claude do the modeling, but never the arithmetic"

The original title is 13 words: "The AI Cost-Modeling Handbook: I let Claude do the modeling, but never the arithmetic"

Original: The AI Cost-Modeling Handbook: I let Claude do the modeling, but never the arithmetic

Short summary

Author built a cost-modeling pipeline separating Claude's reasoning from exact-rational arithmetic to answer real AI cost questions. DeepSeek V3.2 wins on quality-per-dollar for agents; privacy/jurisdiction trade-offs follow a convex cost curve with a hard feasibility ceiling at 87.2% US compliance.

  • Reproducible cost pipeline uses research agents for live pricing data, exact-rational kernel for arithmetic (no floating-point errors)
  • DeepSeek V3.2 at OpenRouter is cheapest high-quality open model for agentic workloads; V4 Flash offers emerging best deal at $0.0896/1M
  • Privacy/jurisdiction floor creates convex cost frontier: first 40% US-jurisdiction is free, but escalating to 87% requires expensive capacity

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more