AI Tools for Educators Published 11 September 2026 11 min read

Claude Code for Teachers: The Complete Guide (September 2026) — Pricing, the 18+ Policy and Auto-testing Student Code

Claude Code is Anthropic's agentic coding tool, included with every paid Claude plan and unavailable on Free. This guide covers the September 2026 official prices (Pro US$20/month, Max from US$100, Team standard seats US$20–25 per user, Enterprise US$20 per seat plus usage), how the rolling five-hour usage window works, what Claude's 18-and-over policy means for pupils, and a full walkthrough building an auto-test harness for a Form 6 ICT class.

Edor.ai Education Team
Former teachers, edtech consultants and AI engineers
以繁體中文閱讀

In July 2026 Anthropic launched Claude for Teachers, free for US K-12 educators. The same official documentation says two other things: there are no student accounts, and users under 18 are prohibited from using Claude, enforced with age assurance services. For a Hong Kong school, those two sentences matter more than the price.

This guide covers what Claude Code actually is in September 2026, the parts a teacher can use, a walkthrough you can follow today, and the usage model that schools routinely underestimate. The full set of nine tools is in the nine AI tools Hong Kong teachers keep asking about.

What this tool actually is

Claude Code is Anthropic's agentic coding tool. It reads your whole repository, edits across files, runs commands, and works directly with git — staging changes, writing commit messages, creating branches and opening pull requests. It runs on five surfaces: the terminal CLI, a VS Code extension, a JetBrains plugin, a desktop app and the web.

To be equally blunt here: this is a developer tool, not a classroom product. No classes, no students, no curriculum alignment, and Anthropic does not pretend otherwise. It built a separate thing for teachers — Claude for Teachers — positioned as a lesson-preparation assistant rather than Claude Code, and available only in the United States.

In a Hong Kong school the sensible uses are three: ICT teachers building testing and marking pipelines, IT coordinators handling data conversion and system maintenance, and turning a weekly data chore into a scheduled task.

Key features

  • Terminal agent: run claude in a project directory, describe the goal in plain language, and it plans, edits across files and verifies the result.
  • CLAUDE.md project memory: a Markdown file in the project root read at the start of every session, where you record coding standards and panel conventions.
  • Pipes and scripting: claude -p accepts piped input, so you can feed it a log or a git diff directly.
  • Skills and hooks: package repeated workflows as skills, and run your own commands before or after agent actions, such as formatting after every edit.
  • Parallel subagents: split a large task across several agents, with a lead agent coordinating and merging results.
  • Scheduled tasks: cloud Routines keep running with your machine off; desktop scheduled tasks run locally with access to your files.
  • MCP connectors: attach Google Drive, Jira, Slack or a tool your school built.
  • Session portability: move the same session between terminal, desktop app and browser.

Full tutorial: an auto-test harness for Form 6 ICT

The scenario: you set a Python exercise weekly and collect 30 submissions. You want a harness that runs your test cases against every file at once and produces a pass/fail summary, while you still write the comments yourself.

Step 1 — check the plan. Claude Code is included in every paid Claude plan and is not available on Free. For an individual teacher, Pro is the starting point (US$20 a month, or US$17 a month billed annually at US$200 up front).

Step 2 — install. On Windows PowerShell:

irm https://claude.ai/install.ps1 | iex

On macOS, Linux or WSL use curl -fsSL https://claude.ai/install.sh | bash; Windows also supports winget install Anthropic.ClaudeCode. Then start it in your project:

cd f6-ict-autotest
claude

The first run asks you to sign in. If your system has an ANTHROPIC_API_KEY environment variable set, Claude Code bills that key instead of your subscription allowance — teachers rarely want this, and it is usually the explanation for an unexpected charge.

Step 3 — write CLAUDE.md. Create the file in the project root; it loads automatically at the start of every session:

This project is an auto-test harness for Form 6 ICT homework in a Hong Kong secondary school.

Rules:
- Python standard library only; school machines have no extra packages installed.
- Student files live in submissions/ named s01.py to s30.py and contain no real names.
- Never modify anything in submissions/ — read and execute only.
- Cap each program at 5 seconds; treat a timeout as a fail and record it.
- All messages and reports in Traditional Chinese (Hong Kong usage).
- Tests judge output correctness only. No marks, no comments; grading is the teacher's job.

That last rule is deliberate. Automated tests settle matters of fact; the teacher settles matters of judgement. The two should not be blurred.

Step 4 — describe the task.

Create run_tests.py that does the following:

1. Read tests/cases.json, an array where each item has name, stdin and expected_stdout.
2. Run every .py file in submissions/ against each case via subprocess, feeding stdin and comparing output.
3. Ignore trailing whitespace and the final newline when comparing, but keep it case-sensitive.
4. Treat a 5-second timeout as a fail recorded as TIMEOUT; record a crash as ERROR plus the first line of the exception.
5. Write report.csv with columns: filename, cases passed, total cases, names of failed cases, error type.
6. Also print a summary to the terminal: the class pass rate per test case, sorted lowest first.

Start by giving me a sample tests/cases.json with three cases about finding the mean of a list.

Step 5 — review, run, fix. Claude Code shows the files it created. Confirm it has not touched submissions/, then run it:

python run_tests.py

If it fails, paste the error back into the conversation, or pipe it in directly:

python run_tests.py 2>&1 | claude -p "This script is failing. Identify the cause and propose the smallest fix. Do not rewrite the whole file."

Step 6 — watch the usage. Long conversations consume both context and allowance. Use /compact to summarise the session and keep going, or /clear once a task is finished. If you are on an API key, /cost shows what the current session has actually spent.

Step 7 — make it a weekly routine. Once the harness is stable, set it up with /schedule or simply run it after each homework collection. That "lowest pass rate first" summary is your teaching list for the next lesson.

Step 8 — the teacher still reads it. Automated tests answer one question: is the output correct? A brute-force solution that happens to produce the right answer, variables named a, b and c, zero comments — none of that shows up. Marks and comments remain yours.

Pros and cons

Pros

  • Chinese writing quality is among the best in this class of tool, so reports and comments read well.
  • One subscription covers five surfaces: terminal, VS Code, JetBrains, desktop and web.
  • CLAUDE.md and skills let a panel capture its conventions in a file instead of passing them on verbally.
  • Deep git integration suits internal tools that need a maintenance history.
  • Scheduled cloud routines keep running with the machine off, which fits weekly data chores.
  • Team and Enterprise plans do not train on your content by default.

Cons

  • The 18-and-over policy rules out students entirely, and Anthropic enforces it with age assurance.
  • Claude for Teachers is US-only, so Hong Kong teachers do not qualify.
  • Usage shares one pool with web chat, so a big terminal job eats the same allowance you need for writing.
  • There is no fixed message count, which makes the real capacity hard to estimate in advance.
  • No Traditional Chinese interface.
  • Anthropic offers no embedding or speech models, so a school cannot run an entire school platform on this one provider.

Pricing and fee breakdown

Figures from the official pricing page and help centre as of September 2026, in US dollars, exclusive of tax.

PlanPriceClaude Code includedNotes
FreeUS$0NoWeb and app chat only
ProUS$20/month monthly; US$17/month annually (US$200 up front)YesThe starting point for an individual teacher
Max 5xUS$100/monthYes5x Pro usage per five-hour session
Max 20xUS$200/monthYes20x Pro usage per five-hour session
Team standard seatUS$25/user/month monthly; US$20 annuallyYesMinimum 2 members, up to 150 seats
Team Premium seatUS$125/user/month monthly; US$100 annuallyYes6.25x Pro usage per session
EnterpriseUS$20 per seat per month plus usage at API rates, billed annuallyYesSCIM, audit logs, custom retention, role-based access

Model API pricing (per million tokens)

ModelInputOutput
Fable 5.1US$10US$50
Opus 5US$5US$25
Sonnet 5US$2US$10
Haiku 4.5US$1US$5

What a school should watch:

The seat multiplier. Putting 100 staff on Team standard seats at the annual rate is US$2,000 a month, US$24,000 a year, about HK$187,000. That buys a development and writing assistant, not a teaching platform. The rational move is to buy for the two to five teachers who will genuinely use it.

Usage windows are not message counts. Every plan resets on a rolling five-hour window, paid plans add weekly limits, and web, desktop, mobile and Claude Code share one pool. In practice that produces an irritating situation: a teacher who runs a large marking job in the terminal may find they cannot use the web app to draft a parent letter that same afternoon. You can enable usage credits to continue at standard API rates, but that turns a fixed cost into a variable one.

How Enterprise is priced. Anthropic states it as US$20 per seat per month plus usage at API rates, billed annually. The seat fee is low precisely because the real cost is consumption, so a school cannot budget from the seat price alone.

Student accounts: no. Anthropic operates an 18-and-over policy enforced with age assurance, and Claude for Teachers explicitly has no student accounts. Schools cannot create pupil accounts.

Education offers. Claude for Teachers is free for verified US K-12 educators, with at least a full year for those signing up by 30 June 2027; Hong Kong teachers do not qualify. For higher education, Anthropic offers a university-wide plan priced on enquiry, and researchers at academic and nonprofit institutions can get Claude at no cost to start. There is currently no equivalent official offer for Hong Kong primary or secondary schools.

Compared with the alternatives

AspectClaude CodeOpenAI CodexCursorGitHub Copilot
Form factorCLI, IDE, desktop, webCLI, IDE, cloud, iOSStandalone editorIDE extension
Individual entry priceUS$20/monthUS$20/monthUS$20/monthNot verified here; check the official pricing page
Minimum age1813, parental permission under 1818Not verified here
Free teacher programmeYes, US K-12 onlyYes, US K-12 onlyNoneNot verified here
Usage modelFive-hour window plus weekly caps, shared with chatCredit-basedTwo usage pools plus on-demandNot verified here
Chinese writing qualityStrongStrongDepends on the model chosenNot verified here
Traditional Chinese UINoNoNoNot verified here

Side by side with Edor.ai

Stated plainly: Claude Code is much stronger than Edor.ai at writing code, refactoring and understanding large repositories, and we do not compete with it there. Here are the other questions a school asks when buying.

AxisClaude CodeEdor.ai
Designed forProfessional developersTeachers and students in Hong Kong schools
Coding abilityClearly stronger; this is its home groundNot our home ground
Pricing modelPer seat plus usage creditsPer school per year, ~800 students + 100 staff, AI usage included
Cost predictabilityLow to moderate; usage windows plus overageHigh; fixed annual fee, no token fees
Student useNo; 18-and-over policy enforced with age assuranceYes, with four-layer gating and teacher monitoring
Teacher monitoringNoneYes; live view, pause and flag student conversations
Curriculum alignmentNoneSchemes of work, unit objectives and rubrics in the knowledge base
Traditional Chinese and CantoneseEnglish interface; strong Chinese writingTraditional Chinese (HK) interface; Cantonese, Putonghua and English oral practice
Data ownership and exportPer Anthropic's termsData belongs to the school, full one-click export any time, free
On-premises optionNoneYes, identical features, school's own domain supported
Grant eligibilityNot designed for itAligned with the EDB "智" 啟學教 funding, usage documented for reporting

Why a school still needs a school-based platform

Anthropic's posture on education deserves credit: it built a dedicated teacher programme, wrote a K-12 data processing agreement, and excluded students explicitly rather than fudging it. That clarity is precisely what marks out the gaps a school must fill itself.

The student side is closed by design. The 18-and-over rule is a product policy enforced with age assurance, not a setting. A school that wants pupils practising questioning and reasoning under gating, supervision and an audit trail needs a different system. The Edor.ai tutor gives hints rather than answers, with the hint ceiling set per task by the teacher and conversations monitorable in real time.

The geographic limit is real. Claude for Teachers is US-only. That is not Anthropic's failing, but the effect on a Hong Kong school is the same: the same product is free for an American teacher and full price here, without the K-12 terms and data processing agreement attached.

The usage pool assumes an individual user. Five-hour windows, weekly caps, chat and coding sharing one allowance: reasonable for one developer, awkward for a school supporting 100 teachers at once. A whole-school annual fee with AI usage included is our answer to that scenario.

It will not write your grant report. The "智" 啟學教 funding wants evidence of impact, and the Edor.ai PIE module produces it from platform data — see how to use the EDB HK$500,000 AI grant. For how the gating actually works, read student AI safety: four-layer gating, PII protection and teacher monitoring.

Edor.ai is built for Hong Kong schools, Hong Kong teachers and Hong Kong students, and that is where all our effort goes. It does not make us better at everything — Claude writes code better than we do, plainly. But curriculum alignment, safety gating, per-school pricing, data ownership and grant accountability are not problems a developer tool is going to solve for a school.

Takeaway

Claude Code is among the most mature agentic coding tools available and is a sound investment for ICT teachers and IT coordinators. Two things to settle first: pupils cannot use it at all, and its usage shares a pool with your own web chats. Buy it for the handful of teachers who will use it, and leave the student side to a platform with gating built in.

To compare model line-ups and prices, see the Anthropic Claude model page or the full model overview.

FAQ

No separate subscription; it is included with every paid Claude plan, though not with Free. The catch is that it shares one usage pool with your web chats, so a large terminal job eats straight into the same allowance you use for writing.

No. The official pages restrict it to serving educators at US K-12 schools and districts, verified through a third-party service, and require users to be 18 or over. The programme also has no student accounts. Hong Kong teachers must buy Pro, Max or Team at full price.

No. Anthropic operates an 18-and-over policy, and its own guidance states that users under 18 are prohibited from using Claude, enforced with age assurance services. School pupils cannot use it compliantly.

Usage resets on a rolling five-hour session window, and paid plans add weekly limits on top. Web, desktop, mobile and Claude Code all draw from the same pool. There is no fixed message count; how far it goes depends on conversation length, the model chosen and the features used.

No. The CLI and documentation are in English. The model writes Chinese well, and you can require Traditional Chinese with Hong Kong usage for all explanations and comments in your CLAUDE.md file.

Yes, but keep two things apart. Claude Code is a developer tool; wiring Claude into a school platform happens through Anthropic's API. Edor.ai supports switching to Anthropic, but because Anthropic has no embedding or speech models, knowledge-base retrieval and oral practice still need a second provider key.

Sources, trust labels and disclaimers

Prices and specifications in this article are current as of 2026-09

  • · All prices, features and specifications follow the official documentation linked above. Vendors may change them at any time — verify before you purchase.
  • · Product names and trademarks mentioned belong to their respective owners. Edor.ai has no partnership, agency or sponsorship relationship with these companies.
  • · This article is an independent review compiled for educational purposes and is not procurement advice or legal advice.
  • · For any use involving student personal data, assess it against your school policy and the Personal Data (Privacy) Ordinance (PDPO) before rollout.
Claude CodeAnthropicagentic codingtool reviewICT teaching
Subscribe to the AI in Education newsletter

One email a month: practical AI teaching articles for Hong Kong schools, platform updates and grant news. Unsubscribe any time.

We only use this address for the newsletter and never share it.

Related articles

AI Tools for Educators 11 September 2026 11 min read

OpenAI Codex for Teachers: The Complete Guide (September 2026) — Plans, Credit Pricing and Building a Classroom Utility

Codex is OpenAI's agentic coding product — a terminal CLI, IDE extension, cloud tasks and an iOS app — included with ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise. This guide covers the September 2026 official prices, the credit rate card, the difference between GPT-5.6 and GPT-6 Astra usage, why the free US K-12 teacher plan does not reach Hong Kong, and a full CLI walkthrough for building a classroom utility.

Read more
AI Tools for Educators 11 September 2026 11 min read

Cursor for Teachers: The Complete Guide (September 2026) — Pricing, the 18+ Rule, and Marking Student Code

Cursor is Anysphere's AI code editor. As of September 2026 the plans are Hobby free, Pro US$20/month, Pro+ US$60, Ultra US$200, Teams US$40/user and Teams Premium US$120/user. This guide covers Composer 2.5 pricing, the Cursor Token Rate surcharge on Teams, why the 18-and-over terms rule out student accounts, and a full walkthrough of marking a Form 3 ICT class's Python homework.

Read more
AI Tools for Educators 11 September 2026 12 min read

Base44 for Teachers: The Complete Guide (September 2026) — Build a School Web App by Describing It, and the Credit Trap

Base44 is Wix's vibe-coding app builder, letting teachers create an app with a database, login and hosting without writing code. This guide covers the September 2026 official plans (Free, Starter US$16/month, Builder US$40, Pro US$80, Elite US$160, all annual), the difference between message credits and integration credits, the age-13 minimum, and a full walkthrough building a Primary 5 reading-log tracker.

Read more