---
title: "Discussion on \"Model Selection for AI Agents: Measuring Token Costs Across OpenAI's Model Family\" | Hashnode"
description: "Discussion on \"Model Selection for AI Agents: Measuring Token Costs Across OpenAI's Model Family\". I've been building an AI agent from scratch. No frameworks, no abstractions, to understand where every token goes and what drives cost at scale. In previous post/phase, I measured how tool definitions and conversation depth impact token usage. The fi..."
url: "https://hashnode.com/posts/model-selection-for-ai-agents-measuring-token-costs-across-openais-model-family/6945411c5d4cb0eb0ba05f83"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Model Selection for AI Agents: Measuring Token Costs Across OpenAI's Model Family](https://blog.pragmaticbyharsh.com/model-selection-for-ai-agents-measuring-token-costs-across-openais-model-family?utm_source=hashnode&utm_medium=feed)

I've been building an AI agent from scratch. No frameworks, no abstractions, to understand where every token goes and what drives cost at scale. In previous post/phase, I measured how tool definitions and conversation depth impact token usage. The fi...

Dec 19, 2025 · 21 min read · blog.pragmaticbyharsh.com  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#ai-tools](https://hashnode.com/tag/ai-tools)
-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)
-   [#python](https://hashnode.com/tag/python)
-   [#tokenization](https://hashnode.com/tag/tokenization)

## Written by

[Harshavardhanan](https://hashnode.com/@harshavardhan)

@harshavardhan

  
[View profile](https://hashnode.com/@harshavardhan)

Architect In Role. Developer by Heart

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
