Context
4K
Max output
4K
Serving providers
1
Cheapest input
$0.00 /1M
Prices are on-demand list rates. 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 providerInput /1MOutput /1MEndpoints
OllamaCheapest$0.00$0.001
ComponentUnitStandardBatchCached
Text input/1M tok$0
Text output/1M tok$0

Price history

input + output $/1M since we started tracking
Input Output
$0.000$0.250$0.500$0.750$1.00Nov 2Jun 22$0.000$0.000

Cost calculator

estimate your monthly spend on this model
$0
estimated / month

Model IDs

copy the exact identifier for your platform
ollama/codellama

Frequently asked questions

Codellama pricing, context and availability

How much does Codellama cost?

Codellama costs $0.00 per 1M input tokens and $0.00 per 1M output tokens at its cheapest provider via Ollama.

What 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 lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI