Specifications
Pricing
Prices in USD per 1M tokens ($/1M).The table shows list prices. Recharge promotions and group discounts stack; the console reflects the actual charge in real time. See Pricing and Recharge promotions.
Endpoints
Billing groups
Some groups carry extra discounts, stackable with recharge bonuses. See Tokens and groups.
Supported features
Variants
Example request
The example below callsclaude-opus-5 through OpenAI Chat Completions (/v1/chat/completions). Point base_url at https://api.apiyi.com/v1 — everything else matches the official API.
Related docs
Launch announcement
Background, benchmarks and migration notes for Claude Opus 5
Claude API Basics
Parameters, usage and best practices
Effort & Thinking
Parameters, usage and best practices
Prompt Caching
Parameters, usage and best practices
Claude Sonnet 5
Details for a model in the same family
Claude Fable 5
Details for a model in the same family
Claude Opus 4.8
Details for a model in the same family
Model pricing directory
Live pricing, endpoints and groups for all 308 models
Specs on this page are maintained by hand in
models/data/model-details.json; pricing and endpoints come from the live pricing API, updated 2026-07-31 01:30 (UTC+8), specs last verified 2026-07-31.