Home / Cloud

Talocode Cloud

The hosted API layer for the Talocode ecosystem. One TALOCODE_API_KEY unlocks every product API with unified prepaid billing.

Authentication

Include your API key in every request.

Authorization: Bearer tk_dev_xxxxxxxxxxxx

Keys are generated per project from the Cloud Dashboard.

Wallet and Credits

Simple prepaid billing. No subscriptions. No surprises.

per credit

100

free credits on signup

$5

minimum top-up

Billing Model

Pay-per-use, prepaid wallet. Fund once, use any API.

  1. Top up your wallet via Stripe
  2. Use any product API
  3. Credits are deducted automatically
  4. Insufficient credits returns HTTP 402 with required and available values

OpenAI-Compatible Router

The router at POST /v1/chat/completions routes through multiple AI providers with automatic fallback.

Supported Providers

ProviderFlagship ModelsBest For
OpenAIGPT-5.4, GPT-5.4-mini, o3General purpose, tool use, ecosystem breadth
AnthropicClaude Opus 4.8, Sonnet 4.6, Haiku 4.5Coding, long-form reasoning, agentic workflows
Google GeminiGemini 3.1 Pro, 3.5 Flash, 2.5 Flash-LiteMultimodal, long context, best price-performance
xAI GrokGrok 4.3, Grok Build 0.1Coding, large context, real-time data
DeepSeekDeepSeek V4 Pro, V4 FlashUltra-low cost, OpenAI-compatible, cache discounts
MistralMistral Large 3, Mistral Small 4EU data residency, efficient open-weight
Meta LlamaLlama 4 Maverick, Llama 4 ScoutSelf-hosting, open-weight, 10M context
CohereCommand A, Command R+Enterprise RAG, embeddings, classification
PerplexitySonar ProReal-time, citation-grounded answers
TogetherLlama 4, DeepSeek, Mistral (hosted)Multi-model platform, fast inference
GroqLlama 4, DeepSeek R1, MixtralUltra-low latency inference

Models

ModelFallback OrderUse Case
talocode/autoopenrouter → openai → anthropic → gemini → grok → deepseekGeneral purpose, automatic best choice
talocode/fastgroq → gemini → mistral → deepseekLow-latency, simple tasks
talocode/codingopenrouter → anthropic → openai → grokCode generation and reasoning

Pricing per Model

ModelPer RequestPer 1K InputPer 1K Output
talocode/auto4 credits2 credits3 credits
talocode/fast2 credits1 credit2 credits
talocode/coding5 credits3 credits6 credits

Product APIs

Every product exposed through Talocode Cloud with the same auth and billing.

ProductExample ActionCredits
Agent Browserbrowser.check5
Agent Browserbrowser.screenshot8
Agent Browserbrowser.evidence8
Tera Contextcontext.capture5
ClipLoopbrief.generate15
Tradiaperformance.analyze20

Full pricing at GET /api/v1/cloud/pricing · View all pricing →

Endpoints

RESTful API endpoints for Talocode Cloud.

MethodPathAuthDescription
GET/v1/modelsNoneList available models
POST/v1/chat/completionsAPI KeyChat completion with provider routing
POST/api/v1/cloud/usage/chargeAPI KeyCharge credits for an action
GET/api/v1/cloud/pricingNoneList full pricing catalog
GET/api/v1/cloud/projects/{id}/walletSessionWallet balance
GET/api/v1/cloud/projects/{id}/usageSessionUsage history

Status

Talocode Cloud is experimental. APIs are working but may evolve. Backward compatibility will be maintained where possible.