Context
4K
Max output
4K
Serving providers
1
Cheapest input
Local runtime only
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Pricing by serving provider
standard tier · per 1M tokens · click a provider to expand| Serving provider | Input /1M | Output /1M | Endpoints | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ollama | $0.00 | $0.00 | 1 | ||||||||||
Standardollama/codellama
| |||||||||||||
Price history
listed seller prices, input and output per 1M tokens Input Output
Price history is accruing. We record a point each day a listed seller price changes; the full backfill lands shortly.
Cost calculator
estimate your monthly spend on this model$0
estimated / month
Model IDs
copy the exact identifier for your platformollama/codellama
Frequently asked questions
Codellama pricing, context and availabilityWhat is the context window of Codellama?
Codellama accepts up to 4K tokens of context and can return up to 4K output tokens.
Other Meta models
compare pricing across the Meta lineupLlama 3.3 70B Instruct$0.12/1M · 18 providersLlama 3.1 8B Instruct$0.02/1M · 17 providersLlama 3.1 70B Instruct$0.12/1M · 12 providersLlama 3.2 3B Instruct$0.015/1M · 11 providersLlama 4 Scout 17B 16e Instruct$0.05/1M · 11 providersLlama 3.1 405B Instruct$0.12/1M · 9 providersLlama 3 70B Instruct$0.12/1M · 9 providersLlama 3.2 1B Instruct$0.02/1M · 8 providers
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI