Agent Surface

Reference Links

Model Reference

Canonical October 2026 model IDs for every provider - the single source of truth for the model-ID integrity check.

Last verified 2026-10-29

This is the canonical list of model IDs Agent Surface uses in examples. Every model-ID string in the docs and in the template kits must appear here. scripts/check-docs-integrity.mjs parses this page's code-formatted IDs into an allowlist and flags any model-ID-shaped string elsewhere in the corpus that is not on it - including bare Anthropic role aliases (opus-4-7) and prose model names (Opus 4.8). Update this page first, then run the sweep.

Verified against provider documentation on 2026-10-29.

Anthropic

Model IDRoleNotes
Fable 5.1claude-fable-5-1FlagshipSupersedes Fable 5; highest-capability publicly available model for deep reasoning and long tasks.
Opus 5.5claude-opus-5-5Recommended defaultReleased 2026-09-22. Supersedes Opus 5; 1M context, effort control.
Sonnet 5.5claude-sonnet-5-5BalancedReleased 2026-09-28. Supersedes Sonnet 5; fast iteration and everyday agent loops.
Haiku 5.5claude-haiku-5-5Fast / low costReleased 2026-10-07. Supersedes Haiku 4.5; cheap , classification, high-volume calls.

All four current models have a 1M-token and 128K synchronous output. Current IDs are dateless - do not append a date suffix.

Anthropic also documents Mythos, a restricted tier above Fable 5.1 for approved Project Glasswing participants. Its IDs are published (claude-mythos-5-1, claude-mythos-5), but access is restricted, so they are deliberately not on the allowlist; do not reference them in general examples.

Retired 2026-06-15: Opus 4 and Sonnet 4. Retired 2026-08-05: Opus 4.1. Deprecated 2026-09-30: Sonnet 4.5, retiring 2026-11-30.

House policy, not provider retirement: Opus 4.7, Opus 4.8, and Sonnet 4.6 are still active on the Claude API (retirement is not sooner than 2027-04-16, 2027-05-28, and 2027-02-17 respectively), and so are Opus 5, Fable 5, Sonnet 5, and Haiku 4.5. This repo keeps them off the allowlist so examples pin current models, and the model-ID check flags them, including bare aliases and prose mentions. Use them only in your own code, where a deliberate pin is fine. Superseded 2026-09-22: Opus 5 and Fable 5. Superseded 2026-09-28: Sonnet 5. Superseded 2026-10-07: Haiku 4.5. Replace default pins with claude-opus-5-5, flagship pins with claude-fable-5-1, balanced pins with claude-sonnet-5-5, and fast pins with claude-haiku-5-5.

Anthropic API version 2026-10-21 removes temperature, top_p, and top_k (a request that sends them returns a 400); new major default to it. Do not set them in examples.

OpenAI

ModelAPI IDRoleNotes
GPT-6 Astragpt-6-astraFlagshipHighest-capability OpenAI tier.
GPT-6.1 Solgpt-6.1-solReasoningUltrafast option launched 2026-10-08.
GPT-6.1 Terragpt-6.1-terraBalancedLaunched 2026-10-26. Most capability per dollar for everyday agent work.
GPT-6 Lunagpt-6-lunaValue tierFastest and cheapest; the default wherever a cheaper OpenAI model is wanted.

All four have a 1.05M-token context window and 128K maximum output. In prose the family names are GPT-6 and GPT-6.1; gpt-6 and gpt-6.1 are allowlisted for that prose use only and are not API IDs - never pin them.

Superseded 2026-10: the GPT-5.6 tiers (Sol, Terra, Luna) remain available but the GPT-6 family replaces them in examples, as GPT-5.5 and GPT-5.4 were replaced earlier - the model-ID check flags remaining GPT-5.6, GPT-5.5, and GPT-5.4 pins. The o-series reasoning models are retiring model by model, not on one date: o1, o1-pro, o3-mini, and o4-mini were shut down on 2026-10-23, the deep-research variants on 2026-07-23, and o3 and o3-pro are scheduled for 2026-12-11. Check each ID on OpenAI's deprecations page. Do not use any of them in examples.

Google

ModelAPI IDRoleNotes
Gemini 3.8 Flashgemini-3.8-flashCurrentStable, updated 2026-09. Default Google model for agent and eval examples.
Gemini 3.7 Flashgemini-3.7-flashPreviousPrevious-generation Flash model; retain only for deliberate compatibility pins.
Gemini 3.5 Flash-Litegemini-3.5-flash-liteFastGA 2026-07-21. Cheaper 3.5-series model for high-volume, low-cost calls.
Gemini 3.1 Pro (preview)gemini-3.1-pro-previewPreviewHigher-capability preview; still preview as of 2026-10-29 - pin the full ID.

Superseded 2026-09: Gemini 3.8 Flash replaces Gemini 3.7 Flash as the example default. Gemini 3.6 Flash is no longer on the allowlist; that is a repo choice, not a Google retirement. (Gemini 3.5 Pro is not listed because it has not reached GA.)

Embeddings and reranking

ModelAPI IDProviderNotes
Text Embedding 3 Largetext-embedding-3-largeOpenAIHigh-dimensional; strongest OpenAI .
Text Embedding 3 Smalltext-embedding-3-smallOpenAICost-optimized sibling; still current, chosen for cheap/high-volume retrieval.
Voyage 4 Largevoyage-4-largeVoyageHighest-quality Voyage retrieval embedding.
Voyage 4voyage-4VoyageBalanced Voyage embedding.
Voyage 4 Litevoyage-4-liteVoyageLower cost / latency.
Voyage Code 4voyage-code-4VoyageCode retrieval embedding; 32K context, selectable 256 / 512 / 1024 / 2048 dimensions.
Voyage 4 Nanovoyage-4-nanoVoyageNot in Voyage's hosted API embeddings table as of 2026-10-29; confirm it is available to you before pinning it.
Voyage Context 4voyage-context-4VoyageContextualized-chunk embedding.
Voyage Multimodal 3.5voyage-multimodal-3-5VoyageVoyage multimodal model - text, image, and video embeddings in one space.
Cohere Embed 5 Proembed-v5.0-proCohereLaunched 2026-09-30. Text and image; 128K-token context. Current Cohere embedding.
Cohere Embed 5 Fastembed-v5.0-fastCohereLaunched 2026-09-30. Same inputs and context as Pro at lower cost.
Cohere Embed v4embed-v4.0CoherePrevious Cohere generation, still available. Multimodal (text + image); Matryoshka dimensions (256-1536).
Cohere Rerank 5 Prorerank-v5.0-proCohereReleased 2026-10-21. Current generation, with Context Focus passage selection.
Cohere Rerank 5 Fastrerank-v5.0-fastCohereReleased 2026-10-21. Lower-cost sibling of Rerank 5 Pro. Older rerank-3.5 and rerank-4.0 IDs may remain valid.
Gemini Embedding 2gemini-embedding-2GoogleGoogle's current embedding model.

Anti-pattern example IDs

Some docs deliberately show outdated model IDs as examples of what not to ship. These are exempt from the model-ID check because their staleness is the point of the example. This section is their allowlist - keep it in sync with the anti-pattern docs.

IDWhereWhy exempt
claude-3-sonnetcontext-files/anti-patterns.mdxDeliberately-stale model pin in the "auto-generated boilerplate nobody curates" anti-pattern.

On this page