The practicalAI GUIDE

Chapter 1 of 6 · Connect tools when you need to

APIs, tokens and AI billing

Understand how custom AI services are connected and charged before commissioning an integration.

An API lets software request work from an AI service. A developer might use it to extract fields from an approved document or prepare a draft response inside an existing system.

You usually need a maintained application around it: input checks, permissions, error handling, review, logging and cost controls. The model call is only one part of the service.

Tokens

Tokens are units used to process text and other content. They are not the same as words. Providers may charge different rates for input and output, cached input, images, audio, tools or reasoning.

A simple text estimate is: input tokens ÷ 1,000,000 × input rate + output tokens ÷ 1,000,000 × output rate. That estimate is incomplete when other features are charged.

Subscription versus API

ChatGPT Plus documentation describes API usage as separately billed. Some other subscriptions advertise particular API-credit benefits, including specified Claude plans. Never assume that every subscription includes API use, or that a credit removes the need to monitor it. Check eligibility, expiry and billing route. S03 S06

An automation platform may charge in addition to the model provider. Make explicitly describes this pattern for external AI connections. S24

A current example

Google's published Gemini 4 Argon standard rate is USD 2 per million input tokens and USD 10 per million output tokens through 30 November 2026, with USD 4/20 stated from 1 December. Output includes thinking tokens; grounding can add costs. Verify the rate for the actual service and date before relying on it. S15

Before commissioning

Ask for a realistic monthly volume, worst-case retry behaviour, enforceable limits, a stop switch and a maintenance owner. Provider budget alerts may not be hard spending caps; the implementation must explain what actually stops expenditure.

Keep credentials in the application's protected configuration. Do not place them in prompts, public repositories or browser code.

Connect tools when you need to: the chapters

  1. Local AI: useful, but not automatically privateUnderstand what runs on your computer and what still depends on cloud services, licences and maintenance.
  2. MCP explained in plain EnglishHow Model Context Protocol connects AI applications to tools and information, and when you might need it.
  3. Practical MCP ideasBounded connection ideas for small businesses and councils, from public-document search to draft creation.
  4. MCP, APIs, automation or manual work?Choose the simplest connection that meets a real task and can be maintained.
  5. Make AI connections saferPermissions, prompt injection and human review for connected AI tools.

Ends with: Assess a connection

Explore next

Sources for this page

Checked against the suppliers’ and publishers’ own pages. Links open the original source.

S03 · help.openai.comChatGPT Plus Checked 6 November 2026 · Back to the text
S06 · claude.comClaude plans Checked 6 November 2026 · Back to the text
S24 · help.make.comMake credits Checked 6 November 2026 · Back to the text
S15 · ai.google.devGemini Developer API pricing Checked 29 November 2026 · Back to the text
Start here For business Parish councils Tools Costs Risks & reality AI models AI apps on your computer MCP and automation Responsible use Glossary AI problems and human checks The future of AI Practical tasks Prompts and templates Pilot scorecard About Editorial policy Sources Common questions Where could AI help you? Search