• TOTAL
  • LOGIC
  • TOKENS
  • HUMAN

How to calculate AI query costs with your agent

Connect your agent to the Reasoning Model Economics MCP. It handles the math for each request, including the hidden costs of reasoning steps.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I find the true cost of an AI request?

Your agent uses the calculate_query_cost tool to sum up input tokens, output tokens, and the extra reasoning overhead. This gives you a precise dollar amount per request. You'll see the breakdown of these components below.

The results you get.

Cost analysis outcomes.

Your agent processes your request and delivers these specific outputs.

TOTAL

Exact request cost

Your agent finds the final price. You get a single number representing the total expense of the interaction.

LOGIC

Reasoning overhead

Your agent isolates the cost of the internal reasoning steps. This shows how much you're paying for the model to think.

TOKENS

Token usage split

Your agent separates input and output token counts. You see exactly where the bulk of your budget is going.

HUMAN

Manual budget review

Your agent provides the raw data, but you decide how to adjust your system prompts or limits based on these findings.

The workflow

What your agent does when a cost inquiry arrives.

Your agent performs the math to ensure no hidden reasoning costs slip through your budget.

  1. Analyze request data

    Your agent looks at the specific parameters of your query, including the model type and token counts.

    calculate_query_cost
  2. Calculate reasoning weight

    Your agent adds the cost of the reasoning tokens used during the model's internal thought process.

    calculate_query_cost
  3. Sum total expense

    Your agent aggregates the input, output, and reasoning costs into one final figure.

    calculate_query_cost
  4. Report findings

    Your agent presents the final cost and the breakdown of the components to you.

    calculate_query_cost

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Reasoning Economics Engine tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to get immediate cost data from your agent.

Starting points

Replace the bracketed text with your specific model details and token counts.

Reasoning Economics Engine Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_k9z2bEYuzym8Oq1n6MSQF4BMRrQUChFBfJB0FlNV/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Reasoning Economics Engine capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "reasoning-model-economics-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_k9z2bEYuzym8Oq1n6MSQF4BMRrQUChFBfJB0FlNV/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the cost for a request using 500 input tokens and 200 output tokens with reasoning enabled.

  • 02

    How much did my last query cost if it used 1200 tokens and had heavy reasoning overhead?

  • 03

    Run a cost calculation for a reasoning model with 1500 total tokens.

  • 04

    Break down the cost of a request that had 300 reasoning tokens and 1000 total tokens.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Reasoning Model Economics once, then ask.

Link the MCP to your client. Your login stays encrypted, and you can start asking for cost breakdowns immediately.

Connect Reasoning Model Economics to your agent

FAQ

How this task behaves.

  • 01

    Does your agent change my actual API billing settings?

    No. Your agent only calculates costs based on the data you provide. It cannot access or change your provider's billing account.

  • 02

    Can your agent predict future costs?

    No. The tool calculates the cost of specific, provided request parameters. It does not perform forecasting.

  • 03

    Does it include the cost of the reasoning steps?

    Yes. Your agent specifically accounts for reasoning overhead to give you the true cost.

  • 04

    What happens if I don't know the token count?

    You must provide the token counts or the specific request details for your agent to run the calculation.

  • 05

    Can your agent automatically stop my agent if costs get too high?

    No. Your agent provides the information, but you are responsible for setting and enforcing budget limits in your own environment.

  • More questions about Reasoning Model Economics? The Connector page answers them. See everything the Reasoning Model Economics Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Reasoning Economics Engine to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Reasoning Economics Engine plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Reasoning Economics Engine to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.