How is Codoken different from just calling an LLM API directly?
A direct LLM call returns text. Codoken returns verified code. Every atom is paired with a test harness that runs inside a sandboxed container after generation — the token payment only settles if execution passes. You're not paying for tokens; you're paying for deterministic, tested output.
What is an atom?
An atom is a small, self-contained coding task: a function, a module, a test suite. It combines a natural-language prompt with a validator payload — the test harness that proves the generated code actually works. Atoms are the primitive unit of work in Codoken.
Do I need a powerful GPU to participate?
No. Workers need a locally running LLM (Ollama, LM Studio, or llama.cpp) — any Apple Silicon Mac, Nvidia GPU, or AMD GPU that can run a quantised model qualifies. Lightweight models like Qwen Coder 7B or DeepSeek Coder 6.7B run well on 8 GB VRAM and earn steadily on standard tasks. Reasoning-capable models like Qwen3 14B or DeepSeek V3 unlock complex-tier earnings on higher-end hardware. Validators need Docker or Podman to run sandboxed containers, which works on almost any machine. Developers need neither — just credits.
What stops a worker from submitting garbage to collect credits?
Nothing settles until an independent validator committee runs the code inside a sandboxed container and confirms it passes the test harness. Workers are only paid on approved atoms. Repeated rejections reduce a worker's quality score and deprioritise them in dispatch.
Can I use Codoken inside Claude Code or Cursor?
Yes. Codoken ships an MCP server (codoken_mcp.py) that exposes submit_atom and get_result as tools. Your agent calls them like any other tool — Codoken handles dispatch, validation, and settlement transparently.
What languages are supported?
Python, JavaScript, TypeScript, Go, Rust, Java, C++, PHP, and Ruby — each backed by a dedicated runtime container. GDScript for Godot 4 and GDScript 3 (Godot 3.6.2) are also supported, with code executed in a real headless Godot process. See the GDScript page for Godot-specific examples.
Can Codoken generate GDScript for Godot?
Yes. Codoken supports GDScript for both Godot 4 (version 4.3) and Godot 3 (version 3.6.2). Generated code is verified inside a real headless Godot process — not simulated. The atomic pattern is a natural fit for game logic: write a pure function for movement, damage, or pathfinding, pair it with assert-based tests, and get back verified GDScript ready to paste into your scene script.
How does the atomic pattern work for Godot game development?
The key is keeping each atom pure: no Node references, no @onready, no scene tree. Describe a single game-logic function — a knockback formula, a loot table roll, an angle interpolation — with its typed signature and edge cases. The validator runs your assert tests inside headless Godot. Once approved, you paste the verified function into any script that needs it. Scene-specific wiring stays with you; Codoken handles the logic layer.
Which local models work best as Codoken workers?
For complex-tier tasks requiring strong reasoning, Qwen3 14B and DeepSeek V3 produce the highest approval rates — they follow structured prompts reliably and handle multi-step logic well. For fast generation on standard tasks with limited VRAM, Qwen Coder 7B and DeepSeek Coder 6.7B are ideal (8 GB VRAM). On CPU-only machines, Qwen Coder 3B and DeepSeek Coder 1.3B handle lightweight tasks. All connect via Ollama, LM Studio, or llama.cpp.
Is my code sent to a third-party cloud?
No. Code is routed peer-to-peer between connected nodes via the Codoken broker. It is never stored permanently or sent to any external cloud AI service. Workers run inference entirely locally on their own hardware.
Can I share my local LLM with a colleague and get paid for it?
Yes — that's what Trusted Peers is for. You invite a specific developer, they accept, and their inference requests route directly to your machine via an OpenAI-compatible endpoint. Every task settles automatically via the Codoken token ledger: the developer is debited, you are credited by the exact token count. No broker cut, no manual invoicing, no cloud API. Your machine shows up in their tool's model dropdown — they just pick your name and generate.
Can I run several machines with the same account?
Yes. You can connect as many machines as you want under the same Codoken account. Each device runs independently — a powerful workstation earns credits as a worker while your laptop spends them to generate code. Credits are shared across all your devices in a single balance.