# Research: How we cut AI costs by 80%

DevFeed: [Research: How we cut AI costs by 80%](<https://devfeed.tech/articles/research-how-we-cut-ai-costs-by-80-12296.md>)

Original publisher: [Read original article](<https://www.port.io/blog/research-how-we-cut-ai-costs-by-80-percent>)

Author: Zohar Einy

Published: 2026-07-30T11:24:23Z

Content type: article

Language: en

Sources: [Developer Experience & Platform Engineering Blog | Port](<https://devfeed.tech/sources/developer-experience-platform-engineering-blog-port.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [context window](<https://devfeed.tech/topics/context-window.md>), [MCP](<https://devfeed.tech/topics/mcp.md>), [semantic-layer](<https://devfeed.tech/topics/semantic-layer.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [data](<https://devfeed.tech/topics/data.md>), [sdlc](<https://devfeed.tech/topics/sdlc.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Caching](<https://devfeed.tech/topics/caching.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [claude](<https://devfeed.tech/tags/claude.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [cost](<https://devfeed.tech/tags/cost.md>), [data](<https://devfeed.tech/tags/data.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [github](<https://devfeed.tech/tags/github.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [sdlc](<https://devfeed.tech/tags/sdlc.md>), [semantic-layer](<https://devfeed.tech/tags/semantic-layer.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

## AI overview

This research article examines rising AI costs caused by messy, repeatedly assembled context for agent queries. An experiment using thousands of production queries and a test set of 1000 commonly asked SDLC queries found that structured context was 80% cheaper than unstructured context. The proposed approach pre-relates context and uses a semantic layer to reduce data hops, reasoning, and token consumption.

## Source excerpt

We ran thousands of AI queries on unstructured and structured context and measured the cost. Structured context was 80% cheaper than unstructured.