Compare AI models

Specifications
ParametersThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality.
70B—
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider.
16k8k
API pricingUSD per 1M tokens · lower wins
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it.
—$30.00
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one.
—$60.00
Cheapest inputLowest input rate across every provider on OpenRouter, the lab included. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page.
—$30.00Azure
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input.
—$60.00Azure
—$9,000OpenAI list price
These models have no shared benchmark scores.
Overview
CompanyMetaOpenAI
Release dateJan 29 2024Mar 14 2023
AccessOpen WeightClosed
Model detailsView modelView model

Frequently asked questions

Code Llama 70B and GPT-4 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Only GPT-4 has a verified first-party API price: $30.00 per million input tokens and $60.00 per million output tokens. No pay-as-you-go API rate is tracked for Code Llama 70B. GPT-4 shipped 321 days before Code Llama 70B, so benchmark comparisons should account for the intervening progress.

Context windows are 16k (Code Llama 70B) vs 8k (GPT-4). Code Llama 70B is open weight, while GPT-4 is closed.

Direct benchmark comparisons are unavailable — Code Llama 70B and GPT-4 don't publish scores on any of the same benchmarks.