Claude and GPT API models

Updated:

Short answer

APIVAI sells 21 models through one API key as of 2026-11-10: 13 Claude models from Anthropic and 8 GPT models from OpenAI. Claude models cost up to 63% less than Anthropic's list prices and GPT models up to 86% less than OpenAI's. Prices below are per million tokens; each model's page has its cost per request, code examples and FAQ.

Which model should I choose?

Start with Sonnet for most API work and move one tier up or down only when your own tests call for it. Anthropic positions its four Claude tiers this way in its models overview: Haiku is the fastest and cheapest, for high-volume classification, extraction and routing; Sonnet balances speed and intelligence for everyday coding, analysis, writing and tool use; Opus is for long-running agentic coding and hard reasoning; Fable is the most capable and most expensive tier and pays off only when Opus falls short. On the GPT side, Luna models are the cheapest on the list and suit bulk summarization and routing, Astra is the top tier, and Sol and Terra sit in between on price. One key works for every model here, so you can pick a model per task instead of committing to one. Test your prompts on two neighbouring tiers: if the cheaper one passes, keep it; if it needs many retries, the stronger model is often cheaper overall. Per-task recommendations are in Sonnet vs Opus vs GPT: API cost compared, and the cost calculator prices your own workload on every model.

Claude models (Anthropic)

ModelModel IDInput / outputOfficial priceSavingContext
Claude Fable 5.2claude-fable-5-2$3.18 / $15.90$8.00 / $40.0060%1M
Claude Fable 5.1claude-fable-5-1$3.97 / $19.87$10.00 / $50.0060%1M
Claude Fable 5claude-fable-5$3.97 / $19.87$10.00 / $50.0060%1M
Claude Opus 5.5claude-opus-5-5$1.52 / $7.57$4.00 / $20.0062%1M
Claude Opus 5claude-opus-5$1.89 / $9.47$5.00 / $25.0062%1M
Claude Opus 4.8claude-opus-4-8$1.89 / $9.47$5.00 / $25.0062%1M
Claude Opus 4.7claude-opus-4-7$1.89 / $9.47$5.00 / $25.0062%1M
Claude Opus 4.6claude-opus-4-6$1.89 / $9.47$5.00 / $25.0062%1M
Claude Sonnet 5.5claude-sonnet-5-5$0.75 / $3.79$2.00 / $10.0063%1M
Claude Sonnet 5claude-sonnet-5$0.75 / $3.79$2.00 / $10.0063%1M
Claude Sonnet 4.6claude-sonnet-4-6$1.14 / $5.68$3.00 / $15.0062%1M
Claude Haiku 5.5claude-haiku-5-5$0.19 / $0.94$0.10 / $0.50—1M
Claude Haiku 4.5claude-haiku-4-5$0.38 / $1.89$1.00 / $5.0062%200K

GPT models (OpenAI)

ModelModel IDInput / outputOfficial priceSavingContext
GPT-6.1 Solgpt-6.1-sol$0.30 / $1.52$2.00 / $10.0085%1M
GPT-6.1 Terragpt-6.1-terra$0.15 / $0.77$1.00 / $5.0085%1M
GPT-6 Astragpt-6-astra$1.52 / $7.60$10.00 / $50.0085%1M
GPT-6 Solgpt-6-sol$0.30 / $1.52$2.00 / $10.0085%1M
GPT-6 Lunagpt-6-luna$0.0144 / $0.0768$0.10 / $0.5086%1M
GPT-5.6 Solgpt-5.6-sol$0.61 / $3.65$4.00 / $20.0085%1M
GPT-5.6 Terragpt-5.6-terra$0.30 / $1.82$2.00 / $12.0085%1M
GPT-5.6 Lunagpt-5.6-luna$0.0304 / $0.18$0.20 / $1.2085%1M

Prices are checked against the price list every 6 hours. Claude models work in both the Anthropic Messages and the OpenAI format; GPT models use the OpenAI format. See pricing for cache prices and the API documentation for setup.