Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
GimmeJob
Sign in
Certification learning path · Claude CCDV-F · Chapter 03 / 08

Claude Certified Developer – Foundations (CCDV-F) Exam Preparation

Model selection & optimisation

Under the guide effective through 6 December 2026, about 17%; from 7 December, 12%. The task remains: pick the right model, then make it cheaper and faster without losing quality. Most questions give you a cost, latency or volume constraint and ask for the best lever.

Model tiers

TierChoose it for
OpusThe hardest reasoning and long agentic coding, where quality outweighs cost
SonnetThe balanced default for most production applications
HaikuFast, high-volume work: routing, classification, extraction, cheap subagents
  • Decide with an evaluation set, not by reputation. Run the same real examples through two tiers and take the cheapest that meets your bar.
  • A common pattern pairs a stronger coordinator with Haiku-tier workers, and escalates only ambiguous items to a larger model.
  • Pin a specific model version in production so behaviour does not shift under you, and re-run your evaluation set before upgrading.

Prompt caching

  • Mark stable blocks with cache_control. The cache matches an exact prefix in the order tools, system, messages.
  • Put stable content first, such as tool definitions, the system prompt and reference documents. Put anything that varies, such as a timestamp, a user's name or the question, after the last breakpoint.
  • The default cache lifetime is 5 minutes, and cached reads cost a fraction of normal input tokens.
  • For a low hit rate, check exact-prefix changes, the model-specific minimum cacheable length, expiry and cache scope. Variable prefixes are one possible cause.

Message Batches

  • Batches offer a 50% discount; unfinished requests can expire at the 24-hour processing limit.
  • Each request carries a custom_id so you can match results back, and results stay available for 29 days.
  • There is no latency guarantee, so never put batches on a path a user or a merge waits on.
  • Resubmit only the failed items, identified by custom_id.

Tokens and latency

  • The token-counting endpoint estimates input tokens; use the model window and output reserve to check fit. Pricing calculations need applicable model/cache/batch rates separately.
  • Streaming does not make the full answer faster, but the first words appear sooner, which is what users notice.
  • To make answers genuinely faster: a smaller model, shorter actual outputs, an appropriate max_tokens cap, fewer round trips, and independent calls run in parallel.
  • Extended thinking improves hard multi-step reasoning at the cost of tokens and time. Leave it off for classification and formatting.

Choosing the lever

ConstraintFirst lever
A large repeated system prompt is expensivePrompt caching
A nightly job over 100,000 documentsMessage Batches on a smaller tier
Users complain the UI feels slowStreaming, then a smaller model or shorter outputs
Quality drops on rare, hard casesRoute only those cases to a bigger model
Requests sometimes exceed the context windowCount tokens, trim or chunk the input

Choose from measured constraints

Assume two models meet the same extraction-quality bar. Model A costs 2 units per 100 records and B costs 6; route normal cases to A and evaluate escalation separately. If A fails the critical slice, its lower price is irrelevant. Cache a stable prefix only when supported minimum length, scope and TTL are satisfied; verify cache-read/write usage. A bulk job eligible for Batches still needs a deadline, per-item status and reconciliation by custom_id; do not assume result order matches submission order.

Source registry

Reviewed 2026-11-25 · 3 chapter references
Claude documentation

Primary technical reference for the Messages API, tool use, prompt caching, batches, the Agent SDK and Claude Code.

Anthropic · official documentation
Source ↗
CCDV-F official guide, effective through 6 December 2026

Date-specific primary blueprint: 53 questions and the original domain weights. The PDF also carries v1.1.

Anthropic · official documentation
Source ↗
CCDV-F official guide, effective 7 December 2026

Replacement v1.1 guide: 70 questions, 60 scored and 10 unscored, with updated task/domain weights.

Anthropic · official documentation
Source ↗