← All models

codellama-34b-instruct

perplexity · chat model

codellama-34b-instruct is listed here as a chat model from perplexity. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.

Input
$0.3500 / 1M tokens
Output
$1.4000 / 1M tokens
Cached input
N/A
Context
16.4K

Quick read

Best for

Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.

Things to verify

Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.

Pricing

Item Price
Input
$0.3500 / 1M tokens
Output
$1.4000 / 1M tokens
Embedding
$0.3500 / 1M tokens

Token limits

Context window
16.4K
Max input tokens
16.4K
Max output tokens
16.4K
Max tokens
16.4K

Capabilities

Capability Supported
Vision
Function calling
Parallel function calling
Tool choice
Prompt caching
Reasoning
Response schema
System messages
Audio input
Audio output
Web search
PDF input
Video input

Benchmarks

Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer

Benchmark Score Metric Scope Checked Source
HumanEval 53.7% pass@1 Base model: CodeLlama (Code Llama 34B) 2026-05-31 Link
MBPP 56.2% pass@1 Base model: CodeLlama (Code Llama 34B) 2026-05-31 Link

Sources

Source links
Pricing data LiteLLM model cost map
Synced at 2026-05-28

Similar models

This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.

Comparing from
Model Cost Input shape Features Context Why it is close
codellama-34b-instruct
perplexity
In $0.3500 / 1M tokens
Out $1.4000 / 1M tokens
Output: unknown
No public capabilities
16.4K
Current model
Reference row

Overall blends cost, modality overlap, capabilities, and context.

Model Cost Input shape Features Context Why it is close
Qwen3-VL-235B-A22B-Instruct-FP8
gmi
In $0.3000 / 1M tokens
Out $1.4000 / 1M tokens
Output: unknown
Low overlap
16.4K
Partial I/O overlap
Overall 34%
qwen-coder
dashscope
In $0.3000 / 1M tokens
Out $1.5000 / 1M tokens
Output: unknown
Low overlap
16.4K
Partial I/O overlap
Overall 33%
deepseek-v3-turbo
novita
In $0.4000 / 1M tokens
Out $1.3000 / 1M tokens
text
Output: text
Low overlap
16.0K
Partial I/O overlap
Overall 33%
qwen-plus
dashscope
In $0.4000 / 1M tokens
Out $1.2000 / 1M tokens
Output: unknown
Low overlap
16.4K
Partial I/O overlap
Overall 32%
qwen-plus-2025-04-28
dashscope
In $0.4000 / 1M tokens
Out $1.2000 / 1M tokens
Output: unknown
Low overlap
16.4K
Partial I/O overlap
Overall 32%
qwen-plus-2025-07-14
dashscope
In $0.4000 / 1M tokens
Out $1.2000 / 1M tokens
Output: unknown
Low overlap
16.4K
Partial I/O overlap
Overall 32%
sonar-medium-chat
perplexity
In $0.6000 / 1M tokens
Out $1.8000 / 1M tokens
Output: unknown
Low overlap
16.4K
Same provider
Overall 29%
minimax.minimax-m2.1
Bedrock
In $0.3600 / 1M tokens
Out $1.4400 / 1M tokens
text
Output: text
Low overlap
8.2K
Partial I/O overlap
Overall 27%
minimax.minimax-m2.5
Bedrock
In $0.3600 / 1M tokens
Out $1.4400 / 1M tokens
text
Output: text
Low overlap
8.2K
Partial I/O overlap
Overall 27%
minimax.minimax-m2.1
Bedrock
In $0.3600 / 1M tokens
Out $1.4400 / 1M tokens
text
Output: text
Low overlap
8.2K
Partial I/O overlap
Overall 27%
minimax.minimax-m2.5
Bedrock
In $0.3600 / 1M tokens
Out $1.4400 / 1M tokens
text
Output: text
Low overlap
8.2K
Partial I/O overlap
Overall 27%
minimax.minimax-m2.1
Bedrock
In $0.3600 / 1M tokens
Out $1.4400 / 1M tokens
text
Output: text
Low overlap
8.2K
Partial I/O overlap
Overall 27%
codellama-70b-instruct
perplexity
In $0.7000 / 1M tokens
Out $2.8000 / 1M tokens
Output: unknown
Low overlap
16.4K
Same provider
Overall 25%
llama-4-maverick-17b
watsonx
In $0.3500 / 1M tokens
Out $1.4000 / 1M tokens
Output: unknown
Low overlap
128.0K
Partial I/O overlap
Overall 22%
sonar-medium-online
perplexity
In N/A
Out $1.8000 / 1M tokens
Output: unknown
Low overlap
12.0K
Same provider
Overall 20%
sonar-small-chat
perplexity
In $0.0700 / 1M tokens
Out $0.2800 / 1M tokens
Output: unknown
Low overlap
16.4K
Same provider
Overall 19%
ai21.jamba-instruct-v1:0
Bedrock
In $0.5000 / 1M tokens
Out $0.7000 / 1M tokens
text
Output: text
Low overlap
4.1K
Partial I/O overlap
Overall 16%
llama-2-70b-chat
perplexity
In $0.7000 / 1M tokens
Out $2.8000 / 1M tokens
Output: unknown
Low overlap
4.1K
Same provider
Overall 14%
pplx-70b-chat
perplexity
In $0.7000 / 1M tokens
Out $2.8000 / 1M tokens
Output: unknown
Low overlap
4.1K
Same provider
Overall 14%
us.writer.palmyra-x4-v1:0
bedrock_converse
In $2.5000 / 1M tokens
Out $10.0000 / 1M tokens
pdftext
Output: text
Low overlap
8.2K
Partial I/O overlap
Overall 10%
ai21.jamba-1-5-mini-v1:0
Bedrock
In $0.2000 / 1M tokens
Out $0.4000 / 1M tokens
text
Output: text
Low overlap
256.0K
Partial I/O overlap
Overall 9%
ai21.j2-mid-v1
Bedrock
In $12.5000 / 1M tokens
Out $12.5000 / 1M tokens
text
Output: text
Low overlap
8.2K
Partial I/O overlap
Overall 9%
ai21.j2-ultra-v1
Bedrock
In $18.8000 / 1M tokens
Out $18.8000 / 1M tokens
text
Output: text
Low overlap
8.2K
Partial I/O overlap
Overall 8%
ai21.jamba-1-5-large-v1:0
Bedrock
In $2.0000 / 1M tokens
Out $8.0000 / 1M tokens
text
Output: text
Low overlap
256.0K
Partial I/O overlap
Overall 4%