Count tokens for codellama-70b-instruct and estimate API cost before you send a request. Perplexity does not publish this tokenizer, so counts are calibrated estimates for planning.Your text never leaves the browser.
PROMPT
Paste text to count codellama-70b-instruct tokens.
Context window. 16,384 tokens (about 12,000 English words).
API pricing. $0.70 input / $2.80 output per 1M tokens.
Tokenizer. Not public; counts on this page are calibrated estimates.
Pricing source. The community-maintained LiteLLM pricing dataset, refreshed 2026-08-11. Community-tracked rates can lag provider changes; confirm with the provider before budgeting.
Paste your prompt into the counter on this page. Perplexity does not publish the codellama-70b-instruct tokenizer, so the count is a calibrated estimate based on text length, language, and structure. Treat it as planning guidance rather than an exact billing number.
How much does codellama-70b-instruct cost per token?
codellama-70b-instruct costs $0.70 per 1 million input tokens and $2.80 per 1 million output tokens, based on the community-maintained LiteLLM pricing dataset checked 2026-08-11.
What is the context window of codellama-70b-instruct?
codellama-70b-instruct has a context window of 16,384 tokens, which is roughly 12,000 English words of combined prompt and response. The counter above shows how much of that window your text consumes.
Is this codellama-70b-instruct token count exact?
No. It is a clearly labeled estimate, because Perplexity has not released a public tokenizer for codellama-70b-instruct. Estimates are usually within a reasonable range for English text but can drift for code, JSON, or non-English languages.