DevKits
39 tools

Free Online Tools for AI & LLM Developers

Utilities for building on top of large language models

Working with large language models introduces a new set of constraints most developer tooling was not designed for: token budgets instead of character limits, per-token pricing instead of flat rates, and different tokenizers for different model families. This category holds practical utilities that fit those constraints — starting with a token counter that estimates the cost and length of a prompt across GPT, Claude, and Gemini before you spend real money on an API call.

All Tools for AI & LLM Developers

Text Chunker

Split long text into overlapping chunks for embedding and RAG pipelines. Preview recursive, paragraph, sentence, or fixed strategies with live token counts. Runs 100% in your browser.

Cosine Similarity

Compute cosine similarity, dot product, and Euclidean distance between two vectors online. Perfect for debugging LLM embeddings, semantic search, and RAG pipelines. 100% local — vectors never leave your browser.

AI Cost Calculator

Estimate monthly LLM API cost across GPT-4o, Claude 3.5, Gemini, DeepSeek and 100+ models. Compare providers side-by-side with prompt-caching and batch discounts. Free, no signup — prices refreshed daily from the public LiteLLM catalog.

Token Counter

Count tokens in your prompt for GPT-4, GPT-3.5, Claude, and Gemini and predict API cost before you spend. Free, no signup — all counting runs locally, your prompt stays in your browser.

LLM JSON Extractor

Extract every JSON object or array buried inside an LLM reply — even when it's wrapped in markdown fences, mixed with explanation text, or has trailing commas and single quotes. Auto-repairs each block. 100% local.

Context Window Checker

Check whether your prompt fits a model's context window before you send it. Estimates prompt tokens, reserves room for the response, and shows remaining headroom across GPT-4o, o1, Claude, Gemini, DeepSeek and more. 100% local.

Prompt Token Breakdown

Break a prompt into segments and see how many tokens — and how much cost — each part uses. Find the heaviest section (system, few-shot examples, or user input) so you know exactly what to trim. 100% local.

Schema → Tool Definition

Turn a sample JSON payload into function-calling / tool definitions for OpenAI, Anthropic, and Gemini — side by side. Strict-mode toggle adds required + additionalProperties: false. 100% local, paste straight into your tools array.

Chat Messages Validator

Validate a Chat Completions messages array before you send it — checks roles (system/user/assistant/tool), required content, and common mistakes that cause a 400. 100% local.

Prompt Template Tester

Write a prompt with {{variable}} placeholders, fill in values, and preview the final prompt. Detects every variable and flags any you left unfilled. 100% local.

Prompt Diff

Compare two versions of a prompt line by line and see the token delta between them — so you know exactly what changed and whether an edit made the prompt cheaper or more expensive. 100% local.

Embedding Cost Calculator

Estimate the cost of embedding a corpus — pick a model, enter the number of documents and average tokens each, and get the total token count and dollar cost. 100% local.

Vector Storage Calculator

Estimate how much memory or disk your embeddings need — enter vector count, dimensions, and precision (float32/float16/int8/binary) to see raw and indexed size. 100% local.

Prompt Cache Calculator

See how much prompt caching saves you. Enter your cached prefix size, per-request tokens, volume, and hit rate to compare cost with and without caching across models that support it. 100% local.

Batch API Cost Calculator

Compare real-time vs Batch API cost for a bulk job. Enter request count and per-request tokens to see how much the ~50% batch discount saves across models that support it. 100% local.

Prompt Injection Detector

Scan untrusted user input for common prompt-injection and jailbreak patterns — instruction overrides, jailbreak personas, system-prompt exfiltration — with a risk score. Heuristic, 100% local.

Tokenizer Visualizer

Paste text to see how an LLM splits it into tokens — each token highlighted with its boundary and index, plus the total count and estimated cost. Understand why your prompt costs what it does. 100% local.

Prompt Generator

Build a clear, structured prompt by filling in role, task, context, constraints, and output format. Generates a ready-to-paste prompt for ChatGPT, Claude, or Gemini. 100% local, no signup.

JSONL Validator

Validate a .jsonl / JSON Lines file line by line — each line must be a valid JSON object. Optional OpenAI fine-tuning mode checks the messages structure. Pinpoints the exact line and error. 100% local.

MCP Config Generator

Generate a Model Context Protocol (MCP) server config for Claude Desktop, Cursor, VS Code, Windsurf, Cline, and Zed. Fill in the command, args, env, or URL once and copy the right JSON for each client. 100% local.

MCP Tool Validator

Validate a Model Context Protocol (MCP) tool definition: name pattern, description, and whether the inputSchema is a valid JSON Schema. Catches the mistakes that make a tool fail to register or get ignored by the model. 100% local.

llms.txt Generator

Generate a spec-compliant llms.txt file to tell AI crawlers (ChatGPT, Claude, Perplexity) what your site is about and link your key pages. Fill in a title, summary, and sections, then copy the Markdown. 100% local.

AGENTS.md Generator

Generate an AGENTS.md (or CLAUDE.md / .cursorrules) file that tells AI coding agents how to work in your repo — stack, build/test commands, conventions, and do's and don'ts. Fill the form and copy the Markdown. 100% local.

SSE Stream Parser

Paste a raw server-sent events (SSE) stream from the OpenAI or Anthropic API and reconstruct the full message text, tool-call arguments, and token usage. Great for debugging streaming responses. 100% local.

LLM Request Converter

Convert an LLM chat request body between OpenAI Chat Completions, Anthropic Messages, and Google Gemini formats — messages, system prompt, and max tokens are remapped for you. 100% local.

Structured Output Checker

Check whether a JSON Schema meets OpenAI Structured Outputs (strict mode) rules: object root, additionalProperties:false, every property required, and no unsupported keywords. Shows exactly what to fix. 100% local.

Fine-tuning JSONL

Turn a CSV / TSV of prompt-completion pairs (or system/user/assistant columns) into a valid OpenAI fine-tuning JSONL file — one chat example per line. Validates roles and shows token estimates. 100% local.

Markdown Cleaner

Clean scraped Markdown or docs for LLM context: strip images, badges, HTML comments, excess blank lines, and link URLs (keeping the text). See exactly how many tokens you save. 100% local.

Words to Tokens

Convert words to tokens (and tokens to words) for GPT-4o, Claude, and Gemini. Estimate from a word count or paste text for an exact count with OpenAI's tokenizer. 100% local.

Prompt Splitter

Split a long prompt or document into numbered parts that fit ChatGPT's message box. Adds [PART n/N] headers and a 'wait for all parts' preamble. 100% local — nothing uploaded.

Tokens/sec Calculator

Estimate how long an LLM response takes from output tokens and throughput (tokens/second), including time-to-first-token. Or measure actual TPS from a real run. 100% local.

Temperature Playground

See how temperature, top-p, and top-k reshape an LLM's next-token probabilities. Drag the sliders and watch the distribution change — understand determinism vs creativity. 100% local.

Chat Template Viewer

Render a messages array into the exact prompt format a model expects — ChatML, Llama 3, Mistral [INST], or Gemma — with all the special tokens. See what apply_chat_template actually produces. 100% local.

Logprobs Viewer

Paste an OpenAI logprobs response and see each token shaded by probability, plus perplexity and the least-confident token. Spot where the model was guessing. 100% local.

Stop Sequence Tester

Enter model output and your stop sequences to see exactly where generation halts and what text is returned. The stop string itself is excluded, just like the API. 100% local.

Logit Bias Calculator

Type the words you want to ban or boost and get the OpenAI logit_bias map — each word is tokenized to its token IDs and assigned a −100 to 100 bias. Copy the JSON. 100% local.

API Error Decoder

Paste an OpenAI or Anthropic API error and get a plain-English cause and concrete fixes — 429, context_length_exceeded, insufficient_quota, 401, timeouts and more. 100% local.

Rate Limit Calculator

Turn your RPM and TPM limits into real throughput: effective requests per minute, which limit is the bottleneck, the concurrency needed to saturate it, and how long a batch takes. 100% local.

Penalty Playground

See how OpenAI's frequency_penalty and presence_penalty push down tokens that already appeared, reducing repetition. Drag the sliders and watch the distribution shift. 100% local.

When to use these tools

Use these tools when preparing a prompt for a large batch job, comparing how the same content is priced across model families, or trimming a prompt to fit under a specific context window.

Frequently Asked Questions

How accurate is the token count?

The estimator matches `tiktoken` (OpenAI's official tokenizer) within a few percent for typical English and code inputs. For billing-critical decisions, run the official tokenizer for your target model.

Do different LLM providers count tokens the same way?

No. GPT uses cl100k_base BPE, Claude uses a similar but distinct BPE vocabulary, and Gemini uses SentencePiece. The same text can differ by 10–15% across providers.

Explore other categories