Meta-llama

Code Llama 13B Python API Pricing 2026

Compare pricing, benchmarks, and providers for Code Llama 13B Python. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

Code Llama 13B Python. Pricing starts at $0.200 per million input tokens and $0.200 per million output tokens. The model supports a context window of up to 16K tokens. API access is available through Meta-llama.

Context Window
16K
tokens
Pricing
Input$0.200
Output$0.200
Cached$0.100
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
Text only

Code Llama 13B Python is priced at $0.200 per million input tokens and $0.200 per million output tokens. It has a context window of 16,384 tokens. It is available from 1 provider, with Fireworks the cheapest at $0.200 per million input tokens.

Pricing Comparison

Compare Code Llama 13B Python with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.200
$0.200
—
—
—
16,384
Try
$0.200
$1.200
—
—
—
1,050,000
Try
$0.200
$0.200
—
—
—
128,000
Try
$0.200
$0.200
—
—
—
4,096
Try
$0.200
$0.900
—
—
—
32,768
Try
$0.200
$0.600
—
—
—
32,768
Try
$0.200
$0.200
—
—
—
131,072
Try
$0.200
$0.200
—
—
—
36,864
Try
$0.200
$0.200
—
—
—
2,048
Try
$0.200
$0.200
—
—
—
16,384
Try
$0.200
$0.200
—
—
—
16,384
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Code Llama 13B Python is available from multiple providers with different pricing and availability.

1
Providers
$0.200
Cheapest Input/M
$0.200
Cheapest Output/M
Fireworks
Best Price

Provider Pricing

1 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Input $/M
Output $/M
Cache Read $/M
Cache Write $/M
Uptime
Fireworks
Fireworks
Best Price
$0.200
$0.200
$0.100
-
-
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does Code Llama 13B Python perform? Vote based on your experience.

Cost vs. Quality

Compare Code Llama 13B Python's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try Code Llama 13B Python

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Code Llama 13B Python directly in your browser.

Open Playground

Frequently Asked Questions

Code Llama 13B Python costs $0.000200 per 1,000 input tokens and $0.000200 per 1,000 output tokens.
Code Llama 13B Python is available from 1 provider. Fireworks offers the best price.
Fireworks offers Code Llama 13B Python at $0.200 per million input tokens.
We compare Code Llama 13B Python with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Meta-llama Models

See pricing for all Meta-llama models.

View all Meta-llama models →